Vladimir Agafonkin
|
c99d4b11e7
|
Merge pull request #2290 from Leaflet/vectors2
Vectors 2.0
|
2013-12-18 13:12:29 -08:00 |
|
Vladimir Agafonkin
|
9de557df9c
|
update changelog about vectors 2.0
|
2013-12-18 16:11:57 -05:00 |
|
Vladimir Agafonkin
|
9cc1b3608d
|
more comments in new vector code
|
2013-12-18 15:19:53 -05:00 |
|
Vladimir Agafonkin
|
511cbd5465
|
add more comments to Canvas, fix dragging cursors
|
2013-12-18 14:57:06 -05:00 |
|
Vladimir Agafonkin
|
5d4e77627a
|
fix PolyUtil spec (we now round poly clipping)
|
2013-12-18 14:56:23 -05:00 |
|
Vladimir Agafonkin
|
cf55d0edb9
|
clean up Renderer/SVG code and add comments
|
2013-12-18 14:36:58 -05:00 |
|
Vladimir Agafonkin
|
b329c4a9fd
|
only round clip edges, other path points already rounded
|
2013-12-18 14:35:51 -05:00 |
|
Vladimir Agafonkin
|
4d8990f7a8
|
dry up the renderer code a bit
|
2013-12-18 13:45:05 -05:00 |
|
Vladimir Agafonkin
|
95e394f0d8
|
fix mouse handling regression in Path
|
2013-12-18 13:20:01 -05:00 |
|
Vladimir Agafonkin
|
f2af995a10
|
tweak default vectors color
|
2013-12-18 12:03:24 -05:00 |
|
Vladimir Agafonkin
|
988dc3a27a
|
redraw partially when updating canvas layers (massive speedup)
|
2013-12-18 12:03:24 -05:00 |
|
Vladimir Agafonkin
|
e5d1ff6db2
|
fix dragging on canvas layer
|
2013-12-18 12:03:24 -05:00 |
|
Vladimir Agafonkin
|
811006adc5
|
cache circle bounds
|
2013-12-18 12:03:24 -05:00 |
|
Vladimir Agafonkin
|
eca9fe966e
|
fix retina canvas redraw bug
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
65ae546fa0
|
make canvas be underneath svg by default
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
7bffd4924b
|
do stroke hit detection after polygon
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
f930588bca
|
simpler Circle._containsPoint, remove accidental debug
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
f4f8c06c75
|
fix adding/removal of vectors and renderers
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
f750b76e04
|
fix addLatLng not affecting bounds
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
2e9141fa98
|
better style defaults for vector features
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
518b82b755
|
fix GeoJSON resetStyle in case no style was specified
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
508a75f7a8
|
make Circle inherit from CircleMarker and not the other way
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
fe5cd4b127
|
tweaks to renderer instancing
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
fdae94ce34
|
fix test with empty polyline
|
2013-12-18 12:03:23 -05:00 |
|
Vladimir Agafonkin
|
46c279c88f
|
various IE vectors fixes
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
4e33ce3e0a
|
cache getBounds and optimize Canvas events
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
f045742a28
|
add Polyline and Polygon getCenter, openPopup in centroid
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
674d9ae4d3
|
Retina support and better default renderer handling
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
e35095fcf9
|
fix CircleMarker setStyle
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
05054a1088
|
fix Popup regression
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
33e23a69e7
|
fix specs for polygon holes
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
dc5151b81a
|
fix GeoJSON roundtripping
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
87bf1ff144
|
fix GeoJSON deps
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
04addb791e
|
fix choosing default renderer
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
d0eedd3f52
|
rename vectors2 folder into vectors, update deps
|
2013-12-18 12:03:22 -05:00 |
|
Vladimir Agafonkin
|
2ac898654a
|
minor clean up
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
21510e6100
|
add CircleMarker
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
1e04f5feba
|
add Circle implementation
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
fd98197556
|
require ctx in DomEvent off if on had it (breaking!!!)
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
6f9d05fc40
|
implement Canvas events and SVG click-through
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
41a576b930
|
minor clean up
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
ddb9a376be
|
flatten poly latlngs into rings, proper clipping
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
6543fe50bc
|
fix jshint errors
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
6aa605f606
|
clean up lineJoin/lineCap
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
08028b7a7a
|
add VML implementation (not tested yet)
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
5d8e7279b2
|
remove vector stuff that's already ported
|
2013-12-18 12:03:21 -05:00 |
|
Vladimir Agafonkin
|
b2eee96d5c
|
remove MultiPoly classes (unnecessary)
|
2013-12-18 12:03:20 -05:00 |
|
Vladimir Agafonkin
|
48a3c34702
|
add Path Popup implementation
|
2013-12-18 12:03:20 -05:00 |
|
Vladimir Agafonkin
|
919b862c15
|
add MultiPolyline and MultiPolygon implementations
|
2013-12-18 12:03:20 -05:00 |
|
Vladimir Agafonkin
|
b19fd8d1cd
|
proper Canvas redraw & setStyle
|
2013-12-18 12:03:20 -05:00 |
|