Commit Graph

2099 Commits

Author SHA1 Message Date
Vladimir Agafonkin
de4910f407 use offset when animating transform to avoid dividing by zero 2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
c1b2c5c37c round grid layer scaling transform 2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
e41d65fe66 fractional zoom code clean up an fixes 2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
5d58aa4f3f initial fractional zoom implementation for grid layers 2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
2be2cca49a basic linear zoomPanTo without intermediary tile loading 2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
fc05abd336 Merge pull request #2834 from bullgare/path_svg_fill_rule
svg's attribute 'fill-rule' now can be set via options into either 'evenodd' or 'nonzero'
2014-10-20 13:18:30 +03:00
bullgare
809844b539 svg's attribute fill-rule supports two values: 'evenodd' and 'nonzero'. now for canvas, too. 2014-10-20 10:24:11 +04:00
nikgavalas
ce0e92cf6e Fix IE pointer events passing through to the map
Pointer events in IE would trigger on the map even when not started on the map. For example, if you had a dialog box on top of the map and dragged inside the map, the map would move. I believe this is because the handler never gets added to the obj[eventsKey] map. I noticed in the corresponding _off function below that the logic reaches there because of the multiple if/else statements. So I modified the _on even to match and it seems to fix the problem.
2014-10-17 11:35:54 -06:00
Patrick Arlt
8cc2d4b42d add newline 2014-10-14 15:15:06 -07:00
Patrick Arlt
f2490d3d4a expose a global if window is present 2014-10-13 11:18:45 -07:00
bullgare
b43da41575 it fixes marker's setIcon method, that flushes popup's options, which leads to breaking popup's custom offset 2014-08-26 15:35:58 +04:00
Vladimir Agafonkin
8a33e94c0e Fix scale control widths, close #2869 2014-08-25 16:38:46 +03:00
AndreyGeonya
18938b0319 #2865, fixed bug with geometry/staticMarker click event after map dragging 2014-08-23 01:00:42 +03:00
AndreyGeonya
31a09930b4 #1871, zoom limited 2014-08-11 17:53:59 +03:00
AndreyGeonya
f7ac72d073 issue #1871 fixed, set this._zoom on map init whenever options.zoom is provided 2014-08-11 15:14:37 +03:00
b_b
1bdd7cf41a Add getBounds() method to ImageOverlay
Bugfix : ImageOverlay can be added to FeatueGroup, but calling getBounds on FeatureGroup throw an error cause ImageOverlay misses this method.
2014-08-10 18:44:14 +02:00
Vladimir Agafonkin
6e4c4cef82 Merge pull request #2838 from AndreyGeonya/master
Clickable option renamed to interactive
2014-08-06 17:27:38 +03:00
AndreyGeonya
9445c2f9f2 this commit fixes #2499 2014-08-05 18:14:02 +03:00
Vladimir Agafonkin
a3066bde24 Merge pull request #2836 from AndreyGeonya/master
#2501, optional wheel debounce time
2014-08-05 17:40:10 +03:00
AndreyGeonya
a321406cf8 #2501, tab fixed 2014-08-05 17:13:10 +03:00
AndreyGeonya
f5cfddb60d #2501, wheelDebounceTime option added 2014-08-05 16:49:33 +03:00
bullgare
38476615e6 svg's attribute fill-rule supports two values: 'evenodd' and 'nonzero'. now we can set it via options and it's not hardcoded. https://developer.mozilla.org/ru/docs/Web/SVG/Attribute/fill-rule 2014-08-05 17:37:20 +04:00
Vladimir Agafonkin
b80c9b3367 Merge pull request #2831 from kdeloach/topic/wms-uppercase
Add uppercase option for WMS TileLayer.
2014-08-05 10:13:28 +03:00
Kevin DeLoach
a2825920fa Add uppercase option for WMS TileLayer.
In response to issue #1751, WMS TileLayer request parameter keys were
cast to uppercase. This is a breaking change for services that are case
sensitive and expect lowercase keys.

This change adds a new option to uppercase keys, which is false by
default, to preserve backwards compatibility.
2014-08-04 17:11:57 -04:00
AndreyGeonya
fd7ebcb5aa Issue #2619 fixed. Now Map.js/_fireMouseEvent checks dragging.moved() on moved object instead on map 2014-08-05 00:09:01 +03:00
Vladimir Agafonkin
075d414102 Merge pull request #2745 from fab1an/perf-remove-chrome-reflow
Performance: this triggers a reflow, but newest Chrome doesn’t flicker a...
2014-07-30 14:02:09 +03:00
Vladimir Agafonkin
93cf8d7e95 Merge pull request #2605 from danzel/vmlfix
Round point so that circles work again :)
2014-07-30 13:58:39 +03:00
Vladimir Agafonkin
31047c361b Merge pull request #2764 from francis-liberty/zoom_out_max_min_error_1905
Address issue #1905, Error when zoom out of max/minZoom
2014-07-30 13:46:07 +03:00
Vladimir Agafonkin
56e245d1eb Merge pull request #2789 from danydev/fixBounceAtZoomLimits
Fixed 'bounceAtZoomLimits' when you don't start pinching from max\min level
2014-07-30 13:43:27 +03:00
jfgodoy
aeea88b9fc fix memory leak generated by setIcon
when setIcon is called this.dragging is replaced without be disabled before, so hooks remains active.
2014-07-24 00:44:42 -04:00
bennlich
412bbd7cdb always clear tile onload and onerror funs in _abortLoading() 2014-07-20 22:16:11 -07:00
bennlich
d5931ad35a added _abortLoading() to _reset() 2014-07-20 22:14:30 -07:00
bullgare
c4d99f33b2 mousemove event for marker 2014-07-18 16:21:31 +04:00
Daniele Orrù
410068c08f Fixed 'bounceAtZoomLimits' when you don't start pinching from max\min level 2014-07-13 11:41:52 +02:00
francis.chan
ac615cb89e can customize alt attribute of the image in imageOverlay. 2014-06-30 10:28:48 +08:00
francis.chan
f50806e1ca invoke _clearBgBuffer function to reset layer div container when zoom out of max or minZoom. 2014-06-29 20:22:44 +08:00
Vladimir Agafonkin
c1a4ba9517 Merge pull request #2746 from fab1an/perf-remove-unnecessary-array
removed 1 unnecessary array-creation
2014-06-17 18:30:55 +03:00
Fabian Zeindl
0416bd473f Performance: this triggers a reflow, but newest Chrome doesn’t flicker anymore. 2014-06-17 15:40:31 +02:00
Fabian Zeindl
132e5b6f7c Performance: don’t set width/height on SVG if unchanged. Saves a costly layout/repaint in some situations. 2014-06-17 15:39:58 +02:00
Fabian Zeindl
b08e2f7a3d removed 1 unnecessary array-creation 2014-06-17 14:34:16 +02:00
Malte Legenhausen
5c7bf0268a Bugfix for #2704 2014-06-04 09:24:50 +02:00
Vladimir Agafonkin
760c730f92 fix LatLng.distanceTo race condition, close #2705 2014-05-28 17:26:41 +03:00
Tom MacWright
cea1eff732 Set detectRetina's expected type as Boolean at code level to match documentation and usage 2014-05-27 15:30:47 -04:00
Vladimir Agafonkin
0aeca1a4e7 remove element argument in requestAnimFrame 2014-05-26 23:21:33 +03:00
Vladimir Agafonkin
b16daa39b9 fix rare error when dragging vectors, close #2706 2014-05-26 18:52:24 +03:00
Vladimir Agafonkin
1d0dc6dcad add and use L.DomUtil.empty, close #2600 2014-05-26 18:47:11 +03:00
Vladimir Agafonkin
53048500b1 fix vector rendering regression 2014-05-26 17:10:09 +03:00
cebence
9f48f357ae Fixing URL template issue #2695 2014-05-21 13:43:29 +02:00
Hans Kristian Flaatten
5dc4c1ade1 Replace custom _onPreventDefault function 2014-04-30 20:55:57 +02:00
Hans Kristian Flaatten
3696926bef Fix #2658 ZoomBox not disappearing on right click 2014-04-30 19:58:30 +02:00