mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Documentation update
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user