Enable OpenStreetMap support at Setup Wizard

This commit is contained in:
savvasha
2019-02-21 18:08:16 +02:00
parent 041c3e9f0f
commit 3986a8566e
3 changed files with 18 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
//Get variables form input values
latitude = document.getElementById('sp_latitude').value;
longitude = document.getElementById('sp_longitude').value;
//Initialize variables
latitude = 0;
longitude = 0;
//Initialize the map and add the Search control box
var map = L.map('sp-location-picker').setView([latitude, longitude], 15),