From aa0fa63cba41525dc473349f3f7679a9e0738b79 Mon Sep 17 00:00:00 2001 From: zstadler Date: Tue, 23 Jul 2019 09:34:43 +0300 Subject: [PATCH 1/2] Update index.html --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index a5faa63..9a9e1fc 100644 --- a/index.html +++ b/index.html @@ -93,10 +93,10 @@ .setView([54.2, 2.6], 6) .addControl(L.control.attribution({ position: 'bottomright', - prefix: 'Made by Geodienst' + prefix: 'Made by Geodienst' })); - L.tileLayer('http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png', { + L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png', { detectRetina: true, attribution: '© OpenStreetMap contributors, © CartoDB' }).addTo(map); @@ -200,4 +200,4 @@ - \ No newline at end of file + From ef92d4a3e8528bf066d69c4601892be3b195afae Mon Sep 17 00:00:00 2001 From: zstadler Date: Tue, 23 Jul 2019 09:38:48 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cce6927..b804fad 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Beacon map -This map shows all the blinking beacons from [OpenStreetMap](http://www.openstreetmap.org/). +This map shows all the blinking beacons from [OpenStreetMap](https://www.openstreetmap.org/). ![Demo time](https://geodienst.github.io/lighthousemap/demo.gif) -More specifically, it asks the [Overpass API](https://www.overpass-api.de) for all elements with an `seamark:light:sequence` attribute, decodes these, and displays them as coloured circles on the map using [Leaflet](http://leafletjs.com). It also tries to take the `seamark:light:range` and `seamark:light:colour` into account. +More specifically, it asks the [Overpass API](https://www.overpass-api.de) for all elements with an `seamark:light:sequence` attribute, decodes these, and displays them as coloured circles on the map using [Leaflet](https://leafletjs.com). It also tries to take the `seamark:light:range` and `seamark:light:colour` into account. ## Overpass API The current version uses an extracted dataset, but the code allows for directly querying the Overpass API. However, since a query like the one used here can take multiple minutes to complete it is not very useful do always do live queries. @@ -11,7 +11,7 @@ The current version uses an extracted dataset, but the code allows for directly ## Useful stuff The `leaflet.indexedfeaturelayer.js` file contains an extension on Leaflet's GeoJSON layer that only add layers/features to the map that are (or are about to be) visible. It uses a spatial index to quickly query which features can be removed from the DOM, increasing performance. -`leaflet.light.js` contains my best guess on how a light sequence will look based on [these descriptions](http://wiki.openstreetmap.org/wiki/Seamarks/Light_Characters). However, it might be inaccurate, and it tries to do its best with the sometimes not entirely consistent data from OSM. +`leaflet.light.js` contains my best guess on how a light sequence will look based on [these descriptions](https://wiki.openstreetmap.org/wiki/Seamarks/Light_Characters). However, it might be inaccurate, and it tries to do its best with the sometimes not entirely consistent data from OSM. ## Credits -This map is made by the [Geodienst](http://www.geodienst.xyz) because it was a fun idea we wanted to try out. Feel free to fork this map and make your own visualisation of OSM data, or contribute improvements back to us. +This map is made by the [Geodienst](https://www.geodienst.xyz) because it was a fun idea we wanted to try out. Feel free to fork this map and make your own visualisation of OSM data, or contribute improvements back to us.