IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Unverified Commit 2a2c5645 authored by Jared's avatar Jared Committed by GitHub
Browse files

Pr changes jasie (#84)

* Requested changes from Anthony

* Requested changes 2
parent e3bf4cc0
...@@ -165,8 +165,7 @@ const parseCoordinates = (coordinateList) => { ...@@ -165,8 +165,7 @@ const parseCoordinates = (coordinateList) => {
if (!isNaN(lon) && validLongitude(lon) if (!isNaN(lon) && validLongitude(lon)
&& !isNaN(lat) && validLatitude(lat)) { && !isNaN(lat) && validLatitude(lat)) {
coordinates.push({latitude: lat, longitude: lon}); coordinates.push({latitude: lat, longitude: lon});
} } else {
else {
return ParseResult.failure('Unable to parse coordinate. Please format points like {coordinates: [{"latitude": "-14.342", "longitude": "33.123"},...]}'); return ParseResult.failure('Unable to parse coordinate. Please format points like {coordinates: [{"latitude": "-14.342", "longitude": "33.123"},...]}');
} }
} }
......
...@@ -16,7 +16,6 @@ export default class Map extends LightningElement { ...@@ -16,7 +16,6 @@ export default class Map extends LightningElement {
* *
* When this is complete, call initializeleaflet() * When this is complete, call initializeleaflet()
*/ */
connectedCallback() { connectedCallback() {
Promise.all([ Promise.all([
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment