Hey Hi...
I trying to implement gMap into an overlay instance.
I use gMap jquery plugin to insert the map , in this way:
then I place overlay tool :
I place the overlay html code that contains the same id of overlay tool and gMap
The overlay works perfectly, and the map actually shows up... but it shows half of the map and also doesn't center the mark.
Click Here to watch how it shows up.
is there a way to fix this or do you recommend any other method to solve this
I trying to implement gMap into an overlay instance.
I use gMap jquery plugin to insert the map , in this way:
//Google Map
$("#overlay").gMap({
zoom: 17,
markers: [{latitude:19.344755548023784,
longitude:-99.2204475402832, html: "Yamaha Cuajimalpa"},],
controls: ["GSmallMapControl", "GMapTypeControl"],
scrollwheel: false,
maptype: G_NORMAL_MAP,
icon:
{
image: "http://yamaha-cuajimalpa.com.mx/wp-content/themes/yamaha/img/gmap_pin_grey.png",
shadow: false,
iconsize: [26, 46],
shadowsize: false,
iconanchor: [4, 19],
infowindowanchor: [8, 2]
}
});
then I place overlay tool :
$("a[rel]").overlay();
I place the overlay html code that contains the same id of overlay tool and gMap
<div class="overlay" id="overlay"></div>
The overlay works perfectly, and the map actually shows up... but it shows half of the map and also doesn't center the mark.
Click Here to watch how it shows up.
is there a way to fix this or do you recommend any other method to solve this
