On Jun 22, 12:28 pm, Rossko <[email protected]> wrote: > > var map = new GMap2(document.getElementById("map_canvas")); > ... > > if (GBrowserIsCompatible()) { > > var map = new GMap2(document.getElementById("map_canvas")); > > Making a map, then destroy it to make a new one? > > > var directionsService = new google.maps.DirectionsService(); > > That's a v3 object, you cannot mix'n'match v2 and v3 > v2 Directions docs > -http://code.google.com/apis/maps/documentation/javascript/v2/services... > > > The map displays beautifully; > > Map of where, out of interest? You don't seem to choose any centre > and zoom at all.
Looks like Texas: http://www.geocodezip.com/example_geo2.asp?waypts=yes&addr1=(32.919962,-97.109249)&addr2=(32.919944,-97.108476)&waypt=(32.962829,-97.108149)&waypt=(32.967258,-97.105209)&waypt=(32.971309,-97.103562)&waypt=(32.973325,-97.103541)&waypt=(32.976876,-97.103498)&waypt=(32.975044,-97.099142)&waypt=(32.972128,-97.099094)&waypt=(32.972132,-97.103552)&waypt=(32.969482,-97.103589)&waypt=(32.965683,-97.107511)&waypt=(32.964031,-97.108685)&waypt=(32.955029,-97.097425)&geocode=1&geocode=2 -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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-api?hl=en.
