i think that's something wrong.
i've added the listener:
google.maps.event.addDomListener(controlUI, 'click', function()
{
show_legend();
});
into the function i've put the code of the first post.
but everytime that i click on this button, a legend will add at the
map.
the link of the map is:
http://www.federicarizzi.com/map/legend.html
I want to click once to show the map and the second time that i click
on "Legenda", the legend must disappear!
thanks for support me.
On 30 Lug, 09:10, inotipiedideipitoni <[email protected]>
wrote:
> I'll try, thanks for now.
>
> On 29 Lug, 19:39, Rossko <[email protected]> wrote:
>
> > > up! please help me: it's for my degree thesis!!!
>
> > You should be doing some research then ...
>
> > Which part are you having trouble with?
> > Create a button
> > http://www.google.com/search?q=how+to+create+a+button+in+html
> > Make the button call some javascript
> > http://www.google.com/search?q=how+to+call+javascript+from+HTML+button
> > How to make javascript create thelegend, you already know.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.