On Dec 19, 1:04 pm, Tim <[email protected]> wrote:
> Thanks for the reply. The draggable markers code contains this line:
>
>     center: new google.maps.LatLng(-33.879,151.235),
>
> But I can't start with LatLng as center point since I only have two
,> addresses and no LatLng values. So I'm not sure how to use an
address
> as center point instead of LatLng in this draggable markers example.

Do those addresses change?
If not, you should geocode them "off-line" (there are lots of tools to
allow you to do that) and use the coordinates to center the map.

If they do change, use the geocoder on the address.  The geocoder
examples show adding a marker and centering a map on the result
coordinates.  If you post a link to your map, so we can see what you
are doing, we might be able to give more useful advice.

  -- Larry

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