mourner
a9720fcb43
Final jshinting without remorse
2011-12-09 16:51:31 +02:00
mourner
b03f6eff07
Some really heavy jshinting and whitespace fixes
2011-12-09 16:35:15 +02:00
mourner
dc79b10683
More jshinting and whitespace fixes
2011-12-09 12:20:59 +02:00
mourner
fccecb419f
Whitespace fixes
2011-12-08 17:53:17 +02:00
mourner
0f23454168
Fixed min zoom recalculation on resize when max bounds enabled
2011-12-07 15:58:06 +02:00
mourner
dd3788f48d
Fixed rare polygon/polyline rendering issue, closed #381
2011-12-05 19:47:07 +02:00
mourner
43d87dacde
At last, added ability to set max geographical bounds within which users can pan/zoom! Closed #93
2011-12-02 19:04:19 +02:00
mourner
0e81d29168
Fixed fast mouse wheel zoom when approaching min/max zoom
2011-12-02 16:27:26 +02:00
Andy Chosak
5db524ee66
Removed unnecessary parameter.
2011-11-22 11:07:36 -05:00
Andy Chosak
eb9be64bd8
Add map events for popup open/close.
2011-11-22 10:45:43 -05:00
mourner
315ebb1eb5
fix typo in movestart fire
2011-11-18 13:02:46 +02:00
Savva
f54a55858b
Fix for Elliptical Mercator projection (y coord corresponds to minor earth radius)
2011-11-02 21:38:12 +04:00
mourner
2c540485d2
Throw error if trying to initialize the same map container twice. Closed #258
2011-10-28 12:23:42 +03:00
mourner
98be07c86b
Make layers control expanded on mobile by default (temp workaround).
2011-10-28 12:19:00 +03:00
mourner
70339807ed
add urlParams argument to TileLayer constructor
2011-10-27 17:20:12 +03:00
mourner
6c4dd07c51
Build updated
2011-10-26 17:37:18 +03:00
mourner
a6551fa114
Fixed ROOT_URL regression
2011-10-26 16:04:06 +03:00
mourner
9e4286db4a
Added Marker unbindPopup method
2011-10-26 16:04:06 +03:00
mourner
ee3e78ce07
don't add click event more than once on bindPopup
2011-10-26 16:04:05 +03:00
Vladimir Agafonkin
fb30bfa21f
remove extra semicolon
2011-10-23 09:17:32 +03:00
mourner
5bf0f0e8b7
fix vector flickering in Safari on big maps
2011-10-21 19:39:35 +03:00
mourner
5d339f9abb
fix vector regression
2011-10-21 19:35:55 +03:00
mourner
a38f9dd6ae
vector code refactoring to fix #339
2011-10-21 17:50:59 +03:00
mourner
11de00ec5b
jslinted for fun
2011-10-21 15:53:21 +03:00
Vladimir Agafonkin
13d07ebd72
Added mousemove to paths
2011-10-20 14:29:40 +03:00
Samat K Jain
c59e8b3239
Ignore shift key for touch-enabled browsers
...
Firefox Mobile (née Fennec) has a bug that sets Event.shiftKey to true
even though the shift key is not depressed:
https://bugzilla.mozilla.org/show_bug.cgi?id=694268
As a workaround, ignore whether the shift key is depressed for
touch-enabled browsers. This breaks Leaflet’s drag-zoom, but besides
being awkward I’m unsure it consistently worked on other touch-enabled
browsers (did not work for me on Android 2.3 devices w/ Bluetooth
keyboard).
2011-10-14 17:16:13 -06:00
Samat K Jain
ac78c7e144
Better touch feature detection
...
Rewrite L.Browser.Touch to support feature detection in more browsers
(Firefox in particular). Based on Juriy Zaytsev code:
https://github.com/kangax/iseventsupported
2011-10-14 17:11:00 -06:00
mourner
a154f08415
Improved map locate method, added watching and more options
2011-10-05 16:02:46 +03:00
mourner
b078e0236e
Turn off world copy jump if continuous world is turned on
2011-10-05 16:02:46 +03:00
Vladimir Agafonkin
3e1f7726f6
Fixed marker regression as pointed out by @shramov
2011-09-30 21:43:07 +03:00
mourner
d15d20bbf8
Fixed Marker setIcon breaking if marker isn't added to the map, closed #311
2011-09-29 14:42:13 +03:00
Charlie Savage
7fb61dad90
Fix map refernce for _onDragEnd method.
2011-09-23 14:12:00 -06:00
Vladimir Agafonkin
14ba939f5f
Fixed error when calling setRadius before adding circle to the map, closed #307
2011-09-23 22:44:55 +03:00
mourner
be575a6622
Clear transition step interval timer one more time (to make sure it doesn't leak), related to #231
2011-09-23 18:18:43 +03:00
mourner
04afa9b813
Fixed performance drop when calling panTo or setView to the current center, closed #231
2011-09-23 18:15:24 +03:00
mourner
fe443d3d50
Fixed regression in Draggable (click triggers after dragging), closed #306
2011-09-23 17:03:36 +03:00
mourner
106054140b
A better attempt at the copy world problem, hopefully closed #273 , fixed #293 , fixed #294 , closed #288
2011-09-23 16:55:47 +03:00
mourner
9fad3d0b40
cleanup, fix IE6 events error
2011-09-20 17:03:35 +03:00
mourner
87e5cba374
Fixed whitespace
2011-09-20 16:27:08 +03:00
mourner
a7d2b16543
Fixed a bug related to panning getting stuck after releasing the mouse over an iframe or flash, closed #64 and #166
2011-09-20 16:22:30 +03:00
mourner
2954a4264f
Merge remote-tracking branch 'origin/master'
2011-09-20 14:59:01 +03:00
mourner
9fe47c9103
Minor cleanup, tested WebStorm git integration
2011-09-20 14:19:11 +03:00
Dino Ravnić
5a5493ee04
don't proceed with invalidation if map is not loaded
2011-09-19 23:56:18 +01:00
Dino Ravnić
1c5f4716b2
if map is not loaded don't fire mouse events
2011-09-16 18:04:22 +01:00
Vladimir Agafonkin
6a71ea2d4e
Merge pull request #290 from giscloud/tileunload.fix
...
firing tileunload when a layer is being reset
2011-09-14 10:23:26 -07:00
Vladimir Agafonkin
73d6fb6c0a
Fixes IE problem introduced in a recent commit, #292
2011-09-14 20:19:50 +03:00
Dino Ravnić
e86b632a8c
firing tileunload when a layer is being reset
2011-09-12 14:33:27 +01:00
Mourner
e4c08caf47
Fix overlay positions when panning to a copy of a world, close #273
2011-09-09 16:32:43 +03:00
Mourner
d9f9cbfd2e
added TileLayer zoomOffset option (thanks to @msaspence)
2011-09-09 14:30:56 +03:00
Mourner
1d86c969be
Fix vector layer click events for iOS, close #204
2011-09-09 12:52:28 +03:00
Mourner
b0205094c1
Fix initializing map in a non-empty div, close #278
2011-09-08 12:23:22 +03:00
Mourner
3797bb74f9
Fix mouse events propagating on attribution control, close #279
2011-09-08 12:11:49 +03:00
Mourner
7ce750a3b7
more on #281
2011-09-08 12:11:14 +03:00
Mourner
63d57d1640
Merge branch 'master' of git@github.com:CloudMade/Leaflet.git
2011-09-08 12:01:52 +03:00
Mourner
fde7c7960a
don't add the same listener twice, close #281
2011-09-08 12:01:21 +03:00
Mourner
57a6013d45
minor cleanup
2011-09-08 12:00:40 +03:00
Dino Ravnić
5c1fa83b63
moved viewreset event handler to a callback function
...
- before event handler wasn't removed and causing this event to fire on removed layers as well
2011-09-04 22:05:26 +01:00
Mourner
f5ceabf158
cleanup, update changelog
2011-08-31 15:10:40 +03:00
Mourner
6d2f821788
Merge branch 'master' of git@github.com:CloudMade/Leaflet.git
2011-08-31 15:03:41 +03:00
Vladimir Agafonkin
d36d4b514c
Merge pull request #256 from CodeJosch/tileunload
...
Fire a "tileunload" when tiles removed
2011-08-31 05:03:26 -07:00
Mourner
c450dfdbf9
cleanup LatLngBounds toBBoxString
2011-08-31 15:02:27 +03:00
CodeJosch
3a6efaa350
Array access => tile
2011-08-30 17:32:47 +02:00
CodeJosch
2b54c28890
Pass object
2011-08-30 17:28:45 +02:00
Kevin Mahoney
a0d8d304c6
Extend the GeoJSON layer from FeatureGroup to allow click events.
2011-08-30 15:50:12 +01:00
Vladimir Agafonkin
629b9ac3e8
Merge pull request #263 from JasonSanford/master
...
Adding toBBoxString method to LatLngBounds
2011-08-25 01:06:03 -07:00
Christian Bäuerlein
da02d2aadd
call method #getSize on the map instance, not a global object called map
2011-08-23 09:46:50 +02:00
Jason Sanford
2fad6c1bc0
Adding "toBBoxString" method to LatLngBounds. I'm following the OpenSearch Geo spec which is different than what was originally request in #216 .
2011-08-22 09:29:54 -06:00
Vladimir Agafonkin
8734ddcff7
Merge pull request #253 from JasonSanford/master
...
Adding a getBounds method for Path
2011-08-16 11:11:42 -07:00
Jochen
900711b59a
fire a "tileunload" when tiles removed
2011-08-16 16:58:21 +02:00
Mourner
6a39725de5
fix requestAnimationFrame in some Chrome/Linux builds
2011-08-15 18:34:58 +03:00
Jason Sanford
da379754b1
Moving "getBounds" from L.Path to L.Polyline as some descendants of L.Path dont' have a "getLatLngs" method.
2011-08-15 07:25:54 -06:00
Jason Sanford
9e6d976449
Adding "getBounds" method to L.Path and a debug page to show it in use.
2011-08-14 22:31:13 -06:00
Mourner
28be37ca8e
preserve map center after resize
2011-08-11 16:12:58 +03:00
Mourner
83372eb0ed
fix marker setLatLng in case it's called before adding #222
2011-08-11 15:43:40 +03:00
Mourner
13807db12e
more mouse scrolling fixes, update build
2011-08-11 14:01:15 +03:00
ErshKUS
1fb8e4bb4b
oops, I'm new to GitHub
2011-08-11 00:07:13 +03:00
ErshKUS
94d1288d4c
fix zoom mousescroll, test FF3.6 Chrome last IE 8
2011-08-10 23:50:32 +03:00
Vladimir Agafonkin
ce72298d66
Merge pull request #240 from giscloud/master
...
bugfix in the layer _reset method
2011-08-10 12:37:11 -07:00
Dino Ravnić
56382fcefd
fixed an error at uninitialized layer container
2011-08-10 20:18:28 +01:00
Mourner
6dd915a1e5
Fix IE6-8 popup close button error, closes #235
2011-08-10 15:21:02 +03:00
Vladimir Agafonkin
0c887fe7ef
Merge pull request #237 from giscloud/master
...
Fixed not clearing old tiles
2011-08-10 05:10:28 -07:00
Mourner
9aee9dc68a
TileLayer continuousWorld option, related to #236
2011-08-10 15:06:16 +03:00
Dino Ravnić
061f3d6832
fixed not clearing old layer content in case of non animated pan or zoom
2011-08-10 12:22:35 +01:00
Dino Ravnić
3e61594205
when tile option noWrap is set, checking if tile x coordinate is valid
2011-08-09 23:47:57 +01:00
Dino Ravnić
9532db6d08
fixed not decreasing total tile count when a tile is being discarded
2011-08-09 21:55:43 +01:00
Mourner
9334d78ce4
todo comment
2011-08-04 12:29:33 +03:00
Mourner
c02053825d
circle clipping
2011-08-04 12:28:47 +03:00
Mourner
8a004bc54b
revert #221 , as it causes flickering on zoom animation
2011-08-02 11:09:12 +03:00
Mourner
6c8ee87b09
Merge branch 'master' of git@github.com:CloudMade/Leaflet.git
2011-08-02 11:07:45 +03:00
Mourner
366fce6eb8
update version and website link
2011-08-01 17:19:34 +03:00
Neno
8ac92f2303
Method TileLayer._reset now first cleans old container HTML and then initializes a new one.
...
This should remove a bug with using Map.setView() when old tiles would remain visible after the view has been reset.
2011-07-31 19:20:53 +01:00
Neno
6d509e432b
Fix L.DomUtil.removeClasss method. Regex wasn't matching '-' chars in class names.
2011-07-31 14:04:04 +01:00
Vladimir Agafonkin
2c149abd18
Merge pull request #214 from marphi/minWidthInPopup
...
add minWidth to Popup, fix calculation _containerWidth
2011-07-29 02:39:57 -07:00
Marcin Sikon
a29e22c3d2
Marker.js: this._reset() after set new icon, because the icon element has no set position
2011-07-29 11:19:15 +02:00
Marcin Sikon
4e3667d7fa
fix my previous mistake with offsetWidth
2011-07-28 23:11:19 +02:00
Mourner
aa5849a2dc
fixed mouse zoom when map is inside scrollable div, closes #206
2011-07-28 12:49:32 +03:00
chrillo
d4c73d2b57
Scrolling Offset Bug Fix
2011-07-28 10:36:21 +02:00
Marcin Sikon
a9dc7e0dd3
add minWidth to Popup, fix calculation _containerWidth
2011-07-27 09:00:10 +02:00
florianf
6c37eda53a
Implemented removing of canvas layers. Fixes #172
2011-07-24 14:56:42 +02:00
Mourner
7d41f80b9b
Fix layer ordering in Control.Layers
2011-07-21 12:05:59 +03:00