[GIS] Tilting osm map tile and other wms layer map tile like qgis map server tile via leaflet

3dcartographyleafletopenstreetmappython

I have set up one osm map tile using mapnik and one wms map server using qgis map server. This both map server are able to render 2d map on web platform . I am now intrested to use these map server with custom looks. For now i am very much intrested to make the tile tilt with certain angle.

Can i make it using leaflet or by using other script?

I want to render my map tile with certain tilt angle like this.

enter image description here

Best Answer

Peter Liu at Mapbox wrote a tutorial about tilting a Leaflet map with CSS transformations, but found it resulted in awkward interaction and degraded image quality. Here's a little map I made trying to build on Peter's tutorial.

If you're open to other options, Mapbox GL JS might be better suited for a tilted map. It contains methods for setting both pitch and bearing. They even have an example using WMS.

Related Question