Larry, thanx for your comment on the geocoding of the seperate addresses. I will see if I can render a seperate JS file containing the latlon-data from within the CMS based on the addresses and write it to cache every update on the address list (which rarely happens).
Could you (or anyone else) give a example on how I can implement your suggestions? (I have been trying to do it by my self the past few weeks and the deadline has passed :s ) > Keep track of the red marker separately and just remove or move it. > > Additional Q: And if I would like to crop the map to the location > > and the nearmost blue marker... is there a way to do that? > > Yes. Find the closest blue marker (the geometry library includes > distance calculations), create an empty bounds object, add the > location of the red marker and the closest blue marker to it, then do > map.fitBounds on that bounds. > > That will mean keeping track of all the blue markers (an array is > good) so you can search them for the closest one. > Thanks in advance, Marco -- 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.
