OpenStreetmap or Leaflet ?

More
5 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
5 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
5 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...

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

More
5 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
5 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
5 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
Time to create page: 0.307 seconds
Save
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