Hello everyone,

I'm working on a project which displays a map of each shop you browse
in the database.
you can view an example here: 
http://www.expertshop.be/fr/shop/1230/animal-confort-loncin.htm
(click on "visualiser sur une carte" under the address.

my problem is quite simple: everything works fine, the map displays
fine and the marker appears and can be clicked... (I get a __e_ is
null or not an object tough but it does not affect anything: just so
you know, this bug is generated by the line "GEvent.trigger(Marker
[1],"click");")

My problem is this:
I wanted the map not to display instantly but to appear after we click
on the view map link.
So for this I use the toggle effect of the Scriptaculous framework.
The thing is the map was visible by default, so i've added a peace of
JS to hide it on load... the toogle works great, but since then....the
map does not display right, is not draggable, marker does not show...
and believe me, if I remove this peace of JS that hide, everything
goes back to normal...

here is the piece of code:
function bodyOnload() { $('Gmap').hide(); }
document.observe("dom:loaded", bodyOnload);

Thanks for your help

Antoine

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to