Update src/layer/vector2/TODO.md
markdown formatting for vector refactoring todo
This commit is contained in:
parent
68cb13d016
commit
9e8f8e47f5
@ -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
|
||||
|
||||
Polygon extends Polyline
|
||||
clip and simplify polygon points
|
||||
* default style options
|
||||
* update clip on moveend
|
||||
|
||||
Circle extends Path
|
||||
project circle latlng / radius
|
||||
#### Polyline extends Path
|
||||
|
||||
CircleMarker extends Path
|
||||
* project latlngs
|
||||
* clip and simplify polyline points
|
||||
|
||||
#### Polygon extends Polyline
|
||||
|
||||
Clip (SVG)
|
||||
set/update svg styles
|
||||
set up svg events
|
||||
create/update svg path
|
||||
* clip and simplify polygon points
|
||||
|
||||
Clip.VML mixin
|
||||
set/update vml styles
|
||||
set up vml events
|
||||
create/update vml path
|
||||
#### Circle extends Path
|
||||
|
||||
Clip.Polyline extends Clip
|
||||
generate polyline path string from points
|
||||
* project circle latlng / radius
|
||||
|
||||
Clip.Polygon extends Clip
|
||||
generate polyline path string from points
|
||||
#### CircleMarker extends Path
|
||||
|
||||
Clip.Circle extends Clip
|
||||
generate circle path string from circle/radius
|
||||
---
|
||||
|
||||
#### Clip (SVG)
|
||||
|
||||
Clip.Canvas
|
||||
set/update fill/stroke style
|
||||
draw path from points
|
||||
set up click event (depends on path containsPoint)
|
||||
* set/update svg styles
|
||||
* set up svg events
|
||||
* create/update svg path
|
||||
|
||||
Clip.Canvas.Polyline extends Clip.Canvas
|
||||
containsPoint
|
||||
#### Clip.VML mixin
|
||||
|
||||
Clip.Canvas.Polygon extends Clip.Canvas
|
||||
containsPoint
|
||||
* set/update vml styles
|
||||
* set up vml events
|
||||
* create/update vml path
|
||||
|
||||
Clip.Canvas.Circle extends Clip.Canvas
|
||||
containsPoint
|
||||
draw arc from point/radius
|
||||
#### Clip.Polyline extends Clip
|
||||
|
||||
* generate polyline path string from points
|
||||
|
||||
#### Clip.Polygon extends Clip
|
||||
|
||||
* 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
|
||||
```
|
Loading…
Reference in New Issue
Block a user