问题
I would like to have the Ordnance Survey map shown in my Sheetsee.js map.
The example comes from this plugin:
https://github.com/jlord/hack-spots
I tried both OS API for leaflet
that has been more described here:
https://gis.stackexchange.com/questions/342571/incorporation-the-ordnance-survey-map-to-sheetsee-js-plugin-for-leaflet-mapbox?noredirect=1#comment559596_342571
and recently also with OS OpenSpace example, where I replaced:
// create map, tilelayer (map background), markers and popups
var map = Sheetsee.loadMap("map" {
zoom: 6,
crs: L.OSOpenSpace.CRS,
attributionControl: true
})
openspaceLayer = L.OSOpenSpace.tilelayer('EC9EDE7DAD732ABAE0430C6CA40AB812')
Sheetsee.addTileLayer(map, openspacelayer 'jllord.n7aml2bc')
from
// create map, tilelayer (map background), markers and popups
var map = Sheetsee.loadMap("map")
Sheetsee.addTileLayer(map, 'jllord.n7aml2bc')
Is it possible to have OS maps in this example provided?
来源:https://stackoverflow.com/questions/58992052/incorporation-ordnance-survey-map-into-sheetsee-js-plugin-in-leaflet