On Feb 20, 1:21 pm, "[email protected]" <[email protected]> wrote:
> I am able to geocode multiple addresses from the database by using
> getlocation() function.
> I want to change the markers colour according to other field value in
> database.
> But getlocation(); accepts only two parameters (address,point).Please
> tel me how i can to tht.?

Geocoding has nothing to do with marker color. You have to set the
marker icon by the 'other field value in database'.

There are numerous examples out there. This is one of them
http://mapsapi.googlepages.com/categories.htm

If you have a database, you should geocode your addresses in batch and
store the coordinates in the db. Page loading is much much faster by
using coordinates instead of addresses. Unnecessary http requests are
avoided.
--~--~---------~--~----~------------~-------~--~----~
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