Hi Luke,
sorry but I have implemented this code
function initialize() {
var panorama = new
google.maps.StreetViewPanorama(document.getElementById("pano"), {
position: new google.maps.LatLng(42.345573,-71.098326),
visible: true
});
var map = new
google.maps.Map(document.getElementById("map_canvas"), {
center: new google.maps.LatLng(42.345573,-71.098326),
zoom: 14,
mapTypeId: google.maps.MapTypeId.ROADMAP,
mapTypeControl: false,
streetViewControl: false,
zoomControl: false,
streetView: panorama
});
google.maps.event.addListener(panorama, "position_changed",
function() {
map.setCenter(panorama.getPosition());
});
}
and the mapTypeId is ROADMAP but if i use
http://maps.google.com/maps/api/js?sensor=false
i don't display a pegman into map.
Can you help me?
Thanks
Gigi