Merge branch 'refactorvectors' of github.com:CloudMade/Leaflet into refactorvectors

This commit is contained in:
Vladimir Agafonkin 2012-10-31 14:47:41 +02:00
commit 64f6422a23

View File

@ -1,70 +1,88 @@
#### DONE - Viewport (SVG)
DONE - Viewport (SVG)
calculating viewPort
setting up/updating root
creating elements
zoom animation
* calculating viewPort
* setting up/updating root
* creating elements
* zoom animation
DONE - Viewport.VML mixin
DONE - Viewport.Canvas extends Viewport
#### DONE - Viewport.VML mixin
#### DONE - Viewport.Canvas extends Viewport
Map.Viewport mixin
managing viewports
#### Map.Viewport mixin
* managing viewports
Path
default style options
update clip on moveend
---
Polyline extends Path
project latlngs
clip and simplify polyline points
#### Path
* default style options
* update clip on moveend
Polygon extends Polyline
clip and simplify polygon points
#### Polyline extends Path
* project latlngs
* clip and simplify polyline points
Circle extends Path
project circle latlng / radius
#### Polygon extends Polyline
CircleMarker extends Path
* clip and simplify polygon points
#### Circle extends Path
Clip (SVG)
set/update svg styles
set up svg events
create/update svg path
* project circle latlng / radius
Clip.VML mixin
set/update vml styles
set up vml events
create/update vml path
#### CircleMarker extends Path
Clip.Polyline extends Clip
generate polyline path string from points
---
Clip.Polygon extends Clip
generate polyline path string from points
#### Clip (SVG)
* set/update svg styles
* set up svg events
* create/update svg path
Clip.Circle extends Clip
generate circle path string from circle/radius
#### Clip.VML mixin
* set/update vml styles
* set up vml events
* create/update vml path
Clip.Canvas
set/update fill/stroke style
draw path from points
set up click event (depends on path containsPoint)
#### Clip.Polyline extends Clip
Clip.Canvas.Polyline extends Clip.Canvas
containsPoint
* generate polyline path string from points
Clip.Canvas.Polygon extends Clip.Canvas
containsPoint
#### Clip.Polygon extends Clip
Clip.Canvas.Circle extends Clip.Canvas
containsPoint
draw arc from point/radius
* generate polyline path string from points
#### Clip.Circle extends Clip
* generate circle path string from circle/radius
---
#### Clip.Canvas
* set/update fill/stroke style
* draw path from points
* set up click event (depends on path containsPoint)
#### Clip.Canvas.Polyline extends Clip.Canvas
* containsPoint
#### Clip.Canvas.Polygon extends Clip.Canvas
* containsPoint
#### Clip.Canvas.Circle extends Clip.Canvas
* containsPoint
* draw arc from point/radius
---
```
vector
polyline
Polyline.js
@ -88,3 +106,4 @@ vector
Viewport.VML.js
Viewport.Canvas.js
Map.Viewport.js
```