Commit Graph

3632 Commits

Author SHA1 Message Date
Yohan Boniface
2408cf2bb6 _flat is now a static method 2015-05-08 13:11:58 +02:00
Yohan Boniface
8b97b905e8 Merge branch 'master' into nested-polygons 2015-05-08 13:10:49 +02:00
Vladimir Agafonkin
9024a79a6e Merge pull request #3445 from Leaflet/static-flat
Make L.Polyline._flat a static method
2015-05-08 13:10:37 +03:00
Yohan Boniface
d53d958e81 Simpler approach for static method 2015-05-08 12:01:22 +02:00
Yohan Boniface
19d6008dfc Make L.Polyline._flat a static method 2015-05-08 11:52:00 +02:00
Vladimir Agafonkin
6c0557c868 Merge pull request #3386 from Leaflet/polyline-flat
Fix L.Polyline._flat returning true for a nested empty array
2015-05-07 11:08:37 +03:00
Vladimir Agafonkin
bb68b7342f Merge pull request #3390 from Leaflet/latlng-clone
Add LatLng.clone
2015-05-07 11:07:21 +03:00
Iván Sánchez Ortega
8f3a353d84 LatLng.wrap shall not drop altitude, closes #3420 2015-04-30 16:38:48 +02:00
Vladimir Agafonkin
828ceea07f Merge pull request #3419 from IvanSanchez/browser-ffx-mobile
Detect Firefox for Android as L.Browser.mobile
2015-04-30 15:15:33 +03:00
Iván Sánchez Ortega
ea680ce21a Detect Firefox for Android as L.Browser.mobile 2015-04-30 13:20:19 +02:00
Vladimir Agafonkin
24ce6b3e8e Merge pull request #3410 from IvanSanchez/multiple-maxbounds
Prevent recursion on map.setMaxBounds
2015-04-29 13:52:25 +03:00
Iván Sánchez Ortega
286f192ca9 Prevent recursion on map.setMaxBounds 2015-04-29 11:07:45 +02:00
Vladimir Agafonkin
d26000622d Merge pull request #3405 from IvanSanchez/navigator.geolocation
Fix leaflet/Leaflet#3404
2015-04-27 16:10:14 +03:00
Iván Sánchez Ortega
71f93c44ef Fix leaflet/Leaflet#3404 2015-04-27 09:42:54 +02:00
Steve
6abcdb9751 Fix ESRI Imagery 404s 2015-04-23 13:59:38 -05:00
Vladimir Agafonkin
0b0f8caae9 Merge pull request #3397 from IvanSanchez/flyto-options
Implement options in L.Map.flyTo()
2015-04-23 10:43:10 +03:00
Iván Sánchez Ortega
c3575be344 Implement options in L.Map.flyTo() 2015-04-23 09:18:59 +02:00
Vladimir Agafonkin
578247150c Merge pull request #3392 from IvanSanchez/master
Implement L.Map.flyToBounds(), #3391
2015-04-22 14:23:17 +03:00
Iván Sánchez Ortega
4d70fe09a7 Implement L.Map.flyToBounds(), #3391 2015-04-22 01:27:25 +02:00
Yohan Boniface
8938754bd5 Merge branch 'master' into nested-polygons
Conflicts:
	spec/suites/layer/vector/PolygonSpec.js
2015-04-21 15:57:24 +02:00
Yohan Boniface
097128cfa7 Add LatLng.clone 2015-04-21 15:52:44 +02:00
Yohan Boniface
003e94ae11 Fix L.Polyline._flat returning true for a nested empty array 2015-04-18 17:41:36 +02:00
Vladimir Agafonkin
c315751b94 Merge pull request #3383 from nathancahill/master
add map.setMinZoom() and map.setMaxZoom() closes #3380
2015-04-17 11:01:17 +03:00
Nathan Cahill
91fe187ee7 add return statements to allow chaining 2015-04-17 00:49:49 -05:00
Nathan Cahill
794e64df41 add map.setMinZoom() and map.setMaxZoom() closes #3380 2015-04-16 18:39:40 -05:00
Vladimir Agafonkin
b719f931ff Merge pull request #3379 from roadtrippers/rt-fix_ms_touch
Fix broken zoom for Project Spartan browsers.
2015-04-16 19:42:54 +03:00
Mitch Oliver
e44179da12 Fix broken zoom for Project Spartan browsers.
Special thanks to the Project Spartan team for letting us know.
2015-04-16 12:09:09 -04:00
Vladimir Agafonkin
7b1ddd8c73 Merge pull request #3372 from Leaflet/polygon-getcenter
Fix Polygon.getCenter returning invalid LatLng when all points in same pixel
2015-04-12 20:37:11 +03:00
Yohan Boniface
3336bcbbe9 Fix Polygon.getCenter returning invalid LatLng when all points in same pixel 2015-04-12 18:43:04 +02:00
Vladimir Agafonkin
a9f7cb9060 Merge pull request #3371 from Leaflet/polyline-getcenter
Fix Polyline.getCenter returning undefined with very small line
2015-04-12 13:23:16 +03:00
Yohan Boniface
a82c80ecd9 Fix Polyline.getCenter returning undefined with very small line 2015-04-12 11:25:46 +02:00
Vladimir Agafonkin
57580ec7bc Merge pull request #3369 from Leaflet/gridlayer-updateopacity
Never try to run _updateOpacity if this._map is undefined
2015-04-11 18:14:36 +03:00
Yohan Boniface
7523aaafa0 Never try to run _updateOpacity if this._map is undefined 2015-04-11 15:09:33 +02:00
Vladimir Agafonkin
024e01ec3a Merge pull request #3288 from Leaflet/events-on-divicon
Also listen to events on marker icon childs elements
2015-04-10 09:09:54 +03:00
Yohan Boniface
37b87b4b21 Loop through parents when event src element is not in targets
For example, when using a DivIcon, we often add DOM elements in it,
which can then be the actual target of DOM events.
2015-04-10 07:59:59 +02:00
Vladimir Agafonkin
78d8a4d9f3 fix zoom out on azerty keyboard, close #3362 2015-04-09 21:53:12 +03:00
Vladimir Agafonkin
a995b07820 Merge pull request #3360 from stephank/feat-layer-loading
Add isLoading to GridLayer
2015-04-08 18:51:52 +03:00
Stéphan Kochen
03c888c20f Add isLoading to GridLayer 2015-04-08 10:23:50 +02:00
Vladimir Agafonkin
372f4ac128 Merge pull request #3358 from Trufi/change-translate3d-detection
Change translate3d detection
2015-04-08 01:00:54 +03:00
Mstislav Zhivodkov
b6b4c07375 add opera12 to any3d 2015-04-07 10:43:12 +06:00
Mstislav Zhivodkov
4b757fe2cd change translate3d detection 2015-04-06 18:05:11 +06:00
Vladimir Agafonkin
cac1494f64 Merge pull request #2574 from tohaocean/patch-1
Opera does not support translate3d property
2015-04-06 13:21:40 +03:00
Vladimir Agafonkin
e708e37ab7 Merge pull request #3346 from RLRR/fix-ie8-tile-freeze
Fix tile loading in IE8
2015-04-02 17:04:08 +03:00
Alex Fedosov
56733af488 fix tile freeze in ie8 2015-04-01 16:42:46 +06:00
Vladimir Agafonkin
1378bea0d1 Merge pull request #3340 from MazeMap/focus-pane-bug
Fix #3333 by catching the onScroll event on the map container
2015-03-30 17:35:27 +03:00
Iván Sánchez Ortega
558f8c3a06 Fix #3333 by catching the onScroll event on the map container 2015-03-30 16:31:18 +02:00
Vladimir Agafonkin
35971f736d Merge pull request #3336 from patrickarlt/popup-tests
Add tests for using function as popup content
2015-03-29 11:52:20 +03:00
Patrick Arlt
f3c802c97c add test for new popup functionality 2015-03-28 19:20:56 -07:00
Patrick Arlt
879b656249 resolve merge conflict 2015-03-19 07:53:58 -07:00
Vladimir Agafonkin
205575c932 Merge pull request #3303 from Trufi/panby-return
Map panBy always return map object
2015-03-18 18:52:23 +02:00