leaflet - OSM: Open Topo Map doesn't work signed .apk -
this exceptionally strange issue found using open topo map in android app. android app signed open topo map stops loading tiles from:
https://a.tile.opentopomap.org/{z}/{x}/{y}.png
all other tilelayers work fine (openstreet, mapbox).
code:
let defaultcoordinates = { "lat": 52.370216, "lng": 4.895168 }; l.map('drawmap', { attributioncontrol: true, renderer: l.svg(), minzoom: 2, maxzoom: 20, zoomcontrol: true, layers: [l.tilelayer("https://a.tile.opentopomap.org/{z}/{x}/{y}.png"] }).setview([defaultcoordinates.lat, defaultcoordinates.lng], 13);
Comments
Post a Comment