Commit Graph

3057 Commits

Author SHA1 Message Date
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
Vladimir Agafonkin
7976b1f284 add basic Canvas implementation 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
3c5cf0fd2b fix stroke appearing on polygon clip edges 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
1bd0ee2dd5 SVG.js minor cleanup 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
274e1559b7 fix "error parsing z" error in SVG 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
cea35a35e5 add SVG mouse events support 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
f3b376f599 add Path setStyle 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
d3426d557b fix Polygon getBounds and factory 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
d983464ab5 SVG bringToFront and bringToBack 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
7cd67edf71 copy Rectangle implementation 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
33f4e72cc4 add working Polygon implementation 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
eade171b7e fix renderers not updating bounds before path updates 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
3c8dd353a8 manage renderer automatically 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
076255f33f initial working Path/Polyline implementation 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
568fd154e2 initial Renderer/SVG implementations 2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
98c617847e update changelog [skip ci] 2013-12-18 11:53:05 -05:00
Vladimir Agafonkin
7b9bedb497 Merge pull request #2311 from Leaflet/propagate
Fast universal event propagation
2013-12-18 08:30:45 -08:00
Vladimir Agafonkin
0876b51bc9 remove DomUtil.getViewportOffset as unnecessary 2013-12-18 00:51:01 -05:00
Vladimir Agafonkin
f631513acc fast event propagation (10x FeatureGroup layer add speedup) 2013-12-17 17:08:21 -05:00
Vladimir Agafonkin
1cc9ecdded clean up Class.js 2013-12-17 15:53:52 -05:00
Vladimir Agafonkin
4e2c097c5f Merge pull request #2310 from Leaflet/evented
Evented base class to use in favor of mixing in event methods
2013-12-17 12:52:50 -08:00
Vladimir Agafonkin
d662e005bb no parseFloat in LatLng, faster factory (massive speedup)
see http://jsperf.com/leaflet-parsefloat-in-latlng
2013-12-17 15:38:49 -05:00
Vladimir Agafonkin
3469eb933d Merge pull request #2296 from urbaniak/retina-tile-url
add {r} format to url, which returns @2x when retina detected and enabled
2013-12-17 11:41:33 -08:00
Vladimir Agafonkin
21cfd7f3d9 replace Events mixin with Evented inheritance 2013-12-17 14:07:21 -05:00
Vladimir Agafonkin
4a142af76d make Evented longer names aliases instead of on/off 2013-12-17 14:06:54 -05:00
Vladimir Agafonkin
b22715a9e5 replace L.Mixin.Events with L.Evented class (bw-compat) 2013-12-17 13:55:39 -05:00
Vladimir Agafonkin
d0e72934d7 make instantiation faster by avoiding callInitHooks where not needed 2013-12-17 13:27:10 -05:00
Vladimir Agafonkin
4b7be05079 Merge pull request #2306 from Lekensteyn/fix-jake
Do not ignore custom build parameters
2013-12-17 09:46:24 -08:00
Peter Wu
380c0843f2 Do not ignore custom build parameters
Regression from 941b206714 ("improve size
reporting when building and add gzipped size").
2013-12-17 11:31:02 +01:00
Vladimir Agafonkin
18d0cf4dc1 made the logo pretty-printed for consistency 2013-12-16 19:09:22 -05:00
Vladimir Agafonkin
447b0aa35c Merge pull request #2304 from jacobtoye/master
Adding Leaflet logo in svg format
2013-12-16 16:08:31 -08:00
jacobtoye
f0be7dcf0f Run logo svg through svgo 2013-12-17 13:04:01 +13:00
Vladimir Agafonkin
a78dc748ba Merge pull request #2300 from Leaflet/prototypal-options
Make options object prototype-inherited
2013-12-16 15:37:34 -08:00
Vladimir Agafonkin
e44b8d944e use lighter extend in setOptions, simplify extend 2013-12-16 18:37:06 -05:00
jacobtoye
b675bbeecf Adding Leaflet logo in svg format 2013-12-17 12:04:53 +13:00
John Firebaugh
f2b34cd012 Use L.Util.create for class extension 2013-12-15 14:35:02 -08:00
John Firebaugh
ad9d0f8c7f Make options object prototype-inherited
Fixes #2294
2013-12-15 13:30:30 -08:00