Make sure that accounts and tags both can handle locations.

This commit is contained in:
James Cole
2019-12-30 17:43:04 +01:00
parent 7e5d0d455a
commit becab15ab8
13 changed files with 123 additions and 124 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* create-edit.js
* Copyright (c) 2019 thegrumpydictator@gmail.com
*

View File

@@ -31,7 +31,7 @@ $(function () {
*/
// make map:
var mymap = L.map('tag_location_map', {
var mymap = L.map('location_map', {
zoomControl: false,
touchZoom: false,
doubleClickZoom: false,
@@ -46,9 +46,7 @@ $(function () {
id: 'mapbox.streets',
accessToken: mapboxToken
}).addTo(mymap);
if (doPlaceMarker) {
L.marker([latitude, longitude]).addTo(mymap);
}
L.marker([latitude, longitude]).addTo(mymap);
}
});