On Feb 3, 8:31 am, Rednek <[email protected]> wrote:
> Hello Larry;
>
> Guess Im confused, took me awhile to understand the coding for setting the
> markers. If possible could you show me an example on what your talking
> about, pass it an array of your markers and reference to the map. Just
> learning this and has taken me along time to learn what little I know.

Your clearMarkers is defined (per your original post and it is this
way in your code):
function clearMarkers (map, locations)

When you call it from the button handler, you do this:
clearMarkers();
(which sets the map and locations variables inside the function to
null)

  -- Larry


>
> Thanks Again
>
> evin

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

Reply via email to