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

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

Whitespace, moved .addto

parent 973e2db9
......@@ -9,7 +9,6 @@ import leafletDraw from '@salesforce/resourceUrl/leafletDraw';
export default class Map extends LightningElement {
map; // L.map, a leaflet map. constructed in initializeleaflet
/**
* When the Map LWC is ready, start downloading Leaflet.
*
......@@ -21,7 +20,6 @@ export default class Map extends LightningElement {
loadStyle(this, leaflet + '/leaflet.css'),
loadScript(this, leafletDraw + '/dist/leaflet.draw.js'),
loadStyle(this, leafletDraw + '/dist/leaflet.draw.css')
]).then(() => {
this.initializeLeaflet();
this.setupBaseTiles();
......@@ -89,7 +87,6 @@ export default class Map extends LightningElement {
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
attribution: '© ' + mapLink + ' Contributors',
})
.addTo(this.map);
}).addTo(this.map);
}
}
Markdown is supported
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