Difference between revisions of "User:Admin/sandbox/maps"

From Freephile Wiki
Jump to navigation Jump to search
(finally got map output)
Line 1: Line 1:
 +
== Ask Query ==
 +
<nowiki>{{#ask: [[hasCoordinates::+]]
 +
| format=map
 +
| zoom=7
 +
| center=Salisbury, MA
 +
| height=300
 +
| ?hasCoordinates
 +
| ?AddressLocality
 +
| ?email
 +
}}
 +
</nowiki>
 +
produces
 
{{#ask: [[hasCoordinates::+]]
 
{{#ask: [[hasCoordinates::+]]
 
  | format=map
 
  | format=map
 
  | zoom=7
 
  | zoom=7
  | center=Boston
+
  | center=Salisbury, MA
 
  | height=300
 
  | height=300
 
  | ?hasCoordinates
 
  | ?hasCoordinates
Line 11: Line 23:
  
  
 
+
== Display Map ==
 +
<nowiki>
 +
{{#display_map:Salisbury, MA; Boston, MA; Cambridge, MA;
 +
| height=300}}
 +
</nowiki>
 +
produces
 
{{#display_map:Salisbury, MA; Boston, MA; Cambridge, MA;
 
{{#display_map:Salisbury, MA; Boston, MA; Cambridge, MA;
 
| height=300}}
 
| height=300}}
  
  
 +
 +
 +
 +
== Geo Coordinates ==
 +
Using <nowiki>{{#geocode:Salisbury, MA}}</nowiki> we get
 
Salisbury, MA has the coordinates: {{#geocode:Salisbury, MA}}
 
Salisbury, MA has the coordinates: {{#geocode:Salisbury, MA}}

Revision as of 10:04, 19 March 2020

Ask Query[edit | edit source]

{{#ask: [[hasCoordinates::+]] | format=map | zoom=7 | center=Salisbury, MA | height=300 | ?hasCoordinates | ?AddressLocality | ?email }} produces

Loading map...


Display Map[edit | edit source]

{{#display_map:Salisbury, MA; Boston, MA; Cambridge, MA; | height=300}} produces

Loading map...



Geo Coordinates[edit | edit source]

Using {{#geocode:Salisbury, MA}} we get Salisbury, MA has the coordinates: 42° 50' 30.33" N, 70° 51' 38.19" W