how to make custom zoom in and zoom out button in google map code example
Example: how to change zoom in and zoom out button position in google map
var mapOptions = {
zoom: 4,
center: latlng,
mapTypeControl:false,
mapTypeControlOptions: {
mapTypeIds: [
google.maps.MapTypeId.ROADMAP,
google.maps.MapTypeId.SATELLITE
],
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
},
scrollwheel: false,
scaleControl:true,
zoomControlOptions: { position: google.maps.ControlPosition.RIGHT_TOP },
streetViewControl:true,
streetViewControlOptions: { position: google.maps.ControlPosition.RIGHT_TOP },
overviewMapControl:true,
rotateControl:true,
}