OpenTreeMap is a collaborative platform for crowdsourced tree inventory, ecosystem services calculations, urban forestry analysis, and community engagement.
A change to the onGeolocateSuccess handler so that we pass a Leaflet LatLng to pointInMap. Passing the onGeolocateSuccess argument into pointInMap was failing because the object was not in the format that leaflet-pip expected.
Coverage remained the same at 83.867% when pulling bb577398be3843fcd8ca28b72675bbefaf3a230d on jcw/bryant3 into ae7c5c86e2d461baea6e212716cf90e160666fb3 on develop.
This PR is based on #3238 with
pointInMap
function.onGeolocateSuccess
handler so that we pass a LeafletLatLng
topointInMap
. Passing theonGeolocateSuccess
argument intopointInMap
was failing because the object was not in the format thatleaflet-pip
expected.