From 2e3cc6b8936673b408368d9a55a27ef797dc27e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cemalettin=20Ta=C5=9F?= Date: Mon, 12 Oct 2020 16:07:02 +0300 Subject: [PATCH] nci-agency/anet#3045: Fix geolocation printing no coordinates --- client/src/components/Leaflet.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/client/src/components/Leaflet.js b/client/src/components/Leaflet.js index 0417a5cc0e..427858d6ee 100644 --- a/client/src/components/Leaflet.js +++ b/client/src/components/Leaflet.js @@ -1,5 +1,6 @@ import AppContext from "components/AppContext" import GeoLocation from "components/GeoLocation" +import { convertLatLngToMGRS } from "geoUtils" import { Control, CRS, DivIcon, Icon, Map, Marker, TileLayer } from "leaflet" import "leaflet-defaulticon-compatibility" import "leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css" @@ -282,7 +283,16 @@ const BaseLeaflet = ({ ReactDOM.render( <> {location.name} @{" "} - + , e.popup.getContent() )