modestmaps-js icon indicating copy to clipboard operation
modestmaps-js copied to clipboard

map rotation

Open cpietsch opened this issue 12 years ago • 3 comments

Hello! Is there a way to rotate the map, like polymaps angle function: http://polymaps.org/ex/tiles.html ?

cpietsch avatar Jun 27 '12 00:06 cpietsch

Nope - at least it's not planned at this point. We're trying to keep legacy browser support here, and there's no way to rotate a canvas or individual images in IE<9.

tmcw avatar Jun 27 '12 00:06 tmcw

sure thing, but considering mobile devices a rotation feature is pretty important. is there maybe somewhere an experimental example available since there is an teaser about the rotation on https://github.com/stamen/modestmaps-js/tree/master/examples/ ?

cpietsch avatar Jun 27 '12 00:06 cpietsch

It's worth a shot; if you want to go for it, try it out. There'd probably be one stage of just supporting rotation on the element, and then another of supporting tile loading in a diamond - something that prompted polymaps to do scanline tile loading rather than the simple for x in range technique we have here.

tmcw avatar Jul 03 '12 14:07 tmcw