diff --git a/README.md b/README.md index 105ff80..55ed4f2 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,30 @@ -# SondeHub Tracker +# SondeHub Tracker Beta (leaflet edition) A fork of [habitat-mobile-tracker](https://github.com/rossengeorgiev/habitat-mobile-tracker) for use with the [SondeHub v2 ElasticSearch](https://github.com/projecthorus/sondehub-infra/wiki/ElasticSearch-Kibana-access) database. Huge credits to [Rossen Georgiev](https://github.com/rossengeorgiev/) for developing the mobile-tracker.  A webapp for tracking radiosondes. Works an desktop and mobile devices. -The habhub tracker is a continuation of [spacenear.us/tracker](http://spacenear.us/tracker). +The SondeHub tracker is a continuation of [spacenear.us/tracker](http://spacenear.us/tracker). ## Features * Radiosonde Tracking using [SondeHub V2](https://github.com/projecthorus/sondehub-infra/wiki/ElasticSearch-Kibana-access) data. * Telemetry graph for each balloon -* Chase Car functionality (TODO for SondeHub) +* Chase Car functionality * Near realtime weather overlays * [Daylight cycle overlay](https://github.com/rossengeorgiev/nite-overlay), for long flights -* Available to embed on any website -* Map tracker with Google Maps API 3 +* Map tracker with Leaflet API * Run the app natively on `iOS` or with Chrome's 'add to screen' on `Android` ### Geo position -Available only on mobile devices. - The app will ask for permission to use your location. This is required for some of the features. It is **important** to note that your location will not be made available or send to anyone. Unless, you enable - the `chase car mode`, which will periodically upload it to habitat. _The app + the `chase car mode`, which will periodically upload it to SondeHub. _The app will always start with `chase car mode` disabled._ -### Offline storage - -The app will ask to use offline storage. You will need to accept, in order to -use the offline capabilities. The app will cache all files making it available -even when there is no network coverage. Latest position data will also be stored -and used when you start up with no network. When you get back online, the app -will fetch the latest position data. - ## Browser requirements Any modern browser should be able to run the app. Including the latest version of IE. @@ -46,7 +35,6 @@ This is also true for mobile, some build-in browsers may not work. Don't hesitate to report any issues, or suggest improvements. Just visit the [issues page](https://github.com/projecthorus/sondehub-tracker/issues). Pull requests are welcome. - ## Installation Requirements: __Java__ and (Linux or Cygwin environment) @@ -61,9 +49,6 @@ For __applicationCache__ to work your server needs to send the correct MIME type Author: Daniel Saul [@danielsaul](https://github.com/danielsaul) -[See concept for phone portrait mode](https://github.com/rossengeorgiev/habitat-mobile-tracker/blob/master/resources/concept-app-portrait.png) -[See concept for tablets](https://github.com/rossengeorgiev/habitat-mobile-tracker/blob/master/resources/concept-app-tablet.png) - diff --git a/css/leaflet.fullscreen.css b/css/leaflet.fullscreen.css index 2131acd..0a7c123 100644 --- a/css/leaflet.fullscreen.css +++ b/css/leaflet.fullscreen.css @@ -12,10 +12,17 @@ background-position: 2px -24px; } -.leaflet-control-fullscreen { - position:relative; - top:-25px; - } +@media (orientation: landscape) { + .leaflet-control-fullscreen { + position:relative; + top:-25px; + } + .leaflet-fullscreen-on .leaflet-control-fullscreen { + position:relative; + top:0px; + } +} + /* Do not combine these two rules; IE will break. */ .leaflet-container:-webkit-full-screen { diff --git a/index.html b/index.html index 06be3e7..52afd6c 100644 --- a/index.html +++ b/index.html @@ -368,10 +368,13 @@