I wrote that for openInfoWindow rather than move marker because the page
that you previously linked to didn't have any markers.

The argument passed to the callback is a GStreetviewLocation Object, not
a pair of numbers. Try this:

function onnewlocation(location) {
  markerprovisoire.setLatlng(location.latlng);
  markerprovisoire.openInfoWindowHtml("...");
}

-- 
Mike Williams
http://econym.org.uk/gmap


--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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.


Reply via email to