OpenStreetmap or Leaflet ?

More
7 years 9 months ago #73931 by tataye
Replied by tataye on topic OpenStreetmap or Leaflet ?
yes, it will be nice to do it as soon as possible ( I know it is a huge work!)
because when we create sites for little usage of maps, we can not ask the customer for his card number.
and if we enter our api, it should be added to others request and finally , it will be us who will pay

thanks
( for the moment I will do with openstreet map solution ) 

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #73936 by micker
Replied by micker on topic OpenStreetmap or Leaflet ?
we will  studi it .... but as soon is possible is impossible ...
we want to publish a 3.2 and pro version !
After we can try to add this feature

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #73938 by tataye
Replied by tataye on topic OpenStreetmap or Leaflet ?
thanks a lot

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #74500 by Chabi01
Replied by Chabi01 on topic OpenStreetmap or Leaflet ?
Hi everybody,

Hope everybody have a good summer time :)
I come back to know if there is some more on these subjects : beside the pro version, is there a new plugin to use OSM with Flexicontent ?

Meantime, i use a little trick i give you if this help : to avoid key issues, you can send the person to Google with a link.
For this, you need a simple text field where you type the address.
In example, you have as address : "32 rue sainte hélène - 69002 Lyon"
You type this address in the text field (in my example below, i call the field "myaddressfield")
After this, i transform the field in my template with a link by adding
Code:
<?php echo'<a href="https://www.google.fr/maps?f=q&hl=fr&q=">' . $this->fields['myaddressfield']->display . ' ">Click to open in Googlemap</a>'; ?>
This way, this display a link to Googlemap.
I did not test it with prefix and suffix but it should also works.

Googlemap API is today to heavy to manage : you have to put a key (ok, not to difficult), restrict the key (some hairs missing sometimes with this), but also to create a billing account and associate the API project to the billing account.. Not so difficult ? No... but if you have more than 5 project (because you want to clearly separate each site), you have to send a request to Google to increase the 5 sites limit ! Then, you have to pay or to create a new Google account to manage each pack of 5 sites...

Xavier
p, li { white-space: pre-wrap<

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #74587 by Chabi01
Replied by Chabi01 on topic OpenStreetmap or Leaflet ?
Just for the record, a little typo and a practical example used on one of my sites.

I have 2 fields : adresse (the street) and cpcommune (postcode and city, choosen in a list).
In the template, i concatenate this 2 fields in one var like this :
Code:
$varadrcomplete = $this->fields['adresse']->display . ', ' . $this->fields['cpcommune']->display;
then i call a link to go on Googlemap like this :
Code:
<a href="http://www.google.fr/maps?f=q&hl=fr&q= <?php echo $varadrcomplete; ?> " target="_blank" rel="canonical" ><b>see in Googlemap...</b></a>
Note : i have to put the http (not www or https) otherwise the SEF plugins add the name of the site before and the link does not works.
If this can be usefull :)
Xavier

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #74588 by micker
Replied by micker on topic OpenStreetmap or Leaflet ?
in google map firld you can use image mode and you can use other field for completition like a text field for city

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #74589 by ggppdk
Replied by ggppdk on topic OpenStreetmap or Leaflet ?
Hello

thanks for the report
we have this URL twice in one mode it is correctly HTTPS and in the other it is HTTP

i have commit the fix
so it will be in v3.2.1.15 together with a few other fixes,
hope to release during weekend


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #74594 by Chabi01
Replied by Chabi01 on topic OpenStreetmap or Leaflet ?

micker wrote: in google map firld you can use image mode and you can use other field for completition like a text field for city

Hi Micker,
Yes, i know.. but the goal here is to avoid to use any Google api key. If i use the Googlemap field, i have to provide the key... and the example is to avoid this :)

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #74595 by Chabi01
Replied by Chabi01 on topic OpenStreetmap or Leaflet ?

ggppdk wrote: Hello

thanks for the report
we have this URL twice in one mode it is correctly HTTPS and in the other it is HTTP

i have commit the fix
so it will be in v3.2.1.15 together with a few other fixes,
hope to release during weekend

Hi Georges,
As usual : thanks :)
Xavier

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #75063 by Chabi01
Replied by Chabi01 on topic OpenStreetmap or Leaflet ?

micker wrote: in google map firld you can use image mode and you can use other field for completition like a text field for city


Hi Micker,
I have tried to find where to set "image mode" but did not succeed.

The issue for most people with Googlemap is if the account in Googlemap is not usable (because of all what is said), the field stop to works : not possible to change the address (or by adding manually the gps coordinate) in the backend and no more map in frontend : then, with this Google issue, the field become really useless for many users (i think in example to the "CityHall" ("mairie" en français) as they have no credit card to add to their Googlemap account...

The main goal now for this users is to find out another way to show address and OpenStreetMap is the best solution so far : it works all the time, more in the "spirit of OpenSource" than Google (no kidding !?), and so far, no surprise on already coded sites.

The only issue i have is : i did not have a fully working solution for Flexicontent map fields...

Xavier

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save