Maps: Difference between revisions

From Freephile Wiki
No edit summary
Add example of proper usage of GeoJson and service=leaflet
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
I've enabled the Maps extension (<code>/opt/.deploy-meza/public/wikis/freephile/postLocalSettings.d/override.php
== Mapping ==
</code>), however when I try to use it, all my maps are located in the middle of the Atlantic Ocean. I tried setting up my Payment Account with Google, and reviewing the Dev Console for errors.
NOAA's Office for Coastal Management has a variety of '''mapping tools''' and resources in a collection they call "'''[https://coast.noaa.gov/digitalcoast/tools/ Digital Coast]"''' such as the [https://coast.noaa.gov/digitalcoast/tools/flood-exposure.html Flood Exposure] tool and [https://coast.noaa.gov/sealevelcalculator/ Sea Level Calculator].


'''[https://maps.massgis.digital.mass.gov/MassMapper/MassMapper.html Mass Mapper]''' is a statewide mapping resource ([https://www.mass.gov/info-details/massmapper-interactive-map info]).
'''[https://massgis.maps.arcgis.com/apps/OnePane/basicviewer/index.html?appid=47689963e7bb4007961676ad9fc56ae9# 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. [https://mimap.mvpc.org/map/index.html?viewer=salisbury Salisbury MiMap], in the Merrimack Valley.{{#ev:youtube|https://www.youtube.com/watch?v=s_4H1hnYAl4}}
'''ArcGIS''' is a dominant commercial mapping ([[GIS]]) software created by parent company '''Environmental Systems Research Institute''' known by it's tradename '''[[wp:Esri|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 [https://github.com/ProfessionalWiki/Maps/blob/master/RELEASE-NOTES.md Release Notes]


== Boston ==
== Boston ==
Line 7: Line 22:
{{#display_map:Boston, MA|width=400|height=300}}
{{#display_map:Boston, MA|width=400|height=300}}


== Trying a different map service: Leaflet ==
== Boston using the Leaflet map service==
 
{{#display_map:Boston|width=400|height=300|service=leaflet}}
 
== Circles on Leaflet ==
Here's the new '[https://maps.extension.wiki/wiki/Displaying_Leaflet_maps#Circles circles]' feature for Leaflet maps (click to view Title and Description)
{{#display_map:circles=
  Salisbury, MA:500;
  Salisbury, MA:100~I am a title~And I am a description~green~0.7~10~blue~0.5
|service=leaflet
| zoom=14
}}
 
== 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)
 
<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}}
 
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 }}
 


{{#display_map:Berlin|width=400|height=300|service=leaflet}}
[[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...