On Dec 5, 3:12 am, Mike Williams <[EMAIL PROTECTED]> wrote:
> marker1 is local to your refreshMarker() function.
>
> Your gmap.removeOverlay(marker1) is in global context, so it can't
> access it.
>
> Note that it's more efficient to use
> marker1.setLatLng(GLatLng.fromUrlValue('42.6252928, 21.1618208'));
> than to create a new icon and marker every time, and there's no need to
> call the geocoder. Or to include the non-existent myInfo.js script.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---