I have a map that has some markers. When you open the marker you can
click on a little image which then overlays this image at a larger
size. You can navigate through the images using the navigation buttons
at the bottom.
I have been trying to create a feature so that when you flick on to
another image the infowindow that is associated with it opens on the
map beneath so when you close the overlay you can see what marker the
image has come from.
This works fine, except that it moves the map centre to some eroneous
position. I don't know what it does and cannot work out how to fix it.
Can anyone help?
The code I have used to open the correct marker is as follows:
myclick((markerArray[pShow])); //what happens when the next/
previous buttons are clicked (amongst other things)
which is then used in the function myclick:
function myclick(i)
{
GEvent.trigger(gmarkers[i], "click");
}
Can anyone provide any guidance? Many thanks for any help in advance.
http://holidaymaps.googlepages.com/indexTEST.html?id=0802
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---