jacobtoye
e057e189ce
Make icons appear on top of others on mouse over.
2012-08-17 15:25:03 +12:00
Vladimir Agafonkin
d88e711591
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-08-14 12:21:55 +03:00
Vladimir Agafonkin
c18dd9b38f
fix touch zoom regression
2012-08-14 10:50:49 +03:00
Vladimir Agafonkin
873f986f55
fix default icon anchor
2012-08-13 16:07:54 +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
Jon Stevens
1e363f29f1
null check setting of document.onselectstart
2012-08-10 13:20:48 -07: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
7627d39700
improve PosAnimation code a bit
2012-08-10 21:50:00 +03:00
mourner
578f18ecfb
adjust panning inertia more
2012-08-10 21:49:37 +03:00
Vladimir Agafonkin
11d4448634
optimize requestAnimFrame for IE6-8
2012-08-10 18:44:02 +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
fe9516579e
check if path is already in front in bringToFront, same for bringToBack
2012-08-08 12:17:10 +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
9bc31e0f22
update build and changelog for 0.4.3
2012-08-07 11:56:11 +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
f184df2c27
fix map panning inertia flicker on Chrome
2012-08-06 14:43:32 +03:00
Vladimir Agafonkin
0cca115ecb
Fix map to not animate on resize by default
2012-08-06 13:36:52 +03:00
Vladimir Agafonkin
c18c394147
Merge branch 'improve-geojson'
2012-08-06 13:34:22 +03:00
mourner
8d6301cf07
Add geojson setStyle and resetStyle methods, layer feature property
2012-08-04 10:56:14 +03:00
Vladimir Agafonkin
fc819e6f47
return this in Path bringToFront/bringToBack
2012-08-03 15:57:48 +03:00
Vladimir Agafonkin
2697462b87
add bringToFront and bringToBack to FeatureGroup
2012-08-03 15:09:02 +03:00
Vladimir Agafonkin
6f96435050
minor refactoring
2012-08-03 14:48:59 +03:00
danzel
8a3d508568
Tidy up comments
2012-08-03 09:29:47 +12:00
danzel
d9bafda0a8
Fix for android 2 tiles
2012-08-03 09:25:42 +12: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
cfc55281e4
merge stable, update build
2012-08-02 12:49:01 +03:00
danzel
8d4d347ec9
Fix setting opacity multiple times in oldie. Was disabling the filter if it should be enabled and vice-versa
2012-08-02 12:47:49 +03:00
Vladimir Agafonkin
1b88497f44
fix dragging cursor appearing to early on FF
2012-08-02 12:46:58 +03:00
danzel
f52251a5f5
Fix setting opacity multiple times in oldie. Was disabling the filter if it should be enabled and vice-versa
2012-08-02 11:31:20 +12:00
Vladimir Agafonkin
00ed2286cc
update version number and build
2012-08-01 18:35:42 +03:00
Vladimir Agafonkin
63a62213df
update version in the source
2012-08-01 14:23:43 +03:00
Vladimir Agafonkin
690c969bc0
cleanup layers control IE7 fix #861
2012-08-01 14:06:21 +03:00
danzel
9e61d26d8f
Radio buttons properly dynamically created in IE7 don't work, so the layers dialog doesn't work, do it this hacky way instead.
2012-08-01 14:05:17 +03:00
Vladimir Agafonkin
b3d6427a8a
cleanup layers control IE7 fix #861
2012-08-01 14:03:42 +03:00
danzel
a0ee757e2d
When removing a marker from a FeatureGroup, only remove the popup if it was put there by the FeatureGroup.
...
Refs danzel/Leaflet.markercluster#24
2012-08-01 13:07:57 +03:00
Vladimir Agafonkin
985850fcef
Merge pull request #862 from danzel/oldie-fixes
...
Fix Layers dialog in IE7
2012-08-01 03:06:55 -07:00
danzel
8c84b8a00c
Radio buttons properly dynamically created in IE7 don't work, so the layers dialog doesn't work, do it this hacky way instead.
2012-08-01 15:57:17 +12:00
danzel
7c94559355
When removing a marker from a FeatureGroup, only remove the popup if it was put there by the FeatureGroup.
...
Refs danzel/Leaflet.markercluster#24
2012-08-01 13:40:43 +12: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
Vladimir Agafonkin
a393cdec20
update build and changelog
2012-07-31 10:59:14 +03:00
mattcurrie
f3ef407814
Fix L.tileLayer.wms class factory
2012-07-31 12:05:30 +12:00
Andrew Beaven
2b27065c6b
Added option to animate pan on invalidateSize()
2012-07-31 11:59:06 +12:00
Olexandr Skrypnyk
031ee25377
Move isRetina
method from Util to Browser
2012-07-30 17:27:15 +03:00
Olexandr Skrypnyk
7b167a41dc
Detect retina support for a huge amount of devices by Thomas Fuchs
...
Tested on iOS, Android 2.x, Chrome for Android, Safari on MacBook Pro Retina, Firefox mobile (beta) for Android, Opera Mobile (Android).
2012-07-30 17:03:52 +03:00
Vladimir Agafonkin
e3b2b78558
fix incorrect calculation of scale by the scale control, closes #852
2012-07-30 16:45:58 +03:00
Vladimir Agafonkin
529cdb09a3
fix ugly marker shadows on iE8, closes #850
2012-07-30 12:54:44 +03:00
Vladimir Agafonkin
b2adb29cf1
fix canvas backend and holed polygons regression
2012-07-30 12:28:44 +03:00
mourner
e55e948986
update build
2012-07-30 01:39:13 +03:00
Juergen Treml
1a1205ea6e
Provide the hooks needed for writing plugins / extensions to scale control
...
Separate the creation of scales as well as the updating of them into
separate methods, which allows for plugins to overwrite these methods
in order to add an extra scale and update it.
Update style to support n scales instead of exactly one or two.
2012-07-29 14:10:03 +02:00
mourner
6437e653ee
fix array form polyline editing bug, update build
2012-07-29 02:22:18 +03:00
Tom Nightingale
6d36dba2dc
fix IE8 error with calling call() on window.clearTimeout()
2012-07-27 11:40:17 -07: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
1f19f74fa6
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-07-27 12:33:35 +03:00
Vladimir Agafonkin
cdfaad994f
more TileLayer and Control.Layers zIndex improvements, #309
2012-07-27 12:32:24 +03:00
Matt Currie
6142a8b74c
Add zIndex support to L.TileLayer
2012-07-27 14:12:40 +12:00
danzel
606fe257d9
Fix up zoom fixes on Touch, fake doubleTap handler wasn't returning itself, breaking the chaining. Remove the preventDefault on dblclick as it does nothing.
...
Turns out this fix doesn't prevent double tap on the zoom button on touch devices.
2012-07-27 09:12:58 +12:00
Vladimir Agafonkin
6965ad6729
Merge pull request #832 from danzel/zoom-fixes
...
Zoom fixes
2012-07-26 13:36:27 -07:00
mourner
b2d6ea5b44
fix #834 map drag over polygon bug
2012-07-26 23:20:39 +03:00
Vladimir Agafonkin
65aafc3a8f
fix VML remove/add losing styles issue, closes #830
2012-07-26 17:33:14 +03:00
Vladimir Agafonkin
54855494bb
renamed LayerGroup _iterateLayers to eachLayer
2012-07-26 14:56:21 +03:00
Vladimir Agafonkin
2df0a4c283
fix layers control factory and update build
2012-07-26 11:49:26 +03:00
danzel
871e8f8ee1
Stop double click on the zoom buttons moving the map. Fixes #818
2012-07-26 14:32:23 +12: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
b5513f4dd0
add ImageOverlay bringToBack/Front, update build, closes #824
2012-07-25 17:36:14 +03:00
Vladimir Agafonkin
4ece350176
fix TileLayer.redraw and multiple layers issue, closes #814
2012-07-25 17:25:53 +03:00
Vladimir Agafonkin
3342e7c215
fix lint error and update build
2012-07-25 17:14:31 +03:00
Vladimir Agafonkin
3c70e3cb3b
removed scale dependency for copyWorldJump
2012-07-25 17:12:56 +03:00
Vladimir Agafonkin
c50aaabd6d
TileLayer refactoring, add loading event, update changelog, closes #177
2012-07-25 17:10:11 +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
3201dd066a
cleanup setOpacity for IE
2012-07-25 11:08:51 +03:00
Andrew Beaven
c19ee48904
Fixes popups in IE8 and earlier
2012-07-25 16:30:21 +12:00
Vladimir Agafonkin
de835e3ce3
normalize dashArray in IE, update changelog
2012-07-24 18:11:49 +03:00
Vladimir Agafonkin
5a1e2a926f
make zoom animation cancel the resize moveend trigger
2012-07-24 17:55:48 +03:00
jacobtoye
ef03f4aed2
Added support for dashed strokes.
2012-07-24 11:48:44 +12:00
mourner
1da1041655
return this in more methods
2012-07-24 01:42:57 +03:00
mourner
d608222018
revert removing immediate option in reqAnimFrame
2012-07-20 21:34:21 +03:00
mourner
daf7a81f9c
merge changes
2012-07-20 21:16:41 +03:00
mourner
f1c4a1f554
refactor request/cancelAnimFrame
2012-07-20 21:15:07 +03:00
mourner
0cadad7a1d
remove shadowOffset, add shadowAnchor
2012-07-20 21:14:24 +03:00
jacobtoye
f6979ff96b
Added missing mouse events to FeatureGroup.
2012-07-20 14:09:05 +12:00
danzel
0b913df152
Re-Fix android tile unloading crash #137
2012-07-19 09:48:35 +12:00
Vladimir Agafonkin
85b9baa41f
slightly increase scroll-wheel-zoom responsiveness
2012-07-18 14:04:13 +03:00
Vladimir Agafonkin
33d9bc0cff
move L.Icon.Default to separate file, fix popup anchor
2012-07-18 13:55:49 +03:00
Vladimir Agafonkin
f446659325
fix whitespace
2012-07-18 13:52:24 +03:00
Vladimir Agafonkin
e9043f8cdb
Merge pull request #810 from danzel/shadow-opacity
...
Make Marker options.opacity/setOpacity set the Shadow opacity as well as the marker opacity
2012-07-17 00:42:31 -07:00
danzel
7019a2001e
Remove opacity parameter from _updateOpacity, unused.
2012-07-17 14:46:14 +12:00
danzel
dc067d3d7b
Make Marker.setOpacity set the opacity of the shadow also. Otherwise your shadow can end up more visible than your marker: setOpacity(0)
2012-07-17 14:45:49 +12:00
danzel
b663c7f442
Turns out the android browser has this issue too.
...
Change the hack to just use top/left if chrome is being used, otherwise use transform.
Hopefully chrome fixes their issue so we can use transform everywhere instead.
2012-07-17 11:58:04 +12:00
danzel
95afdee703
Take another go at safari tile layer fix hack. Add a test case for it so we don't forget about it.
2012-07-17 09:31:04 +12:00
Vladimir Agafonkin
c32319e3ba
Fix vector layer flicker on iOS, closes #18 (yay!)
2012-07-16 14:53:07 +03:00
Vladimir Agafonkin
0e03e868fc
Use transform3d tile positioning on iOS too, closes #800
2012-07-16 14:36:00 +03:00
Vladimir Agafonkin
0e4e02a1d3
fix popup so that tip shadow is not cut off
2012-07-16 14:22:05 +03:00
Vladimir Agafonkin
f99a4173fe
optimize canvas layers update, closes #732 , closes #785
2012-07-16 13:57:00 +03:00
Vladimir Agafonkin
6bc8ea6eb5
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-07-16 12:39:48 +03:00
Vladimir Agafonkin
f4dcc0fbea
Merge pull request #805 from danzel/master
...
Position tiles with transform for safari to get around animation errors.
2012-07-16 00:14:30 -07: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
danzel
4b001e6d19
Position tiles with transform for safari to get around animation errors.
2012-07-16 09:44:43 +12:00
Vladimir Agafonkin
ffe7f9dffe
Merge pull request #802 from Mithgol/master
...
Detect retina displays and adjust wmsParams.width and wmsParams.height accordingly
2012-07-15 06:01:52 -07:00
Mithgol the Webmaster
f9ea2728b7
fix CloudMade/Leaflet#789
2012-07-14 07:07:47 +04:00
Vladimir Agafonkin
649d439af9
only set popup opacity if fadeAnimation is true
2012-07-13 17:06:16 +03:00
Vladimir Agafonkin
c89f363767
Merge pull request #801 from lars-sh/master
...
Fixed basic XHTML problems.
2012-07-13 06:13:46 -07:00
Vladimir Agafonkin
ad4b8a2441
fix contextmenu event on path layers
2012-07-13 14:48:35 +03:00
Vladimir Agafonkin
444e0dba7c
scale control fixes, closes #674
2012-07-13 12:11:20 +03:00
Vladimir Agafonkin
7abe4c7d70
fix polyline error when it's removed on moveend
2012-07-13 11:36:11 +03:00
Lars Knickrehm
2248fb2d53
Fixed basic XHTML problems.
2012-07-13 01:47:19 +02:00
Vladimir Agafonkin
bd1510cec4
improve panning inertia, fix animation easings on IE
2012-07-12 17:46:17 +03:00
Vladimir Agafonkin
f4ecfe61fb
improve popup close button, get rid of the image, closes #631
2012-07-12 16:22:14 +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
Vladimir Agafonkin
4f8dc06097
add Popup openOn(map)
2012-07-12 15:46:52 +03:00
Vladimir Agafonkin
e9b47e9811
factories for controls and multipolys
2012-07-12 15:40:47 +03:00
Vladimir Agafonkin
c6bae3ee5c
support arrays in geojson addData
2012-07-12 15:37:43 +03:00
Vladimir Agafonkin
0814e18a81
fix popupAnchor array form
2012-07-12 15:35:22 +03:00
Vladimir Agafonkin
4edfaee008
Use feature detection instead of browser sniffing for opacity, #796
2012-07-12 10:31:21 +03:00
Vladimir Agafonkin
2a7e49bfe3
Merge pull request #797 from danzel/master
...
Fix JSHint issues with my last pull
2012-07-12 00:18:59 -07:00
danzel
863bed6797
FeatureGroup now checks if the given layer has already been added in addLayer before adding it
2012-07-12 17:02:14 +12:00
danzel
3b7d1761ee
JSHint happiness.
2012-07-12 16:09:48 +12:00
danzel
e8a904530e
Fix up opacity in IE10, use style.opacity in IE9 also
...
http://caniuse.com/#feat=css-opacity
Regex from http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx
2012-07-12 09:54:53 +12:00
danzel
ff86f5a24b
Need to check that createShadow actually created a shadow before adding the classes. Simplify the code too.
2012-07-11 15:55:41 +12:00
danzel
129572014c
Set the animation classes for marker in _initIcon rather than onAdd so that setIcon doesn't remove them
2012-07-11 15:51:12 +12:00
Jan Pieter Waagmeester
c7be915f45
Merge branch 'master' of git://github.com/CloudMade/Leaflet
2012-07-10 12:29:41 +02:00
Jan Pieter Waagmeester
138167158b
Replace manual style.opacity manimulations by L.DomUtil.setOpacity in Popup.js
2012-07-10 12:29:23 +02:00
Vladimir Agafonkin
cc60eb81c7
add subdomains to WMS, closes #735
2012-07-10 12:00:13 +03:00
Vladimir Agafonkin
d0c341b006
Added WMS setParams, TileLayer redraw, setUrl, closed #719
2012-07-10 11:43:18 +03:00
Vladimir Agafonkin
97553cd0bd
fix whitespace
2012-07-09 17:09:18 +03:00
Vladimir Agafonkin
dfdc011413
add bgPos to DivIcon for spriting, closes #743
2012-07-09 17:08:01 +03:00
Vladimir Agafonkin
8b3e97153c
fix icon default paths, update changelog
2012-07-09 15:07:22 +03:00
Vladimir Agafonkin
92c704f33b
Improved GeoJSON API, closed #315 , closed #715
2012-07-09 14:42:44 +03:00
Jan Pieter Waagmeester
8e355b5596
Merge branch 'master' of git://github.com/CloudMade/Leaflet
2012-07-05 16:59:34 +02: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
Vladimir Agafonkin
c3573dbb82
Merge pull request #784 from jieter/master
...
DomUtil removeClass space handling.
2012-07-05 07:11:37 -07:00
Vladimir Agafonkin
2746cc843e
add addTo method to ImageOverlay, GeoJSON, LayerGroup, Popup
2012-07-05 16:53:32 +03:00
Jan Pieter Waagmeester
0a98e75aba
Fixed error after running spec: only remove spaces at head and tail now
2012-07-05 15:51:40 +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
bdf2a814a2
Merge pull request #779 from danzel/divicon-innerhtml
...
Add an option to DivIcon to allow setting the innerHTML
2012-07-04 14:10:23 -07:00
danzel
15718ec58c
Rename options.innerHTML to options.html
2012-07-05 08:46:18 +12:00
fr1n63
19b465eb0c
Code conventions adherence
2012-07-04 11:13:57 +01:00
fr1n63
ef0505515d
Code conventions adherence
2012-07-04 11:12:19 +01:00
fr1n63
85d6ce08c2
Code conventions adherence
2012-07-04 11:03:25 +01:00
fr1n63
d17bfc6e30
Removing the console log from Map.js, added mobileWebkit browser check to Transition.Native.js bug fix, reverted build files to mourners last revision
2012-07-04 10:14:06 +01:00
danzel
46a18ad348
Add an option to DivIcon to allow setting the innerHTML
2012-07-04 15:45:27 +12:00
fr1n63
7b6a2b8005
Seems to work, removed a lot of the over engineering, seems new version is more stable and deals with this fix better than the previous version did.
2012-07-03 16:30:53 +01:00
Vladimir Agafonkin
0d6749a3ac
initial API simplification
2012-07-03 17:06:44 +03:00
fr1n63
9365e76169
First attempts at resolving the zoom bug - changes since v0.3 have rendered this fix useless - try again later
2012-07-03 15:01:56 +01:00
Vladimir Agafonkin
2f66e86479
Merge pull request #775 from danzel/fix-events
...
Events fixups
2012-07-03 01:05:55 -07:00
danzel
4629a10f76
Fix up Events.off with the multi method, was removing all listeners as context is null and fn should be used instead (see .on code)
2012-07-03 11:49:25 +12:00
danzel
3674c11ae7
Line up FeatureGroup change with master
2012-07-03 11:49:18 +12:00
danzel
f6f060f28b
Make FeatureGroup de-init events when removing a layer
2012-07-03 11:49:09 +12: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
914204f301
Need to do the shadow too
2012-07-03 09:44:30 +12:00
danzel
166746563c
If 3d is disabled, hide everything during a zoom. You can set window.L_DISABLE_3D = true to force 3d off.
2012-07-03 09:12:14 +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
Aaron King
95ed9cdda2
Allow L.Mixin.Events.addEventListener() to accept a map in which the string keys represent one or more space-separated event types and the values represent a handler function to be called for the event(s).
...
Allow L.Mixin.Events.removeEventListener() to accept one or more space-separated event types. Omitting the fn parameter will remove all event handlers for the supplied event type(s).
Also allow L.Mixin.Events.removeEventListener() to accept a map where the string keys represent one or more space-separated event types and the values represent handler functions previously attached for the event(s).
Add unit tests for the above changes.
2012-06-29 16:14:41 -07: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
Vladimir Agafonkin
0830bb38dc
fixed path setStyle in IE6-8, closed #641 , updated build and changelog
2012-06-26 12:21:15 +03:00
danzel
9a979dd6d9
ImageOverlay zooming support done proper! :)
2012-06-26 11:16:46 +12:00
danzel
b901708d31
Working on ImageOverlay zoom animation. This works but the image wobbles when it zooms some times. Will have another go with scale...
2012-06-26 11:16:45 +12:00
mourner
18557d890a
update build and changelog, cleanup
2012-06-26 01:51:04 +03:00
Vladimir Agafonkin
4b2ccdd7fd
Merge pull request #757 from stsydow/for_mourner
...
fixes NaN bug in scale control and spurios mousemove event
2012-06-25 15:32:34 -07:00
Stefan Sydow
8aaac25b11
fix spurios mousemove event for Chrome on Win
2012-06-26 00:11:40 +02:00
Stefan Sydow
011bbb0906
fix NaN bug in scale control
2012-06-26 00:11:39 +02:00
mourner
a9b42fad6d
update changelog, cleanup
2012-06-26 01:05:55 +03:00
Vladimir Agafonkin
784b9cc7cb
Merge pull request #756 from danzel/master
...
Enable translate3d on all webkit3d browsers and a few comments
2012-06-25 14:37:30 -07:00
mourner
500848ef5c
tilelayer bringToFront and bringToBack
2012-06-26 00:32:17 +03:00
mourner
ce06661534
marker update method
2012-06-26 00:21:58 +03:00
mourner
ed3176f18f
path bringToFront and bringToBack
2012-06-26 00:16:46 +03:00
danzel
76897575f6
Comment on bottom positioning popups
2012-06-26 09:07:07 +12:00
danzel
3536e9e3cc
Comment on why a work around is there
2012-06-26 09:07:07 +12:00
danzel
e5239d167d
Ensure translate3d is used in all webkit3d browsers and note why.
2012-06-26 09:07:06 +12:00
mourner
bbd3c93237
add ImageOverlay opacity, hide on zoom animation
2012-06-25 23:45:37 +03:00
Vladimir Agafonkin
dd80fc296e
fix typo in browser
2012-06-25 19:27:42 +03:00
Vladimir Agafonkin
2ac4a6d364
L.Browser and translate refactor and cleanup
2012-06-25 18:58:37 +03:00
Vladimir Agafonkin
99dd46b538
ensure drag is not fired after dragend, closed #555
2012-06-25 18:08:00 +03:00
Vladimir Agafonkin
4ce8d5f459
update build, cleanup
2012-06-25 17:10:01 +03:00
Vladimir Agafonkin
3f0f7d7ad4
Merge pull request #742 from shintonik/tilelayer-load-event-fix
...
TileLayer load event is only fired once
2012-06-25 07:07:00 -07:00
mourner
468cc5c5fa
minor cleanup
2012-06-25 11:56:38 +03:00
Vladimir Agafonkin
183bf50173
Merge pull request #750 from danzel/fix-unit-tests
...
Fix up the unit tests
2012-06-25 01:50:12 -07:00
Vladimir Agafonkin
1a598fe1b7
Merge pull request #751 from danzel/ie10
...
Minor fixups for IE 10 support
2012-06-25 01:48:00 -07:00
mourner
ca9b96edde
Fix IE9 (and older) popup positioning
2012-06-25 11:42:51 +03:00
danzel
d8289081b8
Minor fixups for IE 10 support (Tested with Release Preview in a VirtualBox VM). Not sure if multi-touch support will work as I don't have a device.
2012-06-25 15:30:27 +12:00
danzel
61ce465134
Fix up the unit tests. Polyline.closestLayerPoint and noConflict were broken.
2012-06-25 12:16:46 +12:00
mourner
0479e24034
add autopanstart event to Map
2012-06-23 02:20:32 +03:00
mourner
76b0a1de5a
get rid of "unbounded" stuff (unprojection should always be unbounded)
2012-06-22 18:24:08 +03:00
mourner
d208f38a0a
update build
2012-06-22 17:32:53 +03:00
mourner
0b372dfa7c
Merge remote-tracking branch 'origin/master'
2012-06-22 16:11:12 +03:00
danzel
7ec0563dac
When reuseTiles is enabled, don't remove and re-add tiles from the DOM, just mark them as off screen and reposition them as required. This performs slightly better.
...
google maps does this trick too. You can test by finding the tile container ("leaflet-layer" equiv), right click it and set "break on subtree modifications", this will cause a js break whenever a child node is added/removed from that node.
2012-06-22 16:20:06 +12:00
danzel
c92059324d
Position tiles without 3d transforms, this makes them faster (google maps does the same). The transforms for them (pan, zoom animation etc) happen on a parent node, this is unaffected.
...
If you run chrome with about:flags "Composited render layer borders" enabled you will see each tile is dark blue outlined when 3d positioned (meaning each is a render surface) and when not 3d positioned they are cyan outlined (tiles in a tiled composited layer), which renders faster.
Ref http://www.chromium.org/developers/design-documents/gpu-accelerated-compositing-in-chrome (very bottom)
2012-06-22 16:15:08 +12:00
danzel
640e447c7c
Remove unused variable. Don't set leaflet-tile-loaded multiple times when reuseTiles:true, don't fire tileload for blank images
2012-06-22 15:19:44 +12: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
mourner
02f167e29d
fix Marker zIndex on zoom animation
2012-06-21 14:52:13 +03:00
shintonik
6428baaa6b
bug fix: TileLayer load event was fired only once
2012-06-21 11:10:12 +02:00
danzel
4bc3455812
Fix canvas zooming
2012-06-21 12:05:45 +12: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
106228647e
Only do Marker/Path zoom animation if options.zoomAnimation is on (Aka we are doing the zoom animation), be pointless otherwise ;)
2012-06-21 11:15:02 +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
mourner
6713200642
Fix panning animations in Firefox/Opera
2012-06-20 11:01:03 +03: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
danzel
92f9541f9d
Correct the translate+scale code in Path.SVG so that it works correctly for transitions. THIS FIXES TOUCHZOOM WOO!!!
2012-06-20 16:26:00 +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
289071fa5c
Fix up TouchZoom SVG zoom handling AGAIN. This works, but if you do some weird movements (two finger scroll on iPad) it makes the animation get weird.
2012-06-19 11:59:58 +12:00
danzel
bda2a8a2bc
Add zooming animation support to Path.Canvas layers also.
2012-06-19 11:12:29 +12:00
danzel
0556e73c3f
Path.SVG needs to keep track of when a zoom is going on and not redraw while it is happening or the animation will get messed up
2012-06-19 10:38:32 +12:00
danzel
60f4a70710
Make BackfaceVisibility generic.
2012-06-19 10:21:57 +12:00
danzel
063341c35e
Add L.Browser.opera3d, L.Browser.any3d and use it everywhere instead of testing each browsers 3d everywhere. Gives opera 3d support!
...
Not totally happy with L.Browser.any3d not being in the closure, but it works.
2012-06-19 09:49:44 +12: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
86596daa8f
Only do SVG zoomstart handling if we support 3d transforms
2012-06-19 09:20:32 +12:00
danzel
c42ce5992f
Code tidy up/compaction
2012-06-19 09:20:32 +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
6de02571a1
Only apply Path.SVG mobile Webkit hack for mobileWebkit
2012-06-19 09:20:29 +12:00
danzel
65fe7a8e5b
Position Popup using L.DomUtil.setPosition for Hardware Accel.
2012-06-19 09:20:28 +12:00
danzel
04bb46a053
Make Map.ZoomAnimation hack browser independant, works on firefox too :)
2012-06-19 09:20:28 +12:00
danzel
cc304bf212
Add gecko3d support to Browser/DomUtil
2012-06-19 09:20:27 +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
mourner
8fa1a0632e
Merge remote-tracking branch 'origin/master'
2012-06-18 12:10:37 +03:00
mourner
2e80cfd719
update build, some merges
2012-06-18 12:10:20 +03:00
Vladimir Agafonkin
a287a6f553
Merge pull request #638 from jacobtoye/PreventDefault
...
Prevent default action when opening layers control
2012-06-18 02:01:06 -07:00
Vladimir Agafonkin
9a1360b7e5
Merge pull request #701 from shramov/polyline-edit-fix
...
polyline: Fix old position of middle point
2012-06-18 01:56:50 -07:00
Vladimir Agafonkin
0858706837
Merge pull request #716 from twinbit/master
...
Add coordinates to "featureparse" event
2012-06-18 01:54:00 -07: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
Pavel Shramov
03a84a9a84
polyline: Don't reinitialize MarkerGroup
...
If updateMarkers is called without add/remove old
markers are removed but new don't appear on map
2012-06-12 16:16:34 +04:00
Pavel Shramov
cacf112494
polyline: Fix old position of middle point
...
When marker position changed and middle point is clicked (not dragged)
old coordinates are used for new point.
2012-06-12 16:16:34 +04:00
Paolo e Stefano Mainardi
4aed9ed533
Keep geometry object on "featureparse" event.
2012-06-04 03:15:59 +03:00
Paolo e Stefano Mainardi
0ca0f2275a
Add coordinates to featureparse event.
2012-06-04 03:04:38 +03:00
Pavel Shramov
95ae759632
polyline: Remove deleted marker from internal list
...
When marker is deleted from line it's left in internal _markers list.
2012-05-25 19:18:53 +04:00
mourner
3c8495b6f3
Fixed layers control in IE7, closed #652
2012-05-16 16:39:03 +03:00
Vladimir Agafonkin
13d861360f
Merge pull request #682 from cfis/tilesLoaded
...
Make sure TileLayer load event is fired
2012-05-15 16:15:34 -07:00
Vladimir Agafonkin
7a056b660f
Merge pull request #683 from cfis/tileLayersToLoad
...
_tileLayersToLoad Cleanup
2012-05-15 16:14:21 -07:00
Vladimir Agafonkin
7d46fdd2b4
Fix error with removing GeoJSON, closes #685
2012-05-16 02:13:15 +03: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
Charlie Savage
da29f47e25
The load event for a tile layer is only fired after all tiles are loaded. However, the previous code only took into account successful tile loads. It is legitimate for a tile load to cause an error - you might be zoomed out on a map and are pulling a non-existent tile (especially on indoors maps). This patch takes into account both successful and unsuccessful tile loads.
2012-05-12 17:22:53 -06:00
mourner
0a6e8d87b7
update build
2012-05-10 17:17:04 +03:00
mourner
c188756573
Merge remote-tracking branch 'origin/master'
2012-05-10 17:08:14 +03:00
mourner
6f40aeeb97
refactor icon and default marker image paths, wrap library in a function
2012-05-10 17:03:50 +03:00
Graeme West
8b2bda9bc3
Converting spaces to tabs for consistency.
2012-05-10 11:45:06 +01:00
Graeme West
081b75b6e8
Fixing indentation so that Leaflet compiles.
2012-05-10 10:05:54 +01:00
mourner
be647f1b20
Make any Circle visible even on low zoom levels
2012-05-10 11:12:59 +03:00
mourner
7956c8c87e
limitExecByInterval fixes
2012-05-10 11:09:30 +03:00
Vladimir Agafonkin
1de934ef7e
Merge pull request #586 from Mithgol/master
...
Detect retina displays and adjust tileSize accordingly
2012-05-10 01:00:58 -07:00
Peter Gassner
b0486f2e0b
Fix feature detection for IE9 when drawing SVG paths
2012-05-07 16:56:30 +03:00
Charlie Savage
d6af5e8e03
this.edit is not always set for polygons - this happens to us for example when loading from geojson. This patch makes sure that this.editing is set before checking whether editing is enabled.
2012-05-07 00:05:47 -06:00
Geremia Taglialatela
434e09f01b
ie6 filter clearing fix
2012-05-05 13:13:07 +02: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
96b5e510c5
Merge remote branch 'upstream/master'
2012-05-04 23:51:44 -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
Vladimir Agafonkin
0bd0c1a95a
Merge pull request #657 from ericmmartinez/master
...
Patch for L.Control#setPosition
2012-05-03 07:55:53 -07:00
emartinez
cfbf31721b
Patch so setPosition works properly on Control.
2012-05-01 18:04:27 -06:00
Aaron King
69aa3500ff
Add getLatLng() and getRadius() methods to L.Circle.
2012-04-30 15:52:23 -07:00
Aaron King
1ffedae5ab
Add getContainer() method to L.Map as per the documentation.
2012-04-27 12:49:57 -07:00
Dino Ravnić
1195ac3eea
code reformating to make it compliant with jake
2012-04-27 15:00:36 +02:00
Vladimir Agafonkin
0d5e4ccf54
Merge pull request #602 from chx007/patch-1
...
getViewportOffset -> position:fiexd
2012-04-25 13:59:56 -07:00
jacobtoye
4e2fe35554
Prevent the default action and stop propagation when the layers control is expanded.
2012-04-17 13:11:41 +12:00
Mithgol the Webmaster
a8fa869a41
includes fixes provided by Max Ogden
2012-04-08 05:10:32 +04:00
djomp
ecec332504
Fix for passing jake jshint
2012-04-03 10:42:29 +02:00
Reed
a73b812fe1
fixed _checkIfEmpty in Circle.js with check for _map property
2012-04-01 15:39:00 -04:00
Mithgol the Webmaster
cc0fc0e5b7
adjust zoom levels as well (otherwise markers seem mispositioned)
2012-03-30 09:46:31 +04:00
Mithgol the Webmaster
443181af07
detectRetina is optional (false by default) to prevent map features (like city titles) from being too small to read on retinal tiles
2012-03-26 19:57:12 +04:00
chx007
280649bf42
getViewportOffset -> position:fiexd
2012-03-26 22:04:57 +08:00
Damon Oehlman
ab936cbafb
Tweaked DOM util opacity to only apply in IE when opacity !== 1
2012-03-26 14:53:05 +10:00
Johannes
7a9b504e75
Fix bug in bind causing loss of arguments
...
Empty Arrays are truthy
Fixes issue #574
2012-03-17 16:57:47 +00:00
Mithgol the Webmaster
97cd41e9f5
correction: window.devicePixelRatio > 1 becomes false even if devicePixelRatio is undefined
2012-03-16 10:53:54 +04:00
Mithgol the Webmaster
c7e29b5a87
detecting retina displays, adjusting tileSize
2012-03-16 09:44:07 +04:00
mourner
b333f86e1d
fix superclass regression
2012-03-09 11:28:14 +02:00
mourner
9081e9a00c
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-03-07 00:08:17 +02:00
Vladimir Agafonkin
14f1a6a947
Merge pull request #557 from JasonSanford/feature-group-bounds
...
Adding getBounds method to FeatureGroup.
2012-03-06 07:13:07 -08:00
Mattias Bengtsson
e27f4cbcbd
Make Leaflet build again.
2012-03-06 15:18:53 +01:00
Jason Sanford
713a3a702f
Adding getBounds method to FeatureGroup.
2012-03-03 22:54:50 -07:00
mourner
e5f934e97f
more global refactoring
2012-03-04 00:42:50 +02:00
Vladimir Agafonkin
d7998fa7cb
Merge pull request #553 from JasonSanford/bounds-extend
...
LatLngBounds.extend(otherLatLngBounds)
2012-03-03 13:37:50 -08:00
CKeen
a4197a825e
add start & end events for Map.BoxZoom
2012-03-03 11:39:14 -05:00
Jason Sanford
d86278571d
LatLngBounds.extend(otherLatLngBounds) seems to be working. Addresses #517 .
2012-03-03 08:39:18 -07:00
mourner
0474023675
initial global refactoring
2012-03-03 17:02:20 +02:00
Vladimir Agafonkin
20c0bad37e
Merge pull request #548 from mehmeta/contentupdated
...
Added contentupdated event to popup
2012-03-03 05:51:33 -08:00
Vladimir Agafonkin
e9d9a021d3
Merge pull request #552 from mehmeta/polyedit
...
Bugfix: Proper cleanup of marker editing handler when it is disabled.
2012-03-03 05:50:48 -08:00
Mehmet Alkanlar
cf52a5168b
Moving it inside the if clause makes more sense.
2012-03-02 15:52:53 -07:00
Mehmet Alkanlar
5437de4116
Bugfix: Proper cleanup of marker editing handler when it is disabled.
...
This fixes a critical bug which occurs if editing is enabled, disabled
and enabled again. Since line 16 checks for existence of marker group
reference, markers never get reinitiated, causing the handler to use
the old ones, which may have been changed in the last editing session.
2012-03-02 15:43:35 -07:00
mourner
59f6672e64
whitespace fix
2012-03-01 14:10:27 +02:00
Mehmet Alkanlar
85ae6d9192
Renamed the event according to conventiions
2012-02-29 17:11:24 -07:00
Mehmet Alkanlar
925ffd6538
Fixed bugs on polyline editing regarding edge cases
...
This commit fixes couple bugs. One of them is polylines (or polygons)
can be reduced to a single point by clicking on markers to remove
them. Second, if an edge point is clicked for a polyline (not
applicable to polygons since they are a circular linked list) code
produces a js error since previous or next might not be present.
2012-02-29 15:35:35 -07:00
Mehmet Alkanlar
cbe7e9795f
Added contentupdated event to popup
2012-02-29 15:24:21 -07:00
mourner
401a6e2224
Added originalEvent to Marker mouse events, closed #408
2012-02-26 01:14:42 +02:00
mourner
14e3eff44b
Fixed IE regression, closed #539
2012-02-26 01:11:43 +02:00
mourner
fc0b477622
minor cleanup
2012-02-25 17:13:30 +02:00
mourner
90198ec519
added scale control
2012-02-25 17:04: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ć
5d1b56c9e7
"instanceof window.Event" didn't worked on Chrome, so replaced it with a more general variant
2012-02-25 01:31:37 +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
0f914b6409
fix regression with tile loading
2012-02-24 22:48:22 +02:00
mourner
bca3c8eb67
fix typo (treshold -> threshold)
2012-02-24 18:18:50 +02:00
mourner
2e9551dbe9
Merge branch 'inertia'
2012-02-24 17:20:44 +02:00
mourner
57aee3c5ed
Finally implemented panning inertia, closed #17
2012-02-24 17:19:53 +02:00
mourner
0299c02d27
Fixed world wrapping regression, closed #526
2012-02-24 17:17:00 +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
8ba23eb393
Don't do tile update when animation is in progress
2012-02-24 16:51:10 +02:00
Jason Sanford
a7081e6927
Fixing typo in Rectanlge.js description. Adding Rectangle.js to dependencies.
2012-02-23 14:02:10 -07: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
08dccbc71c
fix some more whitespace
2012-02-23 10:52:49 +02:00
mourner
d728779bc6
fix controls regression
2012-02-23 10:47:19 +02:00
Vladimir Agafonkin
d6d35c0f19
Merge pull request #523 from thatjpk/fire_edit_on_drag_vertex
...
Fire 'edit' event while dragging editable polygon/line marker.
2012-02-23 00:36:48 -08:00
mourner
2c54d55189
fix missing semicolon
2012-02-23 10:33:49 +02:00
Vladimir Agafonkin
849a3b6e1b
Merge pull request #524 from giscloud/return.this.fix
...
all paths need to return "this"
2012-02-22 23:23:58 -08:00
jpk
5f9bd71f61
Fixes click (without drag) on middle marker to fire 'edit'.
2012-02-22 20:24:05 -05:00
jpk
fb255798dd
Makes polygon/line edits fire('edit') only on dragend.
2012-02-22 20:10:07 -05:00
jpk
62f3b6faeb
Merge remote-tracking branch 'upstream/master' into fire_edit_on_drag_vertex
2012-02-22 20:09:46 -05:00
mourner
0a7bafd14f
initial inertia work (experimental)
2012-02-23 01:10:28 +02:00
Dino Ravnić
e690cceda3
all paths need to return "this"
2012-02-23 00:09:30 +01:00
mourner
9bf845851d
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-02-22 23:39:21 +02:00
Vladimir Agafonkin
128dd319e6
Merge pull request #521 from k4/master
...
ctrl-click event
2012-02-22 13:12:50 -08:00
k4
d26a35aa14
save original event in MouseEvent.
2012-02-22 21:25:19 +03:00
k4
92437ae100
save original event in MouseEvent.
2012-02-22 21:23:12 +03:00
k4
9da8dcf803
save original event in MouseEvent.
2012-02-22 21:20:03 +03:00
jpk
5539886132
Fire 'edit' event while dragging editable polygon/line marker.
2012-02-22 12:40:10 -05:00
Vladimir Agafonkin
1abcc66f19
more zoom control cleanup
2012-02-22 15:28:38 +02:00
k4
4be061a5cc
add ctrlKey to mouse event
2012-02-22 17:27:20 +04:00
Vladimir Agafonkin
764205765a
clean up zoom control code
2012-02-22 15:26:30 +02:00
k4
0336d1c8c8
add ctrlKey to mouse event
2012-02-22 17:25:51 +04:00
mourner
2f0fbc3ca3
make panning even more smooth
2012-02-22 09:00:54 +02:00
mourner
dfdd363d2e
cancelAnimFrame function
2012-02-22 08:59:17 +02:00
Jason Sanford
a9c1629875
DRYing things up a bit with Rectangle.js
2012-02-21 07:47:34 -07:00
Jason Sanford
53627cab80
Merge branch 'master' of git://github.com/CloudMade/Leaflet
2012-02-21 07:39:54 -07:00
mourner
e6af79d005
Fixed poly editing with layer add/remove bugs, closed #508
2012-02-21 15:28:11 +02:00
mourner
7889b692b0
Made Marker openPopup fail silently, closed #507
2012-02-21 15:07:54 +02:00
mourner
60f96281e7
Fixed false clicks on touch devices bugs, closed #485
2012-02-21 14:58:01 +02:00
mourner
96e29ee3e9
Fixed manual popup closing bug, closed #423
2012-02-21 14:53:59 +02:00
mourner
10bb71fb2a
Improved panning usability on marker-crowded maps, closed #506
2012-02-21 12:32:11 +02:00
mourner
495f4d3632
More Icon-related improvements
2012-02-21 12:02:54 +02:00
mourner
e64743f741
Bringed back the mouseEventToLatLng method, closed #515
2012-02-21 10:46:04 +02:00
Jason Sanford
6778c4c26b
Adding setBounds method to Rectangle layer.
2012-02-20 22:08:28 -07:00
Jason Sanford
e90230272d
Merge branch 'master' of git://github.com/CloudMade/Leaflet
2012-02-20 21:54:23 -07:00
mourner
1e72e40c89
Added Popup maxHeight option, updated default popup styles
2012-02-17 15:32:40 +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
Jason Sanford
b18491c25d
Adding L.Rectangle. Just ready to test in debug, still needs added to build scripts, documentation to be comlete. Addresses #494 .
2012-02-16 23:36:46 -07:00
mourner
d907c6df63
Fixed setStyle stroke/fill update bug, closed #441
2012-02-16 18:56:39 +02:00
mourner
c3b33d8ca3
Polyline editing fixes, better debug page
2012-02-16 18:11:17 +02:00
Vladimir Agafonkin
b76cba10e2
Merge pull request #501 from ErrorProne/master
...
Forgot to prevent the default action on Path-right click
2012-02-16 07:56:18 -08:00
mourner
9ae2926327
Add Polyline edit event
2012-02-16 17:46:24 +02:00
mourner
95602105c1
Merge remote-tracking branch 'origin/master'
2012-02-16 17:29:00 +02:00
mourner
ebbad27cbd
More polyline/polygon editing (middle markers), #174
2012-02-16 17:28:42 +02:00
Finn Herpich
395eeca7f4
forget to prevent the default context menu action
2012-02-16 16:26:49 +01:00
Finn Herpich
b863b0baf0
Added contextmenu to Path.SVG Events
2012-02-16 15:19:29 +01:00
mourner
43305b9ffb
Initial polyline/polygon editing implementation, #174
2012-02-16 14:15:47 +02:00
mourner
b90c2f551f
Clean up LatLngBounds#pad, update changelog
2012-02-16 13:09:48 +02:00
mourner
f9b3e28833
Merge remote-tracking branch 'origin/master'
2012-02-16 13:01:32 +02:00
mourner
1a8a0ce632
Added DivIcon for lightweight div-based markers, and editable poly example
2012-02-16 13:00:45 +02:00
mourner
e42f140970
Refactored Icon to use options instead of properties
2012-02-16 13:00:09 +02:00
mourner
bf558551ed
Fix flickering cursor on marker dragging
2012-02-16 12:58:56 +02:00
mourner
e5feddf8fc
Made Path redraw method public and chainable
2012-02-16 11:40:50 +02:00