allow multiple maps to be added on a page
This commit is contained in:
parent
264078d058
commit
6cbe62bad2
3 changed files with 82 additions and 87 deletions
|
@ -11,6 +11,6 @@ export default function getLocation() {
|
|||
mapDiv.dataset.latitude = position.coords.latitude;
|
||||
mapDiv.dataset.longitude = position.coords.longitude;
|
||||
mapDiv.dataset.accuracy = position.coords.accuracy;
|
||||
addMapWithPlaces(position);
|
||||
addMapWithPlaces(mapDiv, position);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue