Commit Graph

1752 Commits

Author SHA1 Message Date
Vladimir Agafonkin
30e1e7eb55 fix build after #2167 fix 2013-11-07 21:46:50 +02:00
Vladimir Agafonkin
44d98afb6a make Popup.setLatLng faster, fix #2167 2013-11-07 19:55:22 +02:00
John Firebaugh
dd063b26a1 Prefer selectstart to user-select
Rather than both setting user-select to none and suppressing the selectstart
event, we now prefer to suppress the selectstart event if supported. This avoids
redundantly setting the user-select style, which can be slow. Fixes #2163.
2013-11-06 16:04:27 -08:00
Vladimir Agafonkin
04776b7ad8 fix tile filtering after #2160 2013-11-07 00:07:21 +02:00
Vladimir Agafonkin
e2977a1244 Merge pull request #2160 from perliedman/crs-size
Remove hardcoded world size from L.TileLayer
2013-11-06 14:03:30 -08:00
perliedman
37d303defb Fixed whitespace 2013-11-06 23:00:21 +01:00
Vladimir Agafonkin
2464d13414 fix FeatureGroup e.layer empty in old IE, close #1938 2013-11-06 23:35:42 +02:00
Vladimir Agafonkin
b1c5aa2e29 fix problems with #1822 merge 2013-11-06 23:34:23 +02:00
Vladimir Agafonkin
5d6641360b merge GeoJSON altitude pull with some tweaks #1822 2013-11-06 23:17:14 +02:00
perliedman
63e84693ae Fixed smart tabs 2013-11-06 21:55:33 +01:00
perliedman
8ae0e2700c Generalized 2013-11-06 21:46:17 +01:00
perliedman
2a407b19ac Merge branch 'master' of https://github.com/Leaflet/Leaflet into tilelayer-crs-controlled-wrap 2013-11-06 21:23:39 +01:00
Vladimir Agafonkin
ddbb01c3da add distance to dragend event data, close #2158, ref #872 2013-11-06 21:17:35 +02:00
danzel
b7a6f2aebe Comment why this hack exists and improve it with @mourner code :) 2013-11-05 10:34:35 +13:00
Vladimir Agafonkin
77bd10c69d Merge pull request #2149 from danzel/ios7-2122
Work around iOS7 memory trouble
2013-11-04 13:33:54 -08:00
danzel
fa35aba1e9 Improve this test and fix removeEventListener. 2013-11-05 10:29:52 +13:00
danzel
579c044c00 Fix a potential event bug due to bad cleanup. 2013-11-05 10:21:32 +13:00
danzel
65f3b2417a We set the context value to context || this in addEventListener, so we don't need to do so here. 2013-11-05 10:15:21 +13:00
Vladimir Agafonkin
6c85f43fb2 fix CircleMarker getRadius, close #2016, close #2017 2013-11-04 18:56:49 +02:00
Vladimir Agafonkin
bd3409f2f8 reverse axis order for wms 1.3 & EPSG4326, close #1897 2013-11-04 18:24:33 +02:00
Vladimir Agafonkin
5b40fade90 remove excessive updateContent on Popup add, close #2137 2013-11-04 13:27:48 +02:00
Vladimir Agafonkin
399e304bb2 minor cleanup 2013-11-04 13:15:15 +02:00
jacobtoye
254e6fe6b9 Refocus on the map when an input is clicked on the layers dialog. fixes #2148 2013-11-04 10:46:51 +13:00
jacobtoye
f133d9a1bd Refocus on the map after a +/- button is clicked. 2013-11-04 10:39:04 +13:00
jacobtoye
112f4d6e02 Add method to controls to refocus on the map container. 2013-11-04 10:38:25 +13:00
danzel
9fce697982 Work around iOS7 memory trouble by not applying the contextId performance optimization when context==this. The optimization does nothing in this case anyway. Fixes #2122 2013-11-04 09:47:55 +13:00
Vladimir Agafonkin
90ce2ab951 Merge pull request #2136 from danzel/rtl
Correct rtl again
2013-11-03 08:23:03 -08:00
Tom MacWright
427c9f1ed4 Fix build error, reference layer correctly. 2013-10-31 19:10:30 -04:00
Tom MacWright
ef44fbe17a Add tileloadstart event with tile data 2013-10-31 18:53:24 -04:00
Vladimir Agafonkin
cc2b03f1e7 Merge pull request #2121 from jieter/util-template
Allow double quotes in template strings
2013-10-30 04:20:06 -07:00
danzel
80c48c5da7 Re-add ltr/rtl detection and make getMousePosition work correctly with rtl again when scrolled. 2013-10-30 14:32:18 +13:00
danzel
0c7e7eb373 Delete ltr/rtl code as its not needed any more, wtf? 2013-10-30 10:25:28 +13:00
danzel
7b101da036 Hack fix for firefox android layers control. refs #2033 2013-10-30 09:04:20 +13:00
Vladimir Agafonkin
1aba51be01 Merge pull request #2072 from trevorpowell/master
Don't bounce near zoom limits on touch zoom
2013-10-24 12:12:57 -07:00
Trevor Powell
0574301113 Fixing long line 2013-10-24 13:34:17 -05:00
Trevor Powell
3b79dd816b Adding bounceAtZoomLimits option 2013-10-24 13:26:52 -05:00
Jan Pieter Waagmeester
a7f2d1975f Allow double quotes in template strings fixes #2120 2013-10-23 15:14:59 +02:00
Vladimir Agafonkin
b0df9627b0 Merge pull request #2117 from danzel/fix-2094
Fix click events when touch zooming on ie 10
2013-10-23 04:36:51 -07:00
danzel
6855e7dfd8 The drag click avoid hack is needed for touch zooms on ie10 also, when releasing your fingers after a touch zoom click events are generated. Fixes #2094 2013-10-23 16:28:56 +13:00
Vladimir Agafonkin
929ea1fe71 Merge pull request #2112 from jimmytidey/master
adding alt tag to marker icons
2013-10-21 10:23:08 -07:00
danzel
91cc18503c Remove leftover code from the draggable/tap cleanup. Fixes #2103 2013-10-21 11:38:19 +13:00
Vladimir Agafonkin
f73becca22 fix broken IE detection in IE11 #2102 2013-10-18 20:15:14 +03:00
Vladimir Agafonkin
a8baeec367 add timestamp to geolocation data, #584 2013-10-18 18:47:04 +03:00
Vladimir Agafonkin
83fb3cc9dd add Popup getContent, close #2100 2013-10-18 14:02:42 +03:00
Vladimir Agafonkin
c9d0abb02b cleanup whitespace in #1197, remove unnecessary if 2013-10-18 14:01:43 +03:00
Vladimir Agafonkin
676a76d4d5 Merge pull request #1197 from scottharvey/master
Adds the ability to get a popup once it's bound to a marker, this commit fixes issue #618
2013-10-18 04:00:38 -07:00
Vladimir Agafonkin
9d28dbb360 hopefully fix IE11/Win8.1 touch interaction, close #2102 (thanks @fnicollet)
#2103 may be related too
2013-10-18 12:55:50 +03:00
Vladimir Agafonkin
c3734e5a91 add maxZoom to Map fitBounds options, close #2101 2013-10-17 00:17:31 +03:00
Jimmy Tidey
5af47dddc2 adding alt tag to marker icons 2013-10-16 14:52:05 +01:00
AndreyGeonya
31114669be popup getLatLng method added 2013-10-14 17:09:04 +03:00
Jérémy Lal
2974cacff4 panInsideBounds: fit or center, pass options, remove boundsMinZoom
Deltas are calculated on x, y pixel coordinates separately.
Options are propagated from setMaxBounds to panBy.
No panBy loops. Fixes #1908.
2013-10-14 14:40:45 +02:00
Vladimir Agafonkin
1a3b150a2d fix layers control not scrolling in FF, close #2029
and also add DomEvent disableScrollPropagation method
2013-10-14 13:29:23 +03:00
Alexander Parshin
f5de36e229 Add holes support to L.Polygon.setLatLngs(). Fixes #1518 2013-10-13 20:17:12 +04:00
Vladimir Agafonkin
2629c181d0 fix firefox console warnings when animating markers, close #2090 2013-10-11 18:44:18 +03:00
Vladimir Agafonkin
d68a80971b Merge pull request #2066 from danzel/fix-2037-ie11touch
Support Pointer events as well as MsPointer Events
2013-10-10 12:36:56 -07:00
Vladimir Agafonkin
64b0e340c0 only animate tile layer if at least one tile loaded, fix #2071 2013-10-10 18:44:08 +03:00
danzel
a9627d63af Fix lines too long issues 2013-10-10 15:27:23 +13:00
Vladimir Agafonkin
8a53afc34e fix zoom control not always reflecting disabled state initially, close #2083 2013-10-09 22:21:04 +03:00
Vladimir Agafonkin
361c9cab6d fix isArray not working IE9 in rare cases, close #2077 2013-10-08 16:59:42 +03:00
Vladimir Agafonkin
9b0510e55f Merge pull request #2075 from kapouer/geojson-options
GeoJSON: pass options to geometryToLayer
2013-10-07 04:58:22 -07:00
Jérémy Lal
0fdb00be9e GeoJSON: pass options to geometryToLayer
smoothFactor, noClip options cannot be changed otherwise.
In particular, smoothFactor: 0 is needed when one need to
render tiled polygons (or else small cuts appears).
2013-10-07 10:16:31 +02:00
Trevor Powell
7a907ba2cf Fixing line too long error 2013-10-06 01:39:01 -05:00
Trevor Powell
7541d64a71 Do not scale above minzoom and maxzoom in touch zoom action 2013-10-06 01:20:45 -05:00
danzel
6e3e0d9b14 Rename MsTouch to Pointer 2013-10-04 15:07:30 +13:00
danzel
bf3b660bef Redo MsTouch to be pointer events with msPointer fallback for IE10. fixes #2037 2013-10-04 15:06:53 +13:00
Vladimir Agafonkin
2250cee6ec allow setZoom before setView, make setView zoom optional, close #2056, close #1449 2013-09-30 15:00:46 +03:00
perliedman
3bcc1c9a3a Use CRS's bounds to calculate wrap 2013-09-23 09:59:10 +02:00
perliedman
b782498650 Added getBounds function to CRS 2013-09-23 09:58:42 +02:00
Tom MacWright
befc5eb992 Add support for layers lacking Events mixin. Fixes #1962 2013-09-17 17:36:05 -04:00
Vladimir Agafonkin
6c77fe64c2 fix IE6-8 throwing error on map.remove(), close #2015 2013-09-13 18:14:05 +03:00
Vladimir Agafonkin
4b34362405 add public Popup update method, close #1959 2013-09-13 18:00:54 +03:00
Seb Emonet
16f9c9a302 Accept simple objects in L.latLngBounds(). Fixes #1915. 2013-09-13 00:22:19 +02:00
Alexander Parshin
d10cff3357 Fixing wrong EPGS3395 transformation 2013-09-10 10:47:52 +04:00
Vladimir Agafonkin
96575af5b5 Merge pull request #1953 from Danielku15/patch-1
Localization Support for Zoom Control
2013-09-09 01:50:27 -07:00
Daniel
037048a6d0 Renamed Tooltip to Title 2013-09-02 02:34:41 +02:00
Vladimir Agafonkin
3d5dbe7dfc fix accidentally commented out fix, #1980 2013-08-29 00:51:00 +03:00
danzel
dbced20543 MsTouch needs preventDefault. Fixes #2000 2013-08-29 09:22:36 +12:00
Vladimir Agafonkin
62b23b42e0 fix resize tracking on multiple maps, close #1980 2013-08-28 17:56:43 +03:00
Vladimir Agafonkin
5e30c51f85 add GeoJSON rountripping of GeometryCollection and MultiPoint, close #1956 2013-08-28 12:43:04 +03:00
Vladimir Agafonkin
40ef71dc4c minor cleanup 2013-08-27 22:06:13 +03:00
Vladimir Agafonkin
d0f768ba36 clean up template interpolation code #1969 2013-08-27 21:45:13 +03:00
Vladimir Agafonkin
1581a94fc3 Merge branch 'interpolation' of https://github.com/calvinmetcalf/Leaflet
* 'interpolation' of https://github.com/calvinmetcalf/Leaflet:
  '#1968 compiled interpolation'
2013-08-27 21:28:38 +03:00
Calvin Metcalf
b2b25c8941 '#1968 compiled interpolation' 2013-08-27 13:03:07 -04:00
Vladimir Agafonkin
b0699b1fe3 Merge pull request #1972 from albburtsev/issue-1588
Adds Popup autoPanPadding(TopLeft & BottomRight) options. Fixes #1588
2013-08-27 06:14:31 -07:00
Dag Jomar Mersland
5180cce838 check for undefined el.tagName prevents iPad error 2013-08-21 13:30:10 +02:00
Vladimir Agafonkin
14d934b639 Merge pull request #1963 from fastrde/fixSecondClickPopupIssue
Fix second click popup issue (#1925)
2013-08-20 10:04:33 -07:00
Fabian Strachanski
caece94467 added _skipped(e) to stopPropagation to reset _fakeStop 2013-08-20 17:21:13 +02:00
Dag Jomar Mersland
d78fb49943 Fix for iPad, where el.tagName was undefined when clicking on labels. 2013-08-19 10:14:36 +02:00
Vladimir Agafonkin
1f6533d0f5 Merge pull request #1982 from fastrde/FixworldCopyJump
Fix worldCopyJump set Center and Zoom first
2013-08-18 01:21:31 -07:00
fastrde
b4ed2bf282 map.once doesn't get called when the map is already initailized and drag.enabled is called. 2013-08-17 12:13:47 +02:00
fastrde
3370942b36 call _onViewReset() not until map is loaded (center and zoom are set) 2013-08-17 02:08:24 +02:00
fastrde
5eacbbf105 Added Keycode 171 to support Firefox 22 2013-08-17 00:38:51 +02:00
Yohan Boniface
c7eac791b2 Use this._popupHandlersAdded to manage Marker popup event
Just like it's done in Path. This allows to cut event management on bindPopup
2013-08-15 00:16:58 +02:00
Alexander Burtsev
157500818e Adds Popup autoPanPadding(TopLeft & BottomRight) options. Fixes #1588 2013-08-14 17:57:48 +04:00
Vladimir Agafonkin
4609d482f2 some tweaks to #1951 2013-08-09 14:00:44 +03:00
Vladimir Agafonkin
30f33766dd Merge branch 'zoomboxOnClickFix' of https://github.com/fastrde/Leaflet
* 'zoomboxOnClickFix' of https://github.com/fastrde/Leaflet:
  Fix for zoomBox fires map click Event (Issue #1884)
2013-08-09 13:21:26 +03:00
Stefan Sydow
1b584afc49 remove tailing spaces for jake build 2013-08-09 09:28:08 +02:00
Stefan Sydow
10c1af4f41 more consistent method name for ImageOverlay update 2013-08-09 09:25:04 +02:00
Stefan Sydow
e5a129a59f add attribution and update function 2013-08-09 09:24:52 +02:00
Daniel
9630876ce3 Again some whitespace removing. (Travis) 2013-08-08 17:29:09 +02:00