Support » Plugin: Embed Google Map » many adresses into 1 map

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

    (@petkivim)

    Hi,

    If you want to embed a map with multiple markers/locations, first you need to create a map in Google Maps and store it under My places. After creating the map you can embed it in WP using my plugin. You just need to copy the map URL from Google Maps and use it instead of an address in WP. For example:

    Map URL:

    https://maps.google.com/maps/ms?msid=213303717138000295252.0004ce4da82b563389b91&msa=0

    How to embed the map:

    {google_map}https://maps.google.com/maps/ms?msid=213303717138000295252.0004ce4da82b563389b91&msa=0{/google_map}

    It’s possible to embed maps created in Google Maps Engine too. Before embedding a map please make sure that the map is public and can be viewed by anyone.

    {google_map}http://mapsengine.google.com/map/embed?mid=zfQVCQIZMXcw.k_hSHl4b24jM{/google_map}

    NB! Only border width, border style, border color, add link, link label and language parameters can be used with maps created in Google Maps Engine. All the other parameters are ignored.

    Regards,
    Petteri

    Hi,
    Thank you your reply. I was hoping for something easier like this perhaps:
    {google_map}address1,address2,address3,address4,address5,address-etc{/google_map}

    Is this possible or could it possible ?

    Plugin Author petkivim

    (@petkivim)

    Hi,

    Thank you for the feedback. You’re not the first one requesting this feature.

    Unfortunately the plugin is implemented using a technique that does not support multiple addresses. The plugin generates Google Maps URL that is used for embedding the map, and it’s possible to give only one address via URL parameters. This is a limitation set by Google Maps. If the plugin was implemented using Google Maps JavaScript API, it would be possible to add the requested feature.

    The lack of multiple addresses support is the biggest downside of the plugin’s implementation technique. However, I’ve chosen this technique on purpose as it makes the use of the plugin simple and improves the compatibility with any browser. I’ll probably need to reconsider this choice in the future as many users have requested support for multiple addresses.

    Regards,
    Petteri

    Hi,
    Thank you for explanations 🙂 I like (love) your plugin the way it is.
    So, maybe there would be an other Gmap plugin out there that would work nicely with yours. “Home Page” of the website would show multiple addresses (other plugin), but on post/page would show just one (using your plugin).

    From your plugin expertise witch other Gmap plugin could work nicely with yours ? Meanning that it would “detect” every time every {google_map}address{/google_map} from the blog and would add automaticly to home page multiple addresses Gmap?

    Regards

    Plugin Author petkivim

    (@petkivim)

    Hi,

    The idea of having two different plugins should work, although each plugin has its own syntax. This means that you must use different markup with different plugins.

    I have to admit that I haven’t used or compared other Google Map plugins so I really cannot recommend any other plugin.

    Regards,
    Petteri

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘many adresses into 1 map’ is closed to new replies.