Commit Graph

2887 Commits

Author SHA1 Message Date
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
Vladimir Agafonkin
6b9731283d add and use DomUtil.remove 2013-12-05 14:35:39 +02:00
Vladimir Agafonkin
cf3e63adad update deps 2013-12-05 13:21:16 +02:00
Vladimir Agafonkin
efba6b4d1c clean up Icon code 2013-12-04 18:42:13 +02:00
Vladimir Agafonkin
5b77ec33de optimize fire event in V8 when there are no context listeners 2013-12-04 18:01:52 +02:00
Vladimir Agafonkin
57a0866bcf set empty options object if no options given, fixes build 2013-12-04 18:00:37 +02:00
Vladimir Agafonkin
3a0b1bf1d5 don't overwrite default options if not specified (faster construction) 2013-12-04 17:38:55 +02:00
Vladimir Agafonkin
5bc104237e clean up Popup, add popup fade out animation 2013-12-04 16:43:24 +02:00
Vladimir Agafonkin
ee334476f7 clean up Control.Zoom 2013-12-04 14:51:18 +02:00
Vladimir Agafonkin
a00360bef6 clean up Control.Scale 2013-12-04 14:45:40 +02:00
Vladimir Agafonkin
14afb4fa8f clean up Control.Layers 2013-12-04 14:18:00 +02:00
Vladimir Agafonkin
81aa8e7298 update changelog [skip ci] 2013-12-04 13:25:44 +02:00
Vladimir Agafonkin
b151ceb63f remove LatLng constants, add move maxMargin to equals arguments 2013-12-03 19:09:36 +02:00
Vladimir Agafonkin
3d7520ff27 clean up Browser.js, simplify old FF touch detection 2013-12-03 18:47:43 +02:00
Vladimir Agafonkin
f2da891ff2 clean up DomEvent.DoubleTap 2013-12-03 17:05:51 +02:00
Vladimir Agafonkin
fa69db1082 clean up DomEvent, remove now irrelevant legacy IE magic 2013-12-03 16:57:24 +02:00
Vladimir Agafonkin
ea0650b399 cleanup DomUtil code 2013-12-03 16:14:12 +02:00
Vladimir Agafonkin
abd82daa27 update changelog [skip ci] 2013-12-03 14:40:33 +02:00
Vladimir Agafonkin
bc686476fd Merge pull request #2259 from danzel/fix2256
Don't fire dragend if a dragstart did not occur due to a multitouch action
2013-12-03 04:31:03 -08:00
Vladimir Agafonkin
8b97ecd716 update changelog once more [skip ci] 2013-12-02 20:41:02 +02:00
Vladimir Agafonkin
93b01f1c02 update changelog [skip ci] 2013-12-02 20:36:54 +02:00
Vladimir Agafonkin
9cb36d0a62 document refactoring in changelog, bump version 2013-12-02 20:05:31 +02:00
Vladimir Agafonkin
04c95e1af9 basic GridLayer spec, move TileLayer spec 2013-12-02 19:18:08 +02:00
Vladimir Agafonkin
dd313e6930 better CRS test coverage 2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
28b26498c6 fix coverage reporting 2013-12-02 19:18:07 +02:00