Reputation: 3590
Is it possible to have a gmap that is a fixed view? In other words, there is no hand cursor that lets the user change the location of the map?
Here is my code:
$(document).ready(function(){
$("#map").gMap({ controls: false,
scrollwheel: false,
draggable: false,
markers: [{ latitude: 40.727047,
longitude: 1006.8,
icon: { image: "img/pin.png",
iconsize: [32, 47],
iconanchor: [32,47],
infowindowanchor: [12, 0] } }
],
icon: { image: "img/pin.png",
iconsize: [26, 46],
iconanchor: [12, 46],
infowindowanchor: [12, 0] },
latitude: 44.47698,
longitude: 1006.8,
zoom: 15, });
});
Upvotes: 0
Views: 748
Reputation: 13049
Might as well use a static map if your not using any of the controls:
otherwise you can customize any of the controls to be added with:
Upvotes: 1