Commit Graph

4097 Commits

Author SHA1 Message Date
Vladimir Agafonkin
983fce0fee Merge pull request #3455 from Leaflet/polyline-isempty
Add Polyline/Polygon.isEmpty method
2015-05-10 00:21:10 +03:00
Yohan Boniface
298a27fbe4 Add Polyline/Polygon.isEmpty method 2015-05-09 23:03:22 +02:00
Vladimir Agafonkin
9d77c84604 Merge pull request #3454 from Leaflet/fix-empty-addto
Fix polygon.addTo(map) failing when latlngs was empty.
2015-05-09 23:45:57 +03:00
Yohan Boniface
426f331874 Fix polygon.addTo(map) failing when latlngs was empty.
Since #3279 an empty polygon as a nested array [[]] as latlngs,
so _latlngs.length returns true.
2015-05-09 22:04:46 +02:00
Yohan Boniface
b3ff3a0e52 More targeted max-width: !important in CSS
This for example allows to have images in popups not affected
by the max-width.
2015-05-09 08:54:44 +02:00
Vladimir Agafonkin
b170695fe5 bump version to clear up confusion 2015-05-08 17:55:19 +03:00
Vladimir Agafonkin
64b9d05e4c update deps 2015-05-08 17:54:34 +03:00
Iván Sánchez Ortega
29e8507851 Test webpage for #3233 2015-05-08 16:32:57 +02:00
Iván Sánchez Ortega
b849568ca0 Merge pull request #3233 from juliensoret/grabbingCursor
Fix cursor when dragging is set to false.
2015-05-08 16:32:24 +02:00
Vladimir Agafonkin
7603010f8b Merge pull request #3279 from Leaflet/nested-polygons
Ensure polygons latlngs are never flat (cf #2618)
2015-05-08 16:01:56 +03:00
Yohan Boniface
6aca7ef3c2 Add back L.Polyline.addLatLng 2015-05-08 14:53:21 +02:00
Vladimir Agafonkin
56f9ecac83 Merge pull request #3446 from ilfa/fix-vector-ie8
Fix vector in ie8
2015-05-08 15:10:21 +03:00
i.taratuhin
57d7dff81f fix vector in ie8 2015-05-08 18:03:24 +06:00
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