Norkart/Leaflet-MiniMap — pull request #59 by yellowiscool (2014-04-16 14:32:08+00:00)
Title: RTSMiniMap

Hei

I made a [RTS](http://en.wikipedia.org/wiki/Real-time_strategy) like minimap. Basically, the minimap view is fixed and you can interact with the mainMap through the minimap.

You have also a light preview of the situation using a Canvas. It's dependant to [Leaflet.CanvasLayer](https://github.com/CartoDB/Leaflet.CanvasLayer) because I wanted a fast rendering.

I also removed the minimap's border because the cursor position was broken, but if we embed the minimap in a div with a padding instead of a border, it could work.

![a screenshot](https://cloud.githubusercontent.com/assets/45740/2720580/4fa43e0c-c571-11e3-9185-1a54e6f7fafc.png)

You can [test it](http://sintef-9012.github.io/Leaflet-MiniMap/example_rts.html).

I made a new class in a new file because it changes a lot of things. I don't know if you want it upstream or not. I can make changes if needed.