• Resolved bloooooop

    (@bloooooop)


    Hello,
    I have 2 maps in the same page and I want to display directions on both.

    Here is my code :

    [flexiblemap center="45.7559947,5.0560488" locale="fr" width="100%" height="400" title="Pusignan" address="Z.A.C de Satolas green - Pusignan 69881 Meyzieu Cedex" description="Z.A.C de Satolas green - Pusignan 69881 Meyzieu Cedex" directions="true" showdirections="true" directionsfrom=""]
    
    [flexiblemap center="45.9819166,3.5133425" locale="fr" width="100%" height="400" title="Chateldon" address="Rue du Stade, 63290 Chateldon" description="Rue du Stade, 63290 Chateldon" directions="true" showdirections="true" directionsfrom=""]

    The route is displayed only on the last map. For the first one I have this message “Origin or destination was not found.”

    How can I fix this ?

    Thanks a lot for you help

    https://www.ads-software.com/plugins/wp-flexible-map/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author webaware

    (@webaware)

    G’day bloooooop,

    That means that the address you’ve given the first map isn’t specific enough for Google Maps. Try being a little more specific with the address, or try to match what Google Maps has.

    If you search Google Maps directly, you can see “ZAC Satolas Green” in the bottom-right quadrant of the map. I notice that clicking on that gives a different address. Perhaps you have the address wrong, or perhaps Google Maps does. If it’s the latter, you should report that to Google Maps — and that should fix your problem.

    cheers,
    Ross

    Thread Starter bloooooop

    (@bloooooop)

    Hi,

    It’s weird, I tried with the same coordinates than Google Maps and it didn’t work.

    So I tried with the same coordinates than the second map (which works) and it doesn’t work either.

    To finish, I tried these coordinates in the second map, and it worked. I really think there’s an issue only for the first map, whatever its coordinates, the message is still “Origin or destination was not found.”

    Plugin Author webaware

    (@webaware)

    It’s not the coordinates, it’s the address. The directions search uses the address, so that needs to be specific. If Google Maps has the address wrong, tell them.

    cheers,
    Ross

    Thread Starter bloooooop

    (@bloooooop)

    Ok I didn’t understand it was the address. I changed it and it works like a charm, thanks for you help !

    Plugin Author webaware

    (@webaware)

    No worries! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘2 maps in same page with directions’ is closed to new replies.