IOT-Map-Component icon indicating copy to clipboard operation
IOT-Map-Component copied to clipboard

Handle rotation

Open julien-deramond opened this issue 3 years ago • 0 comments

This issue is a study to allow IoT Map Component to handle map rotation.

rotateMap in this repository allows the users to rotate the map. This branch has a dependency on the rotate Leaflet branch which is not maintained and won't be.

We don't want to fork Leaflet and maintain this branch.

The purpose of this study is to:

  • [ ] Try to understand what's been done in the rotate Leaflet branch
    • https://github.com/Leaflet/Leaflet/pull/7217 can be useful to check as well
  • [ ] Try to integrate it directly into IoT Map Component as an optional feature and limited to our use case
  • [ ] Understand the limits of this development and why it hasn't been merged in Leaflet

Additional information

rotate branch

Run the rotate branch locally

git clone [email protected]:Leaflet/Leaflet.git
cd Leaflet
git checkout rotate
npm i
npm run build

Then open in your browser file:///home/xxx/Leaflet/debug/map/rotate.html

julien-deramond avatar Jun 27 '22 05:06 julien-deramond