On Jan 2, 4:03 am, eduardo12fox <[email protected]> wrote: > Hello, > > I would like to open my map using a physical address and not the > longitude and latidude. How can I change this in the script? > > function initialize() { > var myOptions = { > zoom: 13, > center: new google.maps.LatLng(-33.879,151.235), > mapTypeId: google.maps.MapTypeId.ROADMAP > } > > I want to change: center: new google.maps.LatLng(-33.879,151.235), > > for > > 'av oitis 260 retiro volta redonda', 'rua pinto ribeiro 1 centro barra > mansa'
See my answer here: http://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/3da15d0f27e9ee22# Here is a v2 example using your addresses (and the geocoder and the directions service in v2; both exist in v3 as well): http://www.geocodezip.com/example_geo2.asp?addr1=av%20oitis%20260%20retiro%20volta%20redonda&addr2=rua%20pinto%20ribeiro%201%20centro%20barra%3E%20mansa&geocode=1&geocode=2 (I haven't ported that tool to v3 yet) -- 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.
