Yohan Boniface
|
298a27fbe4
|
Add Polyline/Polygon.isEmpty method
|
2015-05-09 23:03:22 +02: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 |
|
Vladimir Agafonkin
|
b170695fe5
|
bump version to clear up confusion
|
2015-05-08 17:55:19 +03: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 |
|
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 |
|
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 |
|
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 |
|
Iván Sánchez Ortega
|
71f93c44ef
|
Fix leaflet/Leaflet#3404
|
2015-04-27 09:42:54 +02:00 |
|
Iván Sánchez Ortega
|
c3575be344
|
Implement options in L.Map.flyTo()
|
2015-04-23 09:18:59 +02: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 |
|
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 |
|
Yohan Boniface
|
3336bcbbe9
|
Fix Polygon.getCenter returning invalid LatLng when all points in same pixel
|
2015-04-12 18:43:04 +02:00 |
|
Yohan Boniface
|
a82c80ecd9
|
Fix Polyline.getCenter returning undefined with very small line
|
2015-04-12 11:25:46 +02:00 |
|
Yohan Boniface
|
7523aaafa0
|
Never try to run _updateOpacity if this._map is undefined
|
2015-04-11 15:09:33 +02: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 |
|
Stéphan Kochen
|
03c888c20f
|
Add isLoading to GridLayer
|
2015-04-08 10:23:50 +02: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 |
|
Alex Fedosov
|
56733af488
|
fix tile freeze in ie8
|
2015-04-01 16:42:46 +06: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
|
205575c932
|
Merge pull request #3303 from Trufi/panby-return
Map panBy always return map object
|
2015-03-18 18:52:23 +02:00 |
|
Vladimir Agafonkin
|
21a748123f
|
Revert "e.button === 0 is the left mouse button."
This reverts commit 0d1716d796 .
|
2015-03-18 13:09:04 +02:00 |
|
Patrick Arlt
|
6917733750
|
restore toggling marker popups, pass ESLint
|
2015-03-14 12:13:44 -07:00 |
|
Patrick Arlt
|
6ed939422c
|
Merge branch 'group-popup' of github.com:Leaflet/Leaflet into popup-debugging
|
2015-03-14 10:23:50 -07:00 |
|
Patrick Arlt
|
52be81b18b
|
Merge branch 'master' of github.com:Leaflet/Leaflet into popup-debugging
|
2015-03-14 10:22:25 -07:00 |
|
Mstislav Zhivodkov
|
b93d42880e
|
map panBy always return map
|
2015-03-12 12:10:53 +06:00 |
|
Vladimir Agafonkin
|
7db3473727
|
fix typo, thanks @uniphil
|
2015-03-10 20:38:13 -07:00 |
|
Vladimir Agafonkin
|
a92c8a3c21
|
Merge pull request #3287 from Szunti/mousebutton
e.button === 0 is the left mouse button.
|
2015-03-08 00:15:12 +02:00 |
|
Yohan Boniface
|
250f03339b
|
Fix popupAnchor not taken into account when passing L.Popup to bindPopup
|
2015-03-07 19:00:27 +01:00 |
|
Szunti
|
0d1716d796
|
e.button === 0 is the left mouse button.
|
2015-03-06 20:25:04 +01:00 |
|
Yohan Boniface
|
0d0269ac15
|
Remove Polyline.addLatLng and Polyline.spliceLatLngs
Those method are not consistent (or too complexe) among
the supported Polygon/Polyline (cf #3279)
|
2015-03-06 09:05:50 +01:00 |
|
Vladimir Agafonkin
|
bba39b3eba
|
Merge pull request #3275 from Jakobud/bug/keyboard-event-prevent-map-refocus
Prevent map refocus if control click event is from the keyboard
|
2015-03-05 18:48:15 +02:00 |
|
Jake Wilson
|
aae1df5d49
|
Fixed typo in comment
|
2015-03-04 19:00:52 -07:00 |
|
Jake Wilson
|
39425924ac
|
Added truthy check to the event.
|
2015-03-04 18:58:51 -07:00 |
|