Commit Graph

2902 Commits

Author SHA1 Message Date
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
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