1var mapOptions = {
2 zoom: 4,
3 center: latlng,
4 mapTypeControl:false,
5 mapTypeControlOptions: {
6 mapTypeIds: [
7 google.maps.MapTypeId.ROADMAP,
8 google.maps.MapTypeId.SATELLITE
9 ],
10 style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
11 },
12 scrollwheel: false,
13 scaleControl:true,
14 zoomControlOptions: { position: google.maps.ControlPosition.RIGHT_TOP },
15 streetViewControl:true,
16 streetViewControlOptions: { position: google.maps.ControlPosition.RIGHT_TOP },
17 overviewMapControl:true,
18 rotateControl:true,
19}