Maps examples/Google Maps with rotate control

From semantic-mediawiki.org
< Category:Maps examples
Maps examplesMaps examples/Google Maps with rotate control
Table of Contents

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
}}
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.


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
}}
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.


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>
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.
Sorry, we have no imagery here.


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>


Starting June 11, 2018 the free usage of the Google Maps APIs is limited to 28,000 calls a month for dynamic maps. As soon as this monthly limit is reached no more maps will be served that month for this wiki by Google.

References

  1. ^  Maps: GitHub issue gh:m:165

BESbswy
BESbswy
BESbswy