• Resolved ndoro6

    (@ndoro6)


    Hi,

    So I have a map that I’m trying to display only when a specific drill down menu is opened. As it is, the map appears with the correct dimensions, but it is off center within its box, only displays the actual road map in a very small corner, and the majority of the map box remains gray instead of displaying the google map. I have tested that the map is correctly oriented and it does display correctly when not enclosed in the menu. Any ideas?

    Here is a link, it is currently under the drop-down menus “Tourist Things” -> “Greater Dakar”: http://www.thevolunteerguide.com/regions/west-africa/senegal/dakar/

    Thanks and appreciate the support!

    Kellen

    http://wordpress.org/extend/plugins/wp-google-maps/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ndoro6

    (@ndoro6)

    Problem remains but I have rearranged the page so its not an issue for the time being. Still, potentially something to look into if you have a chance!

    Thanks again,

    Kellen

    Plugin Author WPGMaps

    (@wpgmaps)

    Hi Kellen
    Sorry for the delay.

    What might work is if we reinitialise the current map via jQuery when the link is clicked. I’m not sure if this will work but it’s worth a try?

    On the jquery click function, add these lines:

    var myLatLng = new google.maps.LatLng(14.710890,-17.460654);
    MYMAP_1.init("#wpgmza_map_1", myLatLng, 12);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Google Maps] Map does not display correctly within drill-down menu’ is closed to new replies.