Documentation update

This commit is contained in:
Tatu Laras
2025-06-25 10:20:06 +03:00
parent 90eecd61ed
commit 3ae8c191fc
2 changed files with 8 additions and 2 deletions
@@ -25,8 +25,9 @@ A normal street map as well as a simplified map with only country borders visibl
## Country border view
The simplified country border map view is achieved through a hardcoded array of latitude-longitude polygons that represent country borders, imported from [`country_borders_WGS84.ts`](../../../../frontend/src/components/Map/country_borders_WGS84.ts).
The simplified country border map view is achieved through an array of latitude-longitude polygons that represent country borders, imported from [`countryPolygons.ts`](../../../../frontend/src/country_data/countryPolygons.ts).
This means that the country borders are fixed in time to the moment of when that file was last updated.
Detailed instructions on where to get the data and how to convert it to this desired format can be found at (TBD).
Detailed instructions on where to get the data and how to convert it to this desired format can be found [here](../../../../frontend/src/country_data/README.md).
@@ -0,0 +1,5 @@
# Single locality map
A component for visualizing the location of a single latitude and longitude coordinate, used for the locality detail page as well as in a country bounding box check warning modal to illustrate the location with the box it missed.
The component takes in decimal-form latitude and longitude coordinates, along with an optional array of bounding boxes to display on the map.