diff --git a/docroot/last/.gitignore b/docroot/last/.gitignore index 1bf4259..1d76347 100644 --- a/docroot/last/.gitignore +++ b/docroot/last/.gitignore @@ -1 +1,2 @@ config.js +apikey.js diff --git a/docroot/last/apikey.js.sample b/docroot/last/apikey.js.sample new file mode 100644 index 0000000..45dfcef --- /dev/null +++ b/docroot/last/apikey.js.sample @@ -0,0 +1 @@ +var apiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; diff --git a/docroot/last/functions.js b/docroot/last/functions.js index e0266cd..06b8904 100644 --- a/docroot/last/functions.js +++ b/docroot/last/functions.js @@ -33,6 +33,8 @@ function initialize() { buttonControlDiv.index = 1; map.controls[google.maps.ControlPosition.BOTTOM_LEFT].push(buttonControlDiv); + + ws_go(); // Connect to websocket and start listening } function ButtonControl(controlDiv, map) { @@ -215,4 +217,4 @@ function map_marker(loc) } } -google.maps.event.addDomListener(window, 'load', initialize); +// google.maps.event.addDomListener(window, 'load', initialize); diff --git a/docroot/last/index.html b/docroot/last/index.html index e2f3a9c..058f165 100644 --- a/docroot/last/index.html +++ b/docroot/last/index.html @@ -32,18 +32,35 @@ .latlon { color: gray; } - + + +
- -