Compare commits
1 Commits
60e3565561
...
368c799933
Author | SHA1 | Date |
---|---|---|
Lucas Verney | 368c799933 |
|
@ -277,7 +277,7 @@ export function pointToGeometryDistance(latLng, geometry) {
|
|||
if (geometry.type === 'Polygon') {
|
||||
return pointToPolygonDistance(
|
||||
latLng,
|
||||
lngLatCoordinates[0].map(item => Array.concat([], item).reverse()),
|
||||
lngLatCoordinates[0].map(item => [].concat(item).reverse()),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue