Thank you very much!!! It works very well!!! On 18 Mar, 02:50, Rossko <[email protected]> wrote: > > I utilised the mab global variable but the problem is the same and if > > I do not declare a new map, the search address does not return any > > address. > > Don't create a new map in your searchAddress() function. > Centre the global 'map' on the geocoded result. > Place a marker at the geocoded result. > > > So, it reamains the problem to delete the others markers... > > Don't make other markers ; use only one. > For having only one marker, do something like > > var marker; > > function whatever() > { > .... > if (!marker) > make a new marker > else > re-position the existing marker
-- 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.
