Commit Graph

12 Commits

Author SHA1 Message Date
Tim Schaub
5a485ea856 Getting explicit about pixels and size.
Eventually, well have to ask renderers for all pixel and size related stuff.  And the map overlay renderer will do all pixel<->loc math.  For now, we let the map do this math based on its viewport - as this is where the mouse events are handled and it is pixels relative to the viewport that are being generated.  For now, the getViewportPixelForLoc and getLocForViewportPixel are now more explicitly named.
2012-07-08 20:57:36 -06:00
Tim Schaub
3d130d3325 Letting the map ask renderer for resolution. 2012-07-08 20:56:36 -06:00
Tim Schaub
ddd57426b5 Allow renderer to have a buffer. 2012-07-07 16:50:22 -06:00
ahocevar
81577d6dce Adding Loc.add method. 2012-06-24 10:09:24 +02:00
Tim Schaub
2fcbce30bc For now, we require a projection on loc internally. 2012-06-23 19:59:49 +02:00
ahocevar
026b60826e Removing stub method, and use the real method in Popup. 2012-06-23 16:16:37 +02:00
ahocevar
d391c65ac6 New pixel conversion and zoom/center related methods. 2012-06-23 14:21:37 +02:00
Tim Schaub
ff9bacf044 Temporary way for map renderers to register. 2012-06-22 19:46:40 +02:00
Tim Schaub
2741a22cf1 Add animate to draw. 2012-06-21 13:31:23 +02:00
Tim Schaub
a6f464e473 New name for element.
You are provided a container.  To this container you can append elements, and you are responsible for removing elements that you add.  You cannot move or otherwise alter anything about this container.
2012-06-21 13:28:29 +02:00
Tim Schaub
5da8fc8d49 Allow map renderers access to target. 2012-06-21 12:26:51 +02:00
Tim Schaub
45f734d77e Base for map renderer. 2012-06-21 11:40:51 +02:00