Commit Graph

2931 Commits

Author SHA1 Message Date
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
Krzysztof Urbaniak
caa9d8622b fix retina condition 2013-12-14 16:54:29 +01:00
Krzysztof Urbaniak
de1a62fa52 add {r} format to url, which returns @2x when retina detected and enabled 2013-12-14 16:40:19 +01:00
Vladimir Agafonkin
f619e3b242 bring this._map check back 2013-12-13 18:35:51 -05:00
John Firebaugh
af9302ce19 Make GridLayer methods safe to call pre-setView 2013-12-13 18:01:06 -05:00
John Firebaugh
c1654c4626 Add hasLayer tests 2013-12-13 17:51:37 -05:00
John Firebaugh
5e0d343501 Fix build 2013-12-13 17:50:32 -05:00
Vladimir Agafonkin
773fa91d1e fix old IE and stricter jshinting 2013-12-13 17:24:43 -05:00
Vladimir Agafonkin
69890a29cf fix build 2013-12-13 17:21:39 -05:00
Vladimir Agafonkin
40a67a2113 fix LayerGroup hasLayer 2013-12-13 17:00:52 -05:00
Vladimir Agafonkin
de4f0353e1 fix Map hasLayer 2013-12-13 16:47:58 -05:00
Vladimir Agafonkin
8c3010ca88 fix FeatureGroup getBounds 2013-12-13 16:38:24 -05:00
Vladimir Agafonkin
4e9b8a42e9 call addLayers after initHooks where anim is detected, fixes #2281 2013-12-11 18:13:00 -05:00
danzel
27cd306e6b Change touch detection check for ontouchstart in window like modernizr does. Fixes chrome touch emulation. Fixes #2277 2013-12-12 09:30:11 +13:00
Vladimir Agafonkin
f1d2b0d5df revert commenting out watch for terser code #2274 2013-12-10 11:17:40 +01:00
Vladimir Agafonkin
4a42dc07d7 minor code readability fix 2013-12-10 01:53:22 +01:00
Vladimir Agafonkin
4fc4cadd11 Merge pull request #2274 from yohanboniface/watch
Firefox has a Object.prototype.watch method
2013-12-09 07:29:18 -08:00
Yohan Boniface
369290d90d Firefox has a Object.prototype.watch method 2013-12-09 15:59:20 +01:00
Vladimir Agafonkin
f3b2e74a3a update changelog [skip ci] 2013-12-06 17:59:33 +02:00
Vladimir Agafonkin
eec19a441b add Control & Layer remove method 2013-12-06 16:49:50 +02:00
Vladimir Agafonkin
08b6074941 update changelog [skip ci] 2013-12-06 15:45:48 +02:00
Vladimir Agafonkin
90ab59b94a Merge pull request #2266 from Leaflet/layer
Layer refactoring
2013-12-06 05:12:00 -08:00
Vladimir Agafonkin
07f7c3c53f update changelog 2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
d53bc0e4f8 accept name in Layer getPane, make Marker panes configurable 2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
7f03570b8d move Layer-related Map code from Map.js to Layer.js 2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
d55ffb07ec cleaner and more consistent zoom animation options 2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
d70d03dbe1 more implicit falsy options to save bytes / memory; 2013-12-06 15:10:29 +02:00