On Jan 2, 2:38 am, eduardo12fox <[email protected]> wrote: > guys I need to start the google maps with a edereço, but do not want > to use the longitude and latitude, I need to use the source address > and destination > > function initialize() { > var myOptions = { > zoom: 13, > center: new google.maps.LatLng(-33.879,151.235), > mapTypeId: google.maps.MapTypeId.ROADMAP > }
I don't know what a "edereço" is. But, if you want to show a route between an origin and a destination, the directions service works without using longitude and latitude coordinates, and can be used to initialize your map. If you have an address, the geocoder (which is part of the Google Maps JavaScript API v3) will take and address and return the coordinates you need. -- 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.
