This page shows examples of basic maps rendered with Google Maps providing a rotate control to manipulate the view of the current satellite map.1
- option / value
controls
/ "-/-" (default), "type, rotate" or "pan, zoom, type, scale, streetview, rotate"
If the controls
option is not provided is will automatically be ignored.
This works only in the two methods indicated for the examples and only if the option type
is also set to "satellite". Additionally you need to set the option zoom
to "18" or even higher.
Examples[edit]
Using the parser function[edit]
Method 1 / controls=type, rotate[edit]
{{#display_map:
|controls=type, rotate
|center=40.702764, -74.013383
|type=satellite
|zoom=18
|height=500
|service=googlemaps3
}}
Loading map...
{"type":"SATELLITE","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"500px","centre":{"text":"","title":"","link":"","lat":40.702764,"lon":-74.013383,"icon":""},"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":18,"layers":[],"controls":["type","rotate"],"zoomstyle":"DEFAULT","typestyle":"DEFAULT","autoinfowindows":false,"resizable":false,"kmlrezoom":false,"poi":true,"cluster":false,"clustergridsize":60,"clustermaxzoom":20,"clusterzoomonclick":true,"clusteraveragecenter":true,"clusterminsize":2,"imageoverlays":[],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"locations":[]}
Method 2 / controls=pan, zoom, type, scale, streetview, rotate[edit]
{{#display_map:
|controls=pan, zoom, type, scale, streetview, rotate
|center=40.702764, -74.013383
|type=satellite
|zoom=18
|height=500
|service=googlemaps3
}}
Loading map...
{"type":"SATELLITE","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"500px","centre":{"text":"","title":"","link":"","lat":40.702764,"lon":-74.013383,"icon":""},"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":18,"layers":[],"controls":["pan","zoom","type","scale","streetview","rotate"],"zoomstyle":"DEFAULT","typestyle":"DEFAULT","autoinfowindows":false,"resizable":false,"kmlrezoom":false,"poi":true,"cluster":false,"clustergridsize":60,"clustermaxzoom":20,"clusterzoomonclick":true,"clusteraveragecenter":true,"clusterminsize":2,"imageoverlays":[],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"locations":[]}
Using the tag[edit]
Method 1 / controls=type, rotate[edit]
<display_map service="googlemaps3" center="40.702764, -74.013383" controls="type, rotate" type="satellite" zoom="18" height="500">
</display_map>
Loading map...
{"type":"SATELLITE","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"500px","centre":{"text":"","title":"","link":"","lat":40.702764,"lon":-74.013383,"icon":""},"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":18,"layers":[],"controls":["type","rotate"],"zoomstyle":"DEFAULT","typestyle":"DEFAULT","autoinfowindows":false,"resizable":false,"kmlrezoom":false,"poi":true,"cluster":false,"clustergridsize":60,"clustermaxzoom":20,"clusterzoomonclick":true,"clusteraveragecenter":true,"clusterminsize":2,"imageoverlays":[],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"locations":[]}
Method 2 / controls=pan, zoom, type, scale, streetview, rotate[edit]
<display_map service="googlemaps3" center="40.702764, -74.013383" controls="pan, zoom, type, scale, streetview, rotate" type="satellite" zoom="18" height="500">
</display_map>
Loading map...
{"type":"SATELLITE","minzoom":false,"maxzoom":false,"types":["ROADMAP","SATELLITE","HYBRID","TERRAIN"],"mappingservice":"googlemaps3","width":"auto","height":"500px","centre":{"text":"","title":"","link":"","lat":40.702764,"lon":-74.013383,"icon":""},"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"visitedicon":"","wmsoverlay":false,"zoom":18,"layers":[],"controls":["pan","zoom","type","scale","streetview","rotate"],"zoomstyle":"DEFAULT","typestyle":"DEFAULT","autoinfowindows":false,"resizable":false,"kmlrezoom":false,"poi":true,"cluster":false,"clustergridsize":60,"clustermaxzoom":20,"clusterzoomonclick":true,"clusteraveragecenter":true,"clusterminsize":2,"imageoverlays":[],"kml":[],"gkml":[],"searchmarkers":"","fullscreen":false,"scrollwheelzoom":false,"locations":[]}