Could anyone take a look at this please? On Jan 29, 5:05 pm, Sebastian <[email protected]> wrote: > I'mhavingaconflict,betweenDirections&userGeoCodeDetection. > > If I do this: > > var MapCenter = new google.maps.LatLng(-33.8665433, 151.1956316); > > function initialize(lat,lng) { > > geocoder = new google.maps.Geocoder(); > // var MapCenter = new google.maps.LatLng(lat,lng); > geocodeThis(MapCenter); > > thedirectionswork fine, but the GeoCoder doesn't get theuser's > location. > > And if I do it like this: > > // var MapCenter = new google.maps.LatLng(-33.8665433, 151.1956316); > > function initialize(lat,lng) { > > geocoder = new google.maps.Geocoder(); > var MapCenter = new google.maps.LatLng(lat,lng); > geocodeThis(MapCenter); > > the GeoCoder gets theuserlocation, but thedirectionsdon't givedirections. > > Here is my full code:http://pastebin.com/HxTCYJSU
-- 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.
