GetMap() only returns a new map if the map variable is null, right?

I'll better go and investigate. Cheers fella!

Have a nice sunday lunch!.

On Jan 24, 1:40 pm, Rossko <[email protected]> wrote:
> >http://www.ntcoding.co.uk/Management/DejanMap/SWMap.htm
>
> Your getMap() function creates a new GMap2 at each call. You call it
> at each response to MarkerAtNearestOffice().  The browser will display
> the last created map with its single marker.  Fix : Only create the
> map once, adjust it, and add and remove markers as required.

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