Commit Graph

519 Commits

Author SHA1 Message Date
mourner
bbd3c93237 add ImageOverlay opacity, hide on zoom animation 2012-06-25 23:45:37 +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
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
mourner
ca9b96edde Fix IE9 (and older) popup positioning 2012-06-25 11:42:51 +03: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
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
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
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
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
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
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
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
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
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
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
6e1802a7db Animate SVG layers when zooming 2012-06-19 09:20:30 +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
mourner
2e80cfd719 update build, some merges 2012-06-18 12:10:20 +03: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
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
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
7d46fdd2b4 Fix error with removing GeoJSON, closes #685 2012-05-16 02:13:15 +03: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
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
Aaron King
69aa3500ff Add getLatLng() and getRadius() methods to L.Circle. 2012-04-30 15:52:23 -07: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
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
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
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
0f914b6409 fix regression with tile loading 2012-02-24 22:48:22 +02:00
mourner
2e9551dbe9 Merge branch 'inertia' 2012-02-24 17:20:44 +02:00
mourner
0299c02d27 Fixed world wrapping regression, closed #526 2012-02-24 17:17:00 +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
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
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
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
jpk
5539886132 Fire 'edit' event while dragging editable polygon/line marker. 2012-02-22 12:40:10 -05:00
k4
4be061a5cc add ctrlKey to mouse event 2012-02-22 17:27:20 +04: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
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
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
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
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
e5feddf8fc Made Path redraw method public and chainable 2012-02-16 11:40:50 +02:00
mourner
6040d8bf77 Added Circle#getBounds, closed #440 2012-02-15 18:54:11 +02:00
mourner
ae99354857 interpolate URL values from options (instead of urlParams 3rd argument) 2012-02-15 18:23:34 +02:00
mourner
a2a666d9c3 update build 2012-02-15 17:50:59 +02:00
mourner
808d01207c another batch of cleanup and refactoring 2012-02-15 17:50:22 +02:00
mourner
8e131c5f32 more cleanup and refactoring 2012-02-15 17:05:55 +02:00
mourner
e3d0e24a0c cleaning up and formatting code 2012-02-15 13:17:25 +02:00
mourner
81e6fe4b95 webkit memory issue hack for webkit 2012-02-15 10:49:42 +02:00
mourner
bc39d7036b fix black tile flickering bug, update changelog, build 2012-02-14 17:25:47 +02:00
Bryan McBride
d5660ef6ca Support ability to add a tile layer below all others for TileLayer.WMS 2012-02-13 10:04:23 -05:00
mourner
fdde989f05 Fixed Android 3 stability issues 2012-02-13 16:01:00 +02:00
mourner
0ef3058512 Added setZIndexOffset to Marker, closed #449 2012-02-13 12:50:18 +02:00
Vladimir Agafonkin
cdf91c2572 Merge pull request #468 from appelflap/master
Make L.TileLayer._update obey min/max Zoom of layer
2012-02-12 23:41:41 -08:00
Norbert Renner
a9bca5ceef Fix empty popup on Internet Explorer 2012-02-07 23:16:05 +01:00
appelflap
388b6aeadb Make _update obey min/max Zoom of layer 2012-02-03 23:38:50 +01:00
mourner
fd2426eabd minor TileLayer edits 2012-02-03 20:17:20 +02:00
mourner
de78de0fee Update build and changelog 2012-02-03 12:51:29 +02:00
mourner
8088be451e merge reverse zoom TileLayer option from Majiir 2012-02-03 12:41:18 +02:00
Vladimir Agafonkin
10aa67a438 Merge pull request #460 from mortenbekditlevsen/divicon
<div> Icon
2012-02-03 01:55:13 -08:00
Vladimir Agafonkin
769ecd9801 Merge pull request #459 from mortenbekditlevsen/redraw
'redraw' method for TileLayer.Canvas
2012-02-03 01:55:08 -08:00
Morten Ditlevsen
b7a2eeacd8 If image source for an icon is null, then create a div-object instead of an img-object 2012-02-02 15:29:55 +01:00
Morten Ditlevsen
a42491e272 'redraw' method for Tile.Canvas layer 2012-02-02 15:28:58 +01:00
Morten Ditlevsen
de740148a0 Option to reuse tiles instead of creating and destroying them continuously 2012-02-02 15:07:37 +01:00
Vladimir Agafonkin
a485d668db Fix incorrect merge of #373 2012-01-25 10:58:08 +02:00
Jonathan DERROUGH
f684eca40b Marker._map is undefined in Marker.bindPopup()
This would occur when the Map has never been set/reset.
'this._map' is now tested before being accessed with a call to Map.openPopup().
2012-01-14 17:47:28 +01:00
ErshKUS
69885956e6 leaflet-popup class should be always present 2012-01-06 15:40:50 +03:00
ErshKUS
15fe83b150 add options correct class popup 2012-01-06 13:16:24 +03:00
Majiir Paktu
1f45ef7348 Added zoomInvert option to reverse the order in which zooms are numbered. 2011-12-23 12:56:56 -05:00
mourner
50a5790072 Fixed empty Polygon constructor issue 2011-12-16 14:16:18 +02:00
mourner
2fabb23358 Added Marker zIndexOffset option, closed #65 2011-12-15 14:46:36 +02:00
mourner
80048bddf4 Fixed Safari redraw after popup issue, closed #296 2011-12-15 13:56:29 +02:00
mourner
e50c98863c Added FeatureGroup setStyle and invoke methods, closed #353 2011-12-15 13:25:25 +02:00
mourner
83af28eae9 Fixed GeoJSON date line rendering bug, closed #354 2011-12-15 12:07:35 +02:00
mourner
36eb9d3cbd fix map drag regression 2011-12-14 15:09:59 +02:00
mourner
873bf10442 Move popup on Marker setLatLng (by @tjarratt), closes #272 2011-12-14 13:42:50 +02:00
mourner
5db85f2a76 Added ImageOverlay load event, closed #213 2011-12-14 13:38:42 +02:00
mourner
8504147844 Restructure handler code 2011-12-14 13:12:54 +02:00
mourner
877bc7c908 fix whitespace 2011-12-13 17:37:14 +02:00
mourner
4751d1dbea Merge map popup events by @chosak #373 2011-12-13 17:34:56 +02:00
mourner
c509c55f20 more whitespace fixes 2011-12-10 13:48:45 +02:00
mourner
8c6b5b3df5 Fixed GeoJSON pointToLayer not working inside a GeometryCollection, closed#391 2011-12-09 18:19:58 +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
Andy Chosak
eb9be64bd8 Add map events for popup open/close. 2011-11-22 10:45:43 -05: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
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
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
Vladimir Agafonkin
13d07ebd72 Added mousemove to paths 2011-10-20 14:29:40 +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
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
9fe47c9103 Minor cleanup, tested WebStorm git integration 2011-09-20 14:19:11 +03:00
Dino Ravnić
e86b632a8c firing tileunload when a layer is being reset 2011-09-12 14:33:27 +01:00
Mourner
d9f9cbfd2e added TileLayer zoomOffset option (thanks to @msaspence) 2011-09-09 14:30:56 +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
Vladimir Agafonkin
d36d4b514c Merge pull request #256 from CodeJosch/tileunload
Fire a "tileunload" when tiles removed
2011-08-31 05:03:26 -07: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
Jochen
900711b59a fire a "tileunload" when tiles removed 2011-08-16 16:58:21 +02: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
83372eb0ed fix marker setLatLng in case it's called before adding #222 2011-08-11 15:43:40 +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
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
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
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