Maps: Difference between revisions

From Freephile Wiki
No edit summary
Add example of proper usage of GeoJson and service=leaflet
 
Line 38: Line 38:
This map of Berlin is displayed here. But it is defined on the [[GeoJson:Berlin]] page (in GeoJson format)
This map of Berlin is displayed here. But it is defined on the [[GeoJson:Berlin]] page (in GeoJson format)


<code><nowiki>{{#display_map: center=Berlin | geojson=Berlin}}</nowiki></code> '''tries''' to display the data on the (default for this wiki) Google service - but Google doesn't work with GeoJson, so it just shows a map of the 'place' Berlin.
{{#display_map: center=Berlin | geojson=Berlin}}
{{#display_map: center=Berlin | geojson=Berlin}}
Compare that with:<br>
<code><nowiki>{{#display_map: center=Berlin | geojson=Berlin | service=leaflet }}</nowiki></code>
By specifying the correct service (Leaflet), we get the proper map of Berlin, '''and''' the GeoJson data also included in the display.
{{#display_map: center=Berlin | geojson=Berlin | service=leaflet }}




[[Category:Maps]]
[[Category:Maps]]

Latest revision as of 23:59, 24 July 2025

Mapping

NOAA's Office for Coastal Management has a variety of mapping tools and resources in a collection they call "Digital Coast" such as the Flood Exposure tool and Sea Level Calculator.

Mass Mapper is a statewide mapping resource (info).

Massachusetts Interactive Property Map gives tax maps across the whole Commonwealth so you don't need to dig into some town-by-town divided database.

The Merrimack Valley Planning Commission (MVPC) makes "MiMap" available for each town, e.g. Salisbury MiMap, in the Merrimack Valley.


ArcGIS is a dominant commercial mapping (GIS) software created by parent company Environmental Systems Research Institute known by it's tradename ESRI. They offer an online mapping tool at https://www.arcgis.com/apps/mapviewer/index.html

See GIS for a better overview of mapping software.

Wiki Maps

The Maps extension is included in Meza

As of 2025-07-21, using v11.0.1 See Release Notes

Boston

Loading map...

Boston using the Leaflet map service

Loading map...

Circles on Leaflet

Here's the new 'circles' feature for Leaflet maps (click to view Title and Description)

Loading map...

Leaflet Maps using the GeoJson namespace

This map of Berlin is displayed here. But it is defined on the GeoJson:Berlin page (in GeoJson format)

{{#display_map: center=Berlin | geojson=Berlin}} tries to display the data on the (default for this wiki) Google service - but Google doesn't work with GeoJson, so it just shows a map of the 'place' Berlin.

Loading map...

Compare that with:
{{#display_map: center=Berlin | geojson=Berlin | service=leaflet }}

By specifying the correct service (Leaflet), we get the proper map of Berlin, and the GeoJson data also included in the display.

Loading map...