Commit Graph

2961 Commits

Author SHA1 Message Date
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
Vladimir Agafonkin
6e0e006209 add Layer getEvents and manage listeners on map automatically 2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
64320fe3fa remove Popup open/close (there are add/remove now) 2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
edca4a6075 groups cleanup; fix getBounds when containing CircleMarkers 2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
eeaec502ac optimize layer add/remove with layers control present 2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
57bfbc45e6 simpler Map getMinZoom 2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
789c356017 fire add/remove events and manage _map in Layer 2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
36b8c7cf4d move zoom restricting logic to GridLayer 2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
4011a6199f move add/removeLayer logic to Layer; ditch tilelayersload event 2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
a30a872a78 initial Layer commit (base class for all layers) 2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
1974ae7003 Merge pull request #2269 from danzel/fix-2255-hurray
A transitionEnd event only finishes a zoom animation if it is for a transform
2013-12-06 02:14:50 -08:00
danzel
46a379adb7 A transitionEnd event only finished a zoom animation if it is for a transform. Fixes #2255 2013-12-06 14:54:48 +13:00
danzel
c287eccef3 Don't crash when double tap zooming on pointer if a property is null. 2013-12-06 14:36:56 +13:00
Dave Leaver
3924b49708 Merge pull request #2261 from Leaflet/pointer-cleanup
Significantly clean up DomEvent.Pointer code
2013-12-05 12:43:04 -08:00
Vladimir Agafonkin
db8f888c17 significantly clean up DomEvent.Pointer code 2013-12-05 16:45:54 +02:00
Vladimir Agafonkin
a0ad7b6c0e clean up Poly code 2013-12-05 16:44:50 +02:00
Vladimir Agafonkin
674b7cbc3f clean up Path classes 2013-12-05 16:01:25 +02:00
Vladimir Agafonkin
42b39bf247 clean up GeoJSON.js
also changes geometryToLayer & coordsToLatLngs signatures
2013-12-05 15:14:52 +02:00
Vladimir Agafonkin
b0d6bcb0aa clean up ImageOverlay 2013-12-05 14:57:18 +02:00
Vladimir Agafonkin
b8b6e3e852 clean up Marker.Drag.js 2013-12-05 14:43:41 +02:00
Vladimir Agafonkin
3b0e6d79b0 clean up Marker.js 2013-12-05 14:39:51 +02:00