Ask for confirmation for nodes outside of community bounds.
This commit is contained in:
parent
9387df8dd3
commit
4c6556de3f
6 changed files with 222 additions and 14 deletions
frontend/src/components
|
@ -133,6 +133,14 @@ function centerOnCoordinates() {
|
|||
function renderMap() {
|
||||
const { layers, defaultLayers } = getLayers();
|
||||
createMap(defaultLayers, layers);
|
||||
if (
|
||||
map &&
|
||||
configStore.getConfig.otherCommunityInfo.showBorderForDebugging
|
||||
) {
|
||||
new L.Polygon(
|
||||
configStore.getConfig.otherCommunityInfo.localCommunityPolygon
|
||||
).addTo(map);
|
||||
}
|
||||
centerOnCoordinates();
|
||||
updateMarker();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue