Vladimir Agafonkin
6134a41554
jshint fixes and cleanup for uglifyjs2
2012-12-12 19:09:47 +02:00
Vladimir Agafonkin
40b59b2a85
add ability to call init hooks manually in the constructor
2012-12-12 17:48:30 +02:00
Vladimir Agafonkin
782e8e7dcf
implement hooks for Class constructors (AOP-style), close #1123
2012-12-12 12:26:33 +02:00
Vladimir Agafonkin
b9d0d60a04
disable worldCopyJump by default, minor cleanup
2012-12-11 15:02:15 +02:00
Vladimir Agafonkin
96e4c80c75
revert clearing map div contents, fix positioning, close #278 again
2012-12-10 17:57:04 +02:00
danzel
babbbe829e
Re-order zoom end so we completely stop the zoom before getting people to redraw. Otherwise firefox will animate the canvas redrawing which is totally weird. Fixes #1187
2012-11-30 11:27:12 +13:00
mourner
1d14b0c50d
fix code style issues #1159 , update build
2012-11-29 22:43:40 +02:00
Mattias Bengtsson
c0135a219d
Added a bunch of tests and fixed some bugs those exposed.
...
Also don't try to automatically adjust zoom. Leave that to the
layer control for now and wait for a setBaseLayer / switchLayer
or something instead.
2012-11-19 04:36:13 +01:00
Mattias Bengtsson
6f1532f402
Fix for https://github.com/CloudMade/Leaflet/pull/623
...
There seems to be a timing bug though.
2012-11-18 22:07:27 +01:00
danzel
04908cee8d
Always enable scrollWheelZoom (fixes scroll wheel zoom on mouse+touch devices)
2012-11-16 10:57:28 +13:00
Vladimir Agafonkin
469211d0cf
fix slight scrolling zoom bug, closes #1039
2012-11-14 14:46:17 +02:00
Vladimir Agafonkin
10c0a63b3d
fixed non-rounded panBy, closes #1085
2012-11-14 14:39:59 +02:00
Vladimir Agafonkin
eba4eb0a5c
fix shift-click on the map
2012-11-14 14:07:36 +02:00
danzel
6fbf2a21bf
Move reflow into PosAnimation.stop so users don't have to implement it themselves.
2012-11-09 16:13:52 +13:00
Vladimir Agafonkin
d37680735f
rewrite and tweak inertia easing to make it smoother
2012-11-08 19:20:40 +02:00
danzel
128b615a08
Force a reflow when stopping a PanAnimation to start a ZoomAnimation so that the svg animation works correctly. Fixes #1125
2012-11-08 15:49:39 +13:00
Vladimir Agafonkin
dbd4da6255
add shortcuts for extend, bind, stamp and setOptions
2012-11-07 20:30:56 +02:00
Vladimir Agafonkin
2b225cc3a8
more whitespace fixes
2012-11-07 18:46:59 +02:00
Vladimir Agafonkin
a293f52e80
different whitespace fixes (smart tabs, lines no longer than 100)
2012-11-07 14:13:06 +02:00
danzel
3aeff55f24
Rename contextMenuEmulation -> longPress
2012-10-31 13:05:38 +13:00
danzel
1aff46cb27
Rewrite longpress->contextmenu to live inside Draggable instead as it needs deep interaction with it. When an emulated contextmenu is fired on touch we stop dragging and stop a click event from occurring. New map option to disable it if required: touchContextMenuEmulation
2012-10-31 12:59:58 +13:00
danzel
8bed7adb81
Make touch events work for IE10 using a wrapper approach (similar to DomEvent.DoubleTap). DoubleTap touch on IE10 doesn't currently work but everything else does. Refs #871
2012-10-18 14:23:09 +13:00
danzel
4565965cb1
Fix boxzoom for ie7, was trying to set negative width which is a JS error
2012-10-16 15:00:00 +13:00
John Firebaugh
0b4d2b0c44
Add Map#whenReady
...
Fixes #1063
2012-10-12 12:54:13 -07:00
danzel
b596383f45
Fix tile zoom animation in latest chrome canary and remove the translate(0,0) hack for other browsers as this fixes it too :-) Fixes #1056
2012-10-11 12:48:20 +13:00
John Firebaugh
fbf91fef54
Ensure that getBounds can be called during the first moveend event
...
Fixes #1027
2012-10-04 14:02:46 -07:00
Waldir
81c2bf93ca
Fix #916
2012-09-23 15:06:44 +02:00
danzel
801734b0c3
IE needs translate(0,0) hack to animate right too. Fixes #870 . (Fix found by oliverheilig, thanks!)
2012-09-21 09:29:09 +12:00
Vladimir Agafonkin
c18dd9b38f
fix touch zoom regression
2012-08-14 10:50:49 +03:00
Vladimir Agafonkin
9625cdbbb9
fixed glitches with zooming on pan animation and panning on zoom animation
2012-08-13 15:41:20 +03:00
Vladimir Agafonkin
fd22f9f88a
improved scroll wheel zoom to be more responsive
2012-08-13 15:38:26 +03:00
mourner
0bdc48a864
improve zoom control (shift-clicking)
2012-08-10 23:11:28 +03:00
mourner
8980f2d224
minor code cleanup, more destructive point operations
2012-08-10 22:40:55 +03:00
mourner
578f18ecfb
adjust panning inertia more
2012-08-10 21:49:37 +03:00
Vladimir Agafonkin
2d2fc74110
get rid of the legacy L.Transition, replace with a better and simpler L.PosAnimation
2012-08-10 18:43:46 +03:00
Vladimir Agafonkin
2aa30376db
fix IE9 regression (sorry!)
2012-08-07 18:43:52 +03:00
Vladimir Agafonkin
2109713511
fix iOS pinch-zoom regression and update build
2012-08-07 12:24:32 +03:00
Vladimir Agafonkin
9e89753c74
Remove Win/Meta key to zoom out binding, fix #869
2012-08-06 19:00:48 +03:00
Vladimir Agafonkin
0cca115ecb
Fix map to not animate on resize by default
2012-08-06 13:36:52 +03:00
Vladimir Agafonkin
6f96435050
minor refactoring
2012-08-03 14:48:59 +03:00
Vladimir Agafonkin
e7f8a85836
Move tile layer transition to CSS, detect zoom transion end globally
2012-08-02 18:24:22 +03:00
Vladimir Agafonkin
96b759cb32
Remove android 2/3 hacks for TileLayer animation (we'll only support it for 4+)
2012-08-02 15:46:51 +03:00
Vladimir Agafonkin
10ffc863db
Merge pull request #857 from ajbeaven/AnimatedInvalidateSize
...
Added option to animate pan on invalidateSize()
2012-07-31 01:11:27 -07:00
Andrew Beaven
2b27065c6b
Added option to animate pan on invalidateSize()
2012-07-31 11:59:06 +12:00
Vladimir Agafonkin
4174390562
keyboard navigation cleanup, closes #646 #663
2012-07-27 15:10:17 +03:00
Vladimir Agafonkin
ccd6c2956f
Merge branch 'master' of https://github.com/ericmmartinez/Leaflet into keyboard
2012-07-27 14:18:46 +03:00
Vladimir Agafonkin
cdfaad994f
more TileLayer and Control.Layers zIndex improvements, #309
2012-07-27 12:32:24 +03:00
danzel
8667f357f2
Make zooming straight in at the bottom level do nothing rather than moving half a pixel across with odd sized windows (which makes the whole screen look blurry in chrome). We need floor rather than round otherwise we move 1px in each direction.
2012-07-26 13:58:44 +12:00
Vladimir Agafonkin
19ed1859bd
fix no geolocation error handling
2012-07-25 19:51:51 +03:00
Vladimir Agafonkin
3c70e3cb3b
removed scale dependency for copyWorldJump
2012-07-25 17:12:56 +03:00
Vladimir Agafonkin
55c35828a8
Fix jittery marker movement on pinch-zoom (removed position rounding)
2012-07-25 11:14:21 +03:00
Vladimir Agafonkin
183f36c1a9
improve pinch-zoom performance on mobile Chrome and Firefox
2012-07-25 11:13:36 +03:00
Vladimir Agafonkin
5a1e2a926f
make zoom animation cancel the resize moveend trigger
2012-07-24 17:55:48 +03:00
mourner
d608222018
revert removing immediate option in reqAnimFrame
2012-07-20 21:34:21 +03:00
Vladimir Agafonkin
85b9baa41f
slightly increase scroll-wheel-zoom responsiveness
2012-07-18 14:04:13 +03:00
jacobtoye
770d2c899f
change second map mousedown to be mouseup
2012-07-16 15:34:55 +12:00
jacobtoye
661c6c6d1d
Revert "change second mousedown to be mouseup"
...
This reverts commit 3b6f57e233
.
2012-07-16 15:28:13 +12:00
jacobtoye
3b6f57e233
change second mousedown to be mouseup
2012-07-16 15:10:53 +12:00
Vladimir Agafonkin
bd1510cec4
improve panning inertia, fix animation easings on IE
2012-07-12 17:46:17 +03:00
Vladimir Agafonkin
275760352b
remove accidental console.log
2012-07-12 15:54:44 +03:00
Vladimir Agafonkin
532ff7232d
optimize map resizing
2012-07-12 15:53:58 +03:00
Vladimir Agafonkin
01e26a4cce
add Map mouseup event
2012-07-12 15:48:44 +03:00
Jan Pieter Waagmeester
97e3d08dd5
Use L.DomUtil.addClass to add classes instead of direct attribute manipulation
2012-07-05 16:59:00 +02:00
Jan Pieter Waagmeester
f1480557af
Merge branch 'master' of git://github.com/CloudMade/Leaflet
2012-07-05 15:45:28 +02:00
Jan Pieter Waagmeester
6096795c1c
Fix regexp in DomUtil.removeClass to correctly remove spaces, use addClass in stead of manual class manimulation in Map.ZoomAnimation
2012-07-05 15:41:55 +02:00
Vladimir Agafonkin
16cdb668b2
merge simplify-api
2012-07-05 16:24:42 +03:00
Vladimir Agafonkin
3e24ed5400
more work on simplified api
2012-07-05 14:45:06 +03:00
Vladimir Agafonkin
7ea7b144f9
Merge pull request #759 from danzel/zoom-marker-hack-fix
...
Zoom Marker Hack Fix
2012-07-04 16:09:11 -07:00
Vladimir Agafonkin
0d6749a3ac
initial API simplification
2012-07-03 17:06:44 +03:00
danzel
62061396cc
Make the android hacks only happen for android 2 and 3. On 4 (and hopefully future version) actually seem to do everything correct (Tested in chrome and the native browser)
2012-07-03 10:23:22 +12:00
danzel
dc46ae2ae3
By default only enable markerZoomAnimation if the browser supports transition and 3d. Allows Browser.any3d=false hack to work again
2012-07-03 08:25:12 +12:00
mourner
50c6c480b4
add window and undefined to outer closure
2012-07-01 16:18:00 +03:00
mourner
28a21fd4c3
minor cleanup / refactoring, fix removeEventListener bug
2012-07-01 15:46:31 +03:00
mourner
0f40da1cce
merge events by Guiswa, minor cleanup/refactoring
2012-06-30 14:51:09 +03:00
mourner
8d619899b0
refactoring, map getZoomScale and getScaleZoom, fix path zoom anim to take clip padding into account
2012-06-29 02:59:49 +03:00
mourner
9387db04c2
refactoring, cleanup, add Bounds.getBottomLeft and getTopRight
2012-06-29 01:47:30 +03:00
Charlie Moad
4a9b87bdbb
use abs val distance
2012-06-27 21:18:02 -04:00
mourner
bbd3c93237
add ImageOverlay opacity, hide on zoom animation
2012-06-25 23:45:37 +03:00
mourner
76b0a1de5a
get rid of "unbounded" stuff (unprojection should always be unbounded)
2012-06-22 18:24:08 +03:00
danzel
a1afe37436
Rename animateMarkerZoom to markerZoomAnimation to match other animation options.
2012-06-22 09:36:01 +12:00
mourner
46a2e3456d
Merge branch 'danzel-animate-zoom-tryagain'
2012-06-21 14:53:48 +03:00
danzel
9cec6643f1
Use a generic class (leaflet-zoom-animated) instead of explicitly stating in the CSS what things are zoom animated.
2012-06-21 12:05:31 +12:00
danzel
6d725f02cd
Change animateMarkerZoom to use a class/style rather than setting visibility directly.
2012-06-21 11:22:22 +12:00
danzel
df07bf0ae6
Use generic transform rather than webkit, should make this work on a win8 touch tablet, now I just need someone to give me one to test on :-)
2012-06-21 10:37:28 +12:00
danzel
f56682ef31
Add an option to the map: animateMarkerZoom (default true). Set to false and markers will disappear instead of animating when the zoom animation plays.
2012-06-20 16:49:29 +12:00
danzel
be9f96c645
Re-Add TouchZoom firing the zoomstart event
2012-06-20 16:48:35 +12:00
mourner
ff47132527
move private method into correct place
2012-06-19 17:25:07 +03:00
mourner
45d9421417
refactoring, fix autopanning bug
2012-06-19 16:38:40 +03:00
danzel
8d605a0f8d
rename _zooming inside Path to _pathZooming so it has a different name to _zooming in Map.TouchZoom. Minor other tidy ups.
2012-06-19 15:11:41 +12:00
Rob Brackett
a3d91156a2
Add support for maps with position: fixed
2012-06-18 18:11:27 -07:00
danzel
4b638bde42
Fix up TouchZoom free-zoom. 'zoomstart' event is abused a bit now, might need to fix that.
2012-06-19 09:20:36 +12:00
danzel
9bb49ac4e3
Fix merge issue
2012-06-19 09:20:35 +12:00
danzel
da475a9d23
Don't animate movement when zooming by touch. Still doesn't work right for touch.
2012-06-19 09:20:35 +12:00
danzel
b33d1f3231
Working towards making this work on touch browsers. Doesn't quite work yet but getting there.
2012-06-19 09:20:34 +12:00
danzel
c04020aa18
Remove remaining hacks from Map.ZoomAnimation and implement them properly (using events) in Marker and Popup.
2012-06-19 09:20:34 +12:00
danzel
1ac3a1ba59
Fix up Map.js zoomstart event
2012-06-19 09:20:33 +12:00
danzel
0b30a9b893
Move more zoom animation bits out to css
2012-06-19 09:20:33 +12:00
danzel
d30d057968
Do major tidy ups on the SVG zoom animation, pretty certain that this is tidy now.
...
Conflicts:
src/map/anim/Map.ZoomAnimation.js
2012-06-19 09:20:31 +12:00
danzel
1fc674b58a
Fix up SVG zooming with firefox
2012-06-19 09:20:30 +12:00
danzel
6e1802a7db
Animate SVG layers when zooming
2012-06-19 09:20:30 +12:00
danzel
ccbd43f1e5
Animate popup boxes when zooming
2012-06-19 09:20:29 +12:00
danzel
04bb46a053
Make Map.ZoomAnimation hack browser independant, works on firefox too :)
2012-06-19 09:20:28 +12:00
danzel
51fb9eeacf
Start on making markers animate when zooming rather than disappearing and reappearing. Currently implemented as a hack in Map.ZoomAnimation.
2012-06-19 09:20:27 +12:00
Konstantin.Myakshin
b65e95f96b
Trigger popupopen/close on markers too.
2012-06-18 22:35:54 +03:00
danzel
21c7c0d7a5
Disable the continuous zoom animation on android as it doesn't work due to Androids issue with double translate.
2012-06-18 09:57:48 +12:00
danzel
dc9aa649a9
Performing a touch-zoom needs the transform the other way around, let it have its way...
2012-06-15 16:18:38 +12:00
danzel
4f07a167f1
Tidy up comments and remove console output
2012-06-13 14:34:37 +12:00
danzel
64ae71a4d2
Fix moving your mouse and zooming again before the fg layer has loaded. Previously the bg would get moved to the wrong location, now it moves to the correct location
2012-06-13 14:33:28 +12:00
danzel
e54bc27a18
When zooming, if the current foreground layer doesn't have many tiles and the current background layer does, keep the current background layer rather than swapping in the current foreground. Makes continuous zooming look more awesome, rather than going blank after 2 quick zooms. (Has a big of debug output to be cleaned up later)
2012-06-13 14:19:30 +12:00
Charlie Savage
a04e4372e8
When a tileLayer is added or removed form a map, the _tileLayersNum property is appropriately updated but the _tileLayersToLoad is not. It is not updated until resetView, but that is called after the method _onTileLayerLoad is called. Thus, if you add one tile layer the _tileLayersToLoad is zero and when _onTileLayerLoad is called the values is decremented to -1.
...
This in the end doesn't make a difference on the initial zoom level of a map because _onTileLayerLoad also checks to see if there is a background tile layer, which there is not until after a first zoom. However, this seems to me a bug waiting to happen, thus the patch.
2012-05-12 17:32:04 -06:00
Eric Martinez
3d78a8feef
Cleaned up use of defaults.
2012-05-05 00:36:07 -06:00
Eric Martinez
b937d993c1
Removed legacy code that caused console errors.
2012-05-05 00:30:45 -06:00
Eric Martinez
a69477abcf
Created a focus handler for the map. Converted keyboard handler to make use of new focus events.
2012-05-04 23:46:15 -06:00
Eric Martinez
20bec613ec
Support for map.options.keyboardPanOffset and map.options.keyboardZoomOffset. Use these to configure how far the keyboard controls will pan/zoom the map (respectively).
2012-05-04 22:31:59 -06:00
Eric Martinez
aaa0721073
Reversed up/down arrow pan direction. Some noted the inverted style is not expected.
2012-05-04 22:19:48 -06:00
emartinez
4fa5918956
Updated keyboard handler to be more flexible/extensible. Calls to map.keyboard.setZoomOffset and map.keyboard.setPanOffset can change the behavior of this handler.
2012-05-03 13:01:26 -06:00
emartinez
909fac4be7
Corrected click handler for click-out events properly.
2012-05-03 12:18:33 -06:00
emartinez
765e07d69c
Created keyboard handler for map panning/zooming.
2012-05-03 11:00:30 -06:00
Aaron King
1ffedae5ab
Add getContainer() method to L.Map as per the documentation.
2012-04-27 12:49:57 -07:00
mourner
9081e9a00c
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-03-07 00:08:17 +02:00
mourner
e5f934e97f
more global refactoring
2012-03-04 00:42:50 +02:00
CKeen
a4197a825e
add start & end events for Map.BoxZoom
2012-03-03 11:39:14 -05:00
mourner
0474023675
initial global refactoring
2012-03-03 17:02:20 +02:00
mourner
59f6672e64
whitespace fix
2012-03-01 14:10:27 +02:00
mourner
79eb5bcb32
fire move during pan animation
2012-02-25 16:59:08 +02:00
mourner
5d263e9637
more inertia fixes
2012-02-25 11:40:39 +02:00
Dino Ravnić
dd5e4744e2
forgot a semicolon
2012-02-25 01:44:31 +01:00
Dino Ravnić
c2b0037f34
- dragend should fire in _onDragEnd no matter if inertia is on or off
...
- fixed an inertia edge case when _onDragEnd was called and _positions array was empty
2012-02-25 01:27:54 +01:00
mourner
e5d315a6aa
fix deceleration spelling
2012-02-25 00:07:28 +02:00
mourner
291f3515bf
fix touch zoom regression
2012-02-25 00:05:06 +02:00
mourner
4583eb13e0
fix typo
2012-02-24 23:20:50 +02:00
mourner
bca3c8eb67
fix typo (treshold -> threshold)
2012-02-24 18:18:50 +02:00
mourner
57aee3c5ed
Finally implemented panning inertia, closed #17
2012-02-24 17:19:53 +02:00
mourner
194425d24b
Fix stuttering of pan animation in some cases
2012-02-24 16:53:22 +02:00
mourner
8ad4f12cb9
Minor zoom animation cleanup
2012-02-24 16:52:30 +02:00
mourner
cc058fcd83
more inertia experiments
2012-02-23 17:24:32 +02:00
mourner
de8274831b
Merge branch 'master' into inertia
2012-02-23 16:37:57 +02:00
mourner
477c1109eb
clean up, move attribution prefix arg to options
2012-02-23 11:01:03 +02:00
mourner
d728779bc6
fix controls regression
2012-02-23 10:47:19 +02:00
mourner
0a7bafd14f
initial inertia work (experimental)
2012-02-23 01:10:28 +02:00
k4
9da8dcf803
save original event in MouseEvent.
2012-02-22 21:20:03 +03:00
k4
0336d1c8c8
add ctrlKey to mouse event
2012-02-22 17:25:51 +04:00
mourner
60f96281e7
Fixed false clicks on touch devices bugs, closed #485
2012-02-21 14:58:01 +02:00
mourner
e64743f741
Bringed back the mouseEventToLatLng method, closed #515
2012-02-21 10:46:04 +02:00
mourner
c6ec68615f
Added Map addHandler method
2012-02-17 15:30:25 +02:00
mourner
1063ad884e
made panning animation slightly faster
2012-02-17 11:53:31 +02:00
mourner
fe77297cf5
made zoom animation slightly faster
2012-02-17 11:53:11 +02:00
mourner
6040d8bf77
Added Circle#getBounds, closed #440
2012-02-15 18:54:11 +02:00
mourner
8e131c5f32
more cleanup and refactoring
2012-02-15 17:05:55 +02:00
mourner
2d8029e436
Reworked controls to be more flexible (inspired by #480 )
2012-02-14 11:40:47 +02:00
mourner
24ff9ce5ec
more stable zoom animation
2012-02-12 15:15:33 +02:00
Morten Ditlevsen
6f57de7a5a
Simplified antialiasing fix - thanks Vladimir.
2012-02-01 10:46:36 +01:00
Morten Ditlevsen
debaf3e0c3
Fix antialiasing on WebKit when calling map.invalidateSize() on a map having an odd width or height (e.g. when resizing a browser window and having set the map width to 100%)
2012-02-01 09:33:56 +01:00
Jonathan DERROUGH
09279cdc6e
Removed some trailing spaces in 'src/map/Map.js'.
...
Corrected the way L.Map.locateAndSetView() handles the 'options'
parameter so that it is not overriden anymore.
2012-01-11 20:18:06 +01:00
Mikolaj Grajek
d2994b388d
Right click (context menu) event on Map (with default context menu popup
...
block).
2012-01-11 10:19:37 +01:00
mourner
cf8e0ca50e
Fixed map.getBounds on a date line cross issue, closed #295
2011-12-16 14:04:45 +02:00
mourner
435b3eea69
Fixed getBoundsZoom regression on small bounds
2011-12-15 15:05:51 +02:00
mourner
3595c50b33
Added map zoomstart event, fixed movestart event, closed #377
2011-12-14 16:09:32 +02:00
mourner
36eb9d3cbd
fix map drag regression
2011-12-14 15:09:59 +02:00
mourner
8504147844
Restructure handler code
2011-12-14 13:12:54 +02:00
mourner
4751d1dbea
Merge map popup events by @chosak #373
2011-12-13 17:34:56 +02:00
mourner
3776e73c00
Switched to Node + Jake + UglifyJS for building
2011-12-11 22:45:49 +02:00
mourner
c509c55f20
more whitespace fixes
2011-12-10 13:48:45 +02:00
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
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
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
mourner
2c540485d2
Throw error if trying to initialize the same map container twice. Closed #258
2011-10-28 12:23:42 +03:00
mourner
11de00ec5b
jslinted for fun
2011-10-21 15:53:21 +03:00
mourner
a154f08415
Improved map locate method, added watching and more options
2011-10-05 16:02:46 +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
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
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
Mourner
b0205094c1
Fix initializing map in a non-empty div, close #278
2011-09-08 12:23:22 +03: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
Mourner
6a39725de5
fix requestAnimationFrame in some Chrome/Linux builds
2011-08-15 18:34:58 +03:00
Mourner
28be37ca8e
preserve map center after resize
2011-08-11 16:12:58 +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
Mourner
189e532dd7
fix potential Safari crashes and tile load errors
2011-07-20 16:28:11 +03:00
Mourner
0936b5e18c
map#hasLayer, ability to add tile layers below all others
2011-07-12 20:18:22 +03:00
Mourner
9c19796f25
rely more on feature detection instead of ua string, closes #142
2011-06-23 14:41:47 +03:00
Mourner
c739bbff22
fix occasional overlay blurriness in WebKit
2011-06-23 13:58:43 +03:00
Mourner
0800c241c1
opera mobile fixes, closes #138
2011-06-17 19:40:27 +03:00
Mourner
e09765a355
remove slow and unnecessary code from zoom anim logic, related to #123
2011-06-16 15:54:51 +03:00
Mourner
13e534d130
pass options to locateAndSetView
2011-06-14 12:13:00 +03:00
Mourner
a2a6ff3728
Supposedly fixed error on iOS 3, closes #113
2011-06-14 12:10:19 +03:00
Jason Sanford
d13fe36e88
Adding options to L.Map.locate that follows the PositionOptions spec for the W3C Geolocation API. You can now pass "enableHighAccuracy" and "maximumAge" to get fresh, accurate positions.
2011-06-13 15:28:06 -06:00
Mourner
dc84cb1fd3
fix bug with removing/readding tile layers
2011-06-03 16:59:14 +03:00
Mourner
2bbdc028ea
fix map div absolute position bug, fixes #100
2011-06-03 11:52:51 +03:00
Mourner
e7410e6e03
improve projections support, add EPSG:3395 (real mercator)
2011-05-31 12:36:05 +03:00
mourner
876bb4f69d
finished projections improvement
2011-05-31 00:37:48 +03:00
Max Ogden
f12fb251a0
fixing typo
2011-05-23 12:33:03 -07:00
Mourner
1b090074a6
fix map occasionally breaking while zooming on iOS, fixes #32
2011-05-23 12:32:31 +03:00
Mourner
7809accb0e
opera fixes
2011-05-20 16:34:45 +03:00
Mourner
5e927b0382
dom mouseenter/mouseleave, map mouseover/mousemove/mouseout events
2011-05-19 18:57:35 +03:00
Mourner
daf6c22a1d
set world view on locateAndSetView failure
2011-05-19 17:23:38 +03:00
Mourner
72a1070e87
Improved geolocation error handling, explicit timeout, fixes #61
2011-05-19 15:27:59 +03:00
Mourner
a3c029bf37
Merge remote branch 'origin/master'
2011-05-16 19:41:33 +03:00
Mourner
ff6968f048
remove console.log
2011-05-16 17:45:49 +03:00
Mourner
2f4e81ab3a
fix clearing tile background on zoom
2011-05-16 17:45:35 +03:00
Mourner
ca151369a8
temporarily disable zoom animation on Android (until it gets stable),
...
related to #32
2011-05-14 19:40:26 +03:00
mourner
66f00bf875
more chaining, update build
2011-04-27 18:02:58 +03:00
mourner
d1b28c5d85
geolocation update
2011-04-27 17:38:50 +03:00
mourner
6ce60cadc7
fix popup autoclose, fixes #40
2011-04-27 14:06:47 +03:00
Mourner
ba28ce77bf
fix IE, fix attrib control styling, update build
2011-04-15 11:56:48 +03:00
Mourner
d8bcfef1a3
initial attribution control implementation
2011-04-14 18:48:14 +03:00
Mourner
8089ff04a0
fix clearing scaled tiles
2011-04-14 18:07:16 +03:00
Mourner
4003a9d9b0
zoomAnimation option
2011-04-14 18:04:33 +03:00
Mourner
9fc8f1ff5d
clear scaled tiles after new ones are loaded, fixes #24
2011-04-14 17:49:34 +03:00
Mourner
b1d9ca7747
some clean up
2011-04-14 16:32:36 +03:00
Mourner
30768b40b8
better webkit transition bug workaround
2011-04-14 16:30:55 +03:00
Mourner
131f909e0a
bigger controls on mobile, update build
2011-04-14 16:12:05 +03:00
Mourner
895d171648
android fixes, zoom animation refactoring, fadeAnimation option
2011-04-14 15:42:48 +03:00
Mourner
8f4a0deea5
geolocation noFitBounds
2011-04-13 14:52:57 +03:00
Mourner
fbb31dbe3c
zoomControl option in map, fixes #31 , update build
2011-04-12 18:26:35 +03:00
Mourner
5a0894860e
e.position -> e.latlng
2011-04-12 18:14:07 +03:00
Mourner
5394f0163c
Merge remote branch 'origin/master'
2011-04-12 12:02:16 +03:00
Mourner
b475bb8da0
workaround for a webkit transition bug, fixes #10
2011-04-12 12:01:46 +03:00
mourner
ef8b0c9a9b
oops, remove console.log
2011-04-11 23:51:56 +03:00
mourner
7162bd4930
refactor popup code, merge marker dragging from msaspence
2011-04-11 23:43:23 +03:00
mourner
b22349c1c0
Merge branch 'master' of https://github.com/msaspence/Leaflet into msaspence-master
2011-04-11 22:46:32 +03:00
Matt Spence
ee93d73b69
Refactored marker dragging into MarkerDrag and support for shadows
2011-04-11 19:15:35 +01:00
Matt Spence
805f3b39b9
Added draggability to markers
2011-04-11 16:26:41 +01:00
Mourner
a204511fbe
control positioning, basic zoom control, update build
2011-04-11 15:49:15 +03:00
Mourner
90a66c96e1
rework zoom animation, update build
2011-04-07 19:00:55 +03:00
Mourner
90bd2c12b1
remove excessive rounding
2011-04-07 18:59:29 +03:00
Mourner
647da488db
fix closure compiler removing useful code
2011-04-01 14:26:28 +03:00
Mourner
9d93998ba2
zoom animation fix and refactoring, works like a charm on iOS now!
2011-03-31 18:34:37 +03:00
Mourner
29b89d18d1
fitWorld
2011-03-31 12:05:14 +03:00
Mourner
a69cb4df15
small handlers refactoring
2011-03-28 15:39:02 +03:00
Mourner
1831051543
small addLayer refactoring
2011-03-23 18:31:19 +02:00
Mourner
306e42a25c
refactor map init code
2011-03-22 17:58:35 +02:00
Mourner
6c8ef08382
shift drag zoom
2011-03-21 19:09:43 +02:00
Mourner
23a0f45b3c
fix double click zoom animation
2011-03-21 16:02:03 +02:00
Mourner
f2eefe6506
options fix, L.Util.setOptions
2011-03-01 16:27:09 +02:00
mourner
b1df549118
some argument type comments
2011-02-28 00:12:38 +02:00
mourner
047b5c6d1d
different performance optimizations
2011-02-27 22:31:46 +02:00
Mourner
d011038bf7
initial vector support, huge commit!
2011-02-25 19:01:29 +02:00
Mourner
348860286c
update folder structure
2011-01-21 11:55:08 +02:00
Mourner
410278dd58
close popup on open
2011-01-18 17:25:02 +02:00
mourner
2e28fc5f4f
prevent zoom while animation is running
2011-01-16 01:42:26 +02:00
mourner
9e3efaf5f6
animation refactoring
2011-01-16 00:01:16 +02:00
Mourner
be09f97cf2
At last, zooming animation! HUGE commit!
2011-01-14 18:43:40 +02:00
Mourner
5b6a98acee
L.DomUtil.create shortcut, refactoring, update build
2011-01-13 12:17:50 +02:00
Mourner
d33529b126
popup refactoring, close button, update build
2011-01-12 18:05:12 +02:00
Mourner
882f1ea598
getBounds
2011-01-12 16:52:21 +02:00
Mourner
9762be03de
a couple of todos
2011-01-12 11:44:48 +02:00
Mourner
ad5b885124
add Map#layerPointToContainerPoint
2011-01-11 15:44:09 +02:00
Mourner
97aa394489
fiddling with zoom animation
2011-01-10 13:07:30 +02:00
Mourner
d6dc8acd04
move closePopupOnClick to Map
2011-01-10 13:06:22 +02:00
Mourner
e6eaec9f41
popup fixes
2010-12-15 20:21:38 +02:00
Mourner
739c8e289e
popup implementation
2010-12-15 19:55:57 +02:00
Mourner
2348947c73
Marker implementation
2010-12-15 17:14:15 +02:00
Mourner
2b8c1d778e
zoomOut, addLayer fixes
2010-12-14 18:10:24 +02:00
Mourner
7e0b87fbb5
provide accuracy in geolocation
2010-11-11 12:37:12 +02:00
mourner
fb06678828
move all animation-related logic from Map.js to Map.Animation.js
2010-09-29 12:12:13 +03:00
mourner
ad7ab3a753
better progressive enhancement
2010-09-29 12:02:03 +03:00
mourner
ec8a941091
fix animated pan
2010-09-29 11:51:59 +03:00
mourner
533d095fef
progressive enhancement for animation
2010-09-29 11:22:46 +03:00
mourner
ab00da17a0
trackResize
2010-09-29 10:38:46 +03:00
mourner
284595f335
panning animation
2010-09-28 21:09:53 +03:00
mourner
4abe0d96a4
added trackResize, improved invalidateSize
2010-09-28 20:51:38 +03:00
mourner
d1f1744ca3
jslinted
2010-09-27 18:34:56 +03:00
mourner
d712717053
layers add/remove fix
2010-09-27 18:01:37 +03:00
mourner
c2399defdd
layer remove
2010-09-27 17:45:26 +03:00
mourner
0991c7fc78
basic scroll wheel zoom
2010-09-27 13:09:41 +03:00
mourner
679953cfbf
overlay refactoring
2010-09-25 17:29:38 +03:00
mourner
2fce845e22
some meaningful renaming
2010-09-24 17:40:24 +03:00
mourner
efbb541fe9
make layer.draw & layer.load optional
2010-09-24 15:49:27 +03:00
mourner
e9c1c0f685
added latLngToLayerPoint; added overlayPane; converted LatLngBounds sw/ne properties to methods.
2010-09-24 15:47:22 +03:00
mourner
4984035a9e
map events, double click fix
2010-09-21 15:48:31 +03:00
mourner
e734e20d55
map positioning refactoring
2010-09-21 15:28:13 +03:00
mourner
0178d1c2d1
comments
2010-09-21 12:25:30 +03:00
mourner
0d9dd1c53b
rename
2010-09-21 12:17:05 +03:00
mourner
4a7b244a6a
options fix
2010-09-21 12:15:56 +03:00
mourner
70a7b7c478
OR fixes
2010-09-21 11:50:02 +03:00
mourner
8a23efb563
Map geolocation
2010-09-21 11:44:04 +03:00
mourner
bc319be35b
moved Map, fixed some bugs
2010-09-21 11:43:50 +03:00