Commit Graph

121 Commits

Author SHA1 Message Date
Christoph Krey
dfd36dc0a1 [NEW] load track in views/tours immediately closes #441 2024-01-28 11:10:33 +00:00
Jan-Piet Mens
ac0a2c7c8c remove layer control from map 2024-01-27 13:01:51 +01:00
Jan-Piet Mens
f634060a88 remove HikeBike layer from views
closes #442
2024-01-27 13:00:19 +01:00
Jan-Piet Mens
b98cb2a0bd create {static,utils}/index.html to avoid directory listing 2024-01-27 12:56:10 +01:00
Christoph Krey
062a882ebf [FIX] show tooltip on map if no data available #438 2024-01-17 10:56:11 +00:00
Christoph Krey
07f784704f [FIX] Table of Locations sorting issue closes #415 2023-06-19 03:03:51 -05:00
Christoph Krey
4dd7a8481e [FIX] wrong API URL when called from /index.html https://github.com/owntracks/talk/issues/151 2022-12-05 20:40:33 +01:00
Anton
326dcd2562 Remove accidental eval 2022-09-26 09:06:22 +02:00
Jan-Piet Mens
74e26ad407 UPD: move config.js into docroot/utils/ to avoid additional proxying
without this, placing Recorder behind an nginx/apache proxy
	would mean having to configure an additional pass for
	browser to access config.js; I don't think this is worthwhile.
2022-08-05 11:02:46 +02:00
Jan-Piet Mens
dbb4dc2b08 NEW: @@@LABEL@@@ in view HTML is replaced by view's label attribute 2022-08-04 23:21:44 +02:00
atjn
91239bcc21 Minify logo 2022-04-17 19:46:31 +02:00
atjn
fe4991ac0e Update Leaflet
Leaflet 1.3.4 (custom) -> Leaflet 1.7.1
2022-04-17 19:46:05 +02:00
atjn
dfb5fd1beb Remove unused dependencies 2022-04-17 19:43:24 +02:00
atjn
a4572eb8cc Modernize map views 2022-04-17 19:41:44 +02:00
atjn
4b329d0d93 Modernize live table 2022-04-17 19:36:13 +02:00
atjn
56f2dfd989 Modernize historic map 2022-04-17 19:34:04 +02:00
atjn
1d4d0a9a74 Modernize live map 2022-04-17 19:32:20 +02:00
atjn
80064f2d68 Modernize base page 2022-04-17 19:28:32 +02:00
atjn
4c23447f4a Define utilities for common patterns 2022-04-17 19:22:33 +02:00
Jan-Piet Mens
dff2e87d1b FIX inaccurate logo name in manifest and missing image
addresses #372
2021-11-29 14:10:40 +01:00
Jan-Piet Mens
871ec36094 Leflet GeoJSON map point popups now contain accuracy if available
closes #352
2020-10-04 10:54:02 +02:00
Christoph Krey
af9b709a2d [FIX] Leaflet map and view wrap around antimeridian (±180°) #293 2019-02-25 10:23:00 +00:00
Jan-Piet Mens
8fbae8a700 leaflet view: fix lat,lon display 2019-01-11 15:22:01 +01:00
Jan-Piet Mens
1e34f5b8d5 revert to </script> 2019-01-11 13:24:16 +01:00
Jan-Piet Mens
967f65c2e1 remove integrity for locally stored leaflet 2019-01-11 12:34:17 +01:00
Jan-Piet Mens
1b6844394a fix paths to be relative to docroot for map/, views/, and last/ 2019-01-11 12:17:38 +01:00
Jan-Piet Mens
339ed33904 fix paths to be relative to docroot for map/, views/, and last/
via ckrey
2019-01-11 12:11:33 +01:00
Jan-Piet Mens
1ae80efbc6 Link to location in table/ now uses OSM, our default
closes #278
2019-01-11 11:52:10 +01:00
Cocker Koch
c5af89c448 Issue-260: Correct Calculation of Timedifferences in index.html
For calculating Timedifferences (12h, 7d, 30d) there is reused the
Variable "now".  Indeed the Substractions are cumulated in the Variable,
resulting in incorrect Timedifferences.

- use moment() instead of Variable "now"
- rename Timevariables to be more speaking
- introduce a Timevariable f0 for "now"
- add Seconds to Timeformat to be more intuitive to ISO8601-Format
- add GET-Variable "to", to be editable more easy in Addressbar
- resort GET-Variables "from" and "to" to Front, to be editable more easy in Addressbar
2018-11-27 00:14:58 +01:00
Jan-Piet Mens
5e4d1e0ef0 local leaflet 2018-11-22 23:01:48 +01:00
Cocker Koch
6023d2851d Issue-267: Swap Lat Lon
- Coordinates in map_leaflet.js are calculated and displayed in unusual
  Order "Lon,Lat" instead of "Lat,Lon".  So swap them
- Improve Calculation of Popup-Text
2018-11-13 15:57:39 +01:00
Sven Klomp
32a7c1f91c Store image from first websocket package for later use 2018-06-20 21:06:54 +02:00
Sven Klomp
9dc1f65466 Merge branch 'master' 2018-06-19 22:03:35 +02:00
edautz
9ae6caab50
Update map_leaflet.js 2018-06-18 11:53:38 +00:00
edautz
ccb852f48e
Update map_leaflet.js
Added speed parameter on the openstreet map points map, but only when speed > 0.
2018-06-18 11:49:39 +00:00
Sven Klomp
7ef616bb28 Add support for OSM on live map
Not all functionality supported yet.
2018-06-17 17:22:31 +02:00
Jan-Piet Mens
14c76c7c58 remove deprecated signed_in in Google maps 2018-06-16 17:38:44 +02:00
Jan-Piet Mens
43e17baf9a add original Hello.txt 2018-06-16 17:38:44 +02:00
ldruschk
bc19b558b6 add view html file for OpenStreetMap based on leaflet 2018-03-31 22:17:08 +02:00
rjp
c4558bbd04 Update leaflet.js CDN URL
Ref: owntracks/recorder#206

The URL for `leaflet.js` 1.0.2 is being served as `text/plain`
and also with `nosniff` - this upsets Firefox 54 and consequently
no map is displayed.  Updating the URL to point to the new
1.2.0 version (served as `application/javascript`!) fixes the map.
2017-08-16 11:24:04 +01:00
Jan-Piet Mens
9fcc8e0430 skip pingping on landing page
addresses #195
2017-06-20 12:28:53 +02:00
Jan-Piet Mens
87a5839805 ping/ping monitoring user/device no longer shows up on map nor in table
closes #195
2017-06-19 13:07:47 +02:00
Sven Klomp
d2ee1105fb Remove development code and fix typo 2016-12-20 21:14:47 +01:00
Sven Klomp
ffc34b62e7 Load Leaflet CSS only if needed 2016-12-19 21:34:23 +01:00
Sven Klomp
54287f04b3 Remove development code 2016-12-19 21:15:52 +01:00
Sven Klomp
61ad5ee86e Add support for OSM using Leaflet 2016-12-18 21:23:13 +01:00
Jan-Piet Mens
354cced245 allow name in JSON to override userdev 2016-09-23 12:01:29 +02:00
Jan-Piet Mens
bf39ceb392 Maps browser API key file (apikey.js) is now served by the Recorder
- new option in Recorder: --browser-apikey

	addresses #146
2016-09-12 10:11:21 +02:00
Jan-Piet Mens
b37d6f07f1 add apikey to views 2016-07-15 15:27:05 +02:00
Jan-Piet Mens
bacc3b5641 ignores 2016-07-15 14:58:41 +02:00