gomap and street view
gomap and street view
Hi there, i'd like to get rid of street view on the maps i create into dynamic pages, but i can't find a way. My code is working fine (php for the dynamic part), but always shows the street view icon; the preview map iframe is really small, so i prefer to generate it without street view.
Any suggestion would be really appreciated, thanks
<script language="javascript">
$(document).ready(function() {
$(function() {
$("#map").goMap({
markers: [{
<? echo $address; ?>,
draggable: false,
id: 'markerShowHide',
icon: 'images/drag.png',
}],
addMarker: 'single',
navigationControl: false,
mapTypeControl: false,
scrollwheel: false,
disableDoubleClickZoom: true,
maptype: 'ROADMAP',
streetViewControl: false,
zoom: 16
});
$("#showHide").click(function() {
$.goMap.showHideMarker('markerShowHide');
});
$("#data").click(function(){
var coord = ($.goMap.getMarkers("data"));
$("#dump").load('registra_location.php?id=<? echo $id; ?>&coord='+coord+'');
});
});
});
</script>