> when you say I have to define it
>
> I just have to write it before function moveend()? :
> GEvent.addListener(map,"moveend", moveend )
No, "function moveend() { ..... }" is the code that defines what the
browser will do when it's told to execute moveend().
So, you want to define it before you tell something to use it.
function moveend() {
.....
}
GEvent.addListener(map,"moveend", moveend );
I'm afraid you'll find using the GM API is not easy for javascript
novice.
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---