|
124 | 124 | <body> |
125 | 125 | <div class="links maplibregl-ctrl-top-left"> |
126 | 126 | <button class="maplibregl-ctrl maplibregl-ctrl-group" onclick="document.getElementById('about').style.visibility = 'visible';">cyclemaps</button> |
127 | | - <button class="maplibregl-ctrl maplibregl-ctrl-group" onclick="window.open(`https://www.strava.com/heatmap#${window.main.getHeatmapPoint()}/hot/ride`);">heat</button> |
128 | | - <button class="maplibregl-ctrl maplibregl-ctrl-group" onclick="window.open(`https://www.openstreetmap.org/edit#map=${window.main.getOsmPoint()}`);">osm</button> |
129 | | - <button class="maplibregl-ctrl maplibregl-ctrl-group" onclick="window.open(`https://www.google.com/maps/@${window.main.getGPoint()}z`);">g</button> |
| 127 | + <button class="maplibregl-ctrl maplibregl-ctrl-group" onclick="window.open(`https://www.strava.com/heatmap#${window.mainControl.getHeatmapPoint()}/hot/ride`);">heat</button> |
| 128 | + <button class="maplibregl-ctrl maplibregl-ctrl-group" onclick="window.open(`https://www.openstreetmap.org/edit#map=${window.mainControl.getOsmPoint()}`);">osm</button> |
| 129 | + <button class="maplibregl-ctrl maplibregl-ctrl-group" onclick="window.open(`https://www.google.com/maps/@${window.mainControl.getGPoint()}z`);">g</button> |
130 | 130 | </div> |
131 | 131 | <button id="clearLayers" class="maplibregl-ctrl maplibregl-ctrl-group picker" style="visibility: hidden;">clear</button> |
132 | 132 | <nav id="layerPicker" class="picker"> |
|
162 | 162 | <ul> |
163 | 163 | <li>if you notice a problem, please |
164 | 164 | <a class="osm-link" href="#" onclick=" |
165 | | - window.open(`https://www.openstreetmap.org/edit#map=${window.main.getOsmPoint()}`); |
| 165 | + window.open(`https://www.openstreetmap.org/edit#map=${window.mainControl.getOsmPoint()}`); |
166 | 166 | ">edit osm</a></li> |
167 | 167 | <li>"surface" is how we know what is unpaved</li> |
168 | 168 | <li>changes to osm take two weeks to propagate</li> |
|
194 | 194 |
|
195 | 195 | <p>if you notice an issue that can't be fixed by |
196 | 196 | <a class="osm-link" href="#" onclick=" |
197 | | - window.open(`https://www.openstreetmap.org/edit#map=${window.main.getOsmPoint()}`); |
| 197 | + window.open(`https://www.openstreetmap.org/edit#map=${window.mainControl.getOsmPoint()}`); |
198 | 198 | ">editing osm</a>, |
199 | 199 | please <a href="https://github.com/cyclemap/openmaptiles-cycle/issues/new">file a ticket</a>. if you see a route that SHOULDN'T be a bike route, we want to hear from you: please <a href="https://github.com/cyclemap/openmaptiles-cycle/issues/new">file a ticket</a>!</p> |
200 | 200 | </div></div> |
|
0 commit comments