diff --git a/public_html/gmap.html b/public_html/gmap.html index 338bc78..a5c2df5 100644 --- a/public_html/gmap.html +++ b/public_html/gmap.html @@ -1,7 +1,9 @@ + + @@ -14,6 +16,9 @@ +
+

The settings feature is coming soon. Keep checking github.

+
@@ -34,15 +39,10 @@
- +
[ Reset Map ][ Settings ][ Reset Map ][ Settings ]
-
- - -
GeneralKML
-
-
+
diff --git a/public_html/options.js b/public_html/options.js new file mode 100644 index 0000000..8ca2a83 --- /dev/null +++ b/public_html/options.js @@ -0,0 +1,17 @@ +var listKMLType = ['Approch', 'Departure', 'Transit', 'Custom1', 'Custom2']; +var listKMLs = localStorage['listKMLs'] || []; + +function optionsInitalize() { + // Write your initalization here + // Gets called just before the 1-sec function call loop is setup + $( "#dialog-modal" ).dialog({ + height: 140, + modal: true, + autoOpen: false, + closeOnEscape: false, + }); +} + +function optionsModal() { + $( "#dialog-modal" ).dialog( "open"); +} diff --git a/public_html/script.js b/public_html/script.js index fc8c0d0..aad0f79 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -167,8 +167,8 @@ function initialize() { } } - // Load up our options page - optionsInitalize(); + // Load up our options page + optionsInitalize(); // Did our crafty user need some setup? extendedInitalize(); @@ -553,11 +553,6 @@ function resetMap() { refreshSelected(); } -function settingToggle() { - console.log("Settings Click"); - $("#options").toggleClass("notvisable"); -} - function drawCircle(marker, distance) { if (typeof distance === 'undefined') { return false;