Skip to main content
2 votes
Accepted

Adding secured WMS layer to Leaflet JS

If it is plain Basic Authentication you can use the leaflet-wms-header plugin and set the Authorization header as base64 encoded string like UserName:Password using the btoa method. Something like: ...
Bernd Loigge's user avatar
  • 2,940
1 vote
Accepted

Put added three.js object from external js module on top of base map in Leaflet

All Leaflet div elements that contain different parts of map are positioned absolutely and each has its own z-index value to control vertical placement. You are adding created canvas element created ...
TomazicM's user avatar
  • 26.3k

Only top scored, non community-wiki answers of a minimum length are eligible