Pronamic Google Maps
[resolved] How to center the mashup to client's location? (2 posts)

  1. Gosho
    Posted 2 years ago #

    I'm trying to enable the center_client_location option for the PGM mashup and so far I'm failing to find any relevant info. How can I do that via the shortcode? Or by tweaking the plugin code?

    Btw, do you have a list with all shortcodes and attributes available?

    Thanks in advance!

    PS: Forgot to mention that I changed the default value to true. However, the "google.loader.ClientLocation" varailable is still NULL.


  2. Remco Tolsma
    Plugin Author

    Posted 2 years ago #

    It seems that the "google.loader.ClientLocation" isn't always filled with an value, for more information see:


    You can find moren information about how this works in the Pronamic Google Maps plugin in the code:



    It the "google.loader.ClientLocation" varailable is NULL, we won't be able to center the mashup to your location.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic