Hi,
Thanks for the reply.
On server button click i am overlaying an image (created on the
fly) on Google map using GGroundoverlay. I have a requirement in which
i have to re render the image each time the button is clicked. My
problem is every time the button is clicked, Google map gets rendered
correctly, where my overladed image is not. (renders once in 4 times).
Please let me know your hypothesis which helps me to solve this.
Thanks in advance.
My javascript code goes as follows
function LoadImage(parameter)
{
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(lat,lag), 6);//
52.935397,-2.131348
map.setUIToDefault();
map.addControl(new GMapTypeControl());
map.addControl(new GOverviewMapControl());
map.enableScrollWheelZoom();
var sw = new GLatLng(lat,lng);
var ne = new GLatLng(lat,lng);//
var bounds = new GLatLngBounds(sw, ne);
var myimage=new GGroundOverlay(parameter, bounds);
map.addOverlay(myimage);
}
return false;
}
On Sep 11, 3:45 pm, Esa <[email protected]> wrote:
> On Sep 11, 12:47 pm,shwetha<[email protected]> wrote:
>
> > Am i doing something wrong?
>
> There is not enough information to form a hypothesis.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---