Skip to content
AleksiP edited this page Mar 7, 2019 · 1 revision

The map uses Leaflet as the library for the map and React-leaflet to create React components of the leaflet elements.

The maplayers used by the map are: default servicemap, high contrast map, orthoimage i.e aerial view and guide map. Some of these layers use different projections, so each layer needs to have its coordinate reference system (crs) calculated. The default servicemap and high contrast map layers use the EPSG:3067 crs (tms32) and the aerial view and guide map use EPSG:3879 (gk25). For this reason the crs of the map needs to be reapplied each time the layer is changed.

Clone this wiki locally