Commit Graph

396 Commits

Author SHA1 Message Date
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
Vladimir Agafonkin
876de46b2f Merge pull request #194 from anru/multipoly
Add method setLatLngs to L.MultiPolygon and L.MultiPolyline
2011-07-21 00:40:49 -07:00
Andrey Rublev
78c51b06b0 Add method setLatLngs to L.MultiPolygon and L.MultiPolyline 2011-07-21 11:29:28 +07:00
Vladimir Agafonkin
dc1ddd86a5 Merge pull request #200 from anru/master
Fix method L.LineUtil._sqClosestPointOnSegment
2011-07-20 07:45:10 -07:00
Andrey Rublev
94d97d84c0 Fix method L.LineUtil._sqClosestPointOnSegment 2011-07-20 21:42:48 +07:00
Mourner
f87a6583dd Close marker popup on marker removal (merge Rick's pull) 2011-07-20 16:53:48 +03:00
Mourner
189e532dd7 fix potential Safari crashes and tile load errors 2011-07-20 16:28:11 +03:00
Mourner
62db9893c1 fix setPrefix not updating attribution prefix, closes #195 2011-07-20 16:09:18 +03:00
Mourner
67172990bb Fix map click error when dragging is initially disabled, closes #196 2011-07-20 16:05:53 +03:00
Mourner
1ff1edb7b0 Limited zoom change on a single mouse wheel movement, closes #149 2011-07-20 15:54:22 +03:00
Vladimir Agafonkin
c726d6f3cb Merge pull request #189 from anru/domutil
Add L.DomUtil.removeClass method
2011-07-20 04:27:12 -07:00
Vladimir Agafonkin
fdaedb434a Merge pull request #186 from anru/master
Add method Polyline.closestLayerPoint
2011-07-20 04:16:48 -07:00
Andrey Rublev
479eaa6528 Now draggable's event 'drag' syncronized with actual position of draggable element 2011-07-20 14:18:59 +07:00
Andrey Rublev
263a5b9b5f Add method Polyline.closestLayerPoint
Also fix method L.LineUtil.simplify for empty geometry
2011-07-20 13:23:04 +07:00
Andrey Rublev
b27922ea2c Add L.DomUtil.removeClass method 2011-07-15 19:03:35 +07:00
Rick Harris
d1997386fd Remove marker popups when marker is removed 2011-07-13 13:46:57 -04:00
Mourner
cf83c2e146 Merge branch 'master' of git@github.com:CloudMade/Leaflet.git 2011-07-13 14:51:10 +03:00
Mourner
95e0e6345c passing layer config in control constructor 2011-07-13 14:49:36 +03:00
Mourner
50e36cc2cb minor tweaks 2011-07-13 14:38:46 +03:00
Andrey Rublev
9479911e69 Fix Bounds.contains method in case if obj argument is instance of L.Point 2011-07-13 18:13:35 +07:00
Mourner
03075f0928 initial Control.Layers commit 2011-07-12 20:19:29 +03:00
Mourner
0936b5e18c map#hasLayer, ability to add tile layers below all others 2011-07-12 20:18:22 +03:00
Andrey Rublev
e1e1504a1b Improved inheritance mechanism, fixed access to the superclass 2011-07-12 19:00:31 +07:00
anru
40cbee84b4 Fix dragging markers without shadows 2011-07-11 04:04:20 -07:00
Jason Sanford
209471c0fa Path.setStyle didn't return "this". I assume it is supposed to. 2011-07-05 21:32:15 -06:00
Mourner
5f07e8bfc2 fix crash on Android 3, closes #137, #160 2011-07-04 15:01:38 +03:00
Mourner
9c19796f25 rely more on feature detection instead of ua string, closes #142 2011-06-23 14:41:47 +03:00
Mourner
fd62d391f4 fix indentation, use documentFragment when adding tiles, closes #152 2011-06-23 14:28:31 +03:00
Mourner
c739bbff22 fix occasional overlay blurriness in WebKit 2011-06-23 13:58:43 +03:00
mourner
baa90b5d45 fix broken canvas layer positioning in FF, closes #156 2011-06-23 09:25:27 +03:00
Mourner
fd94ffd665 remove accidental console.log 2011-06-22 19:05:44 +03:00
Mourner
77e1459347 don't draw circles that are off the clip region, closes #141 2011-06-22 19:03:11 +03:00
Mourner
d999ab1d01 path canvas fixes (make sure there's no accidental styling) 2011-06-22 18:34:26 +03:00
Mourner
8cdb7069e1 fix regression that caused 'L_PREFER_CANVAS undefined' error 2011-06-22 17:17:22 +03:00
Mourner
6163fd755c click tolerance for polylines 2011-06-22 13:27:03 +03:00
Mourner
4273df1f99 fix circle drawing bug 2011-06-22 12:26:03 +03:00
Mourner
a0a2064a7b remove duplication in canvas code 2011-06-21 18:09:04 +03:00
Mourner
a21f1ebc7a removed excessive line 2011-06-21 18:04:49 +03:00