On Dec 19, 8:52 pm, Tim <[email protected]> wrote:
> Thanks, I found this example for draggable markers which is even
> better and will use the code:
>
> http://www.geocodezip.com/v3_GoogleEx_directions-draggableA.html
>
> The only problem I see is the
>
>   var boston = new google.maps.LatLng(42.354,-71.1);
>
> I'm getting the city as php variable from my database  and do not have
> any LatLng coordinates. Is there anywhere an example how to center a
> city instead of using latlng coordinates?

Have you seen these "articles":
http://code.google.com/apis/maps/documentation/javascript/articles.html

In particular:
http://code.google.com/apis/maps/articles/geocodestrat.html
http://code.google.com/apis/maps/articles/phpsqlajax_v3.html
http://code.google.com/apis/maps/articles/phpsqlgeocode.html

  -- Larry

>
>   var boston = new google.maps.LatLng(Boston);
>
> I found this example, but it's incomplete so I have no idea how to use
> it:http://code.google.com/apis/maps/documentation/javascript/services.ht...

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