Commit Graph

1134 Commits

Author SHA1 Message Date
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
mourner
0a6e8d87b7 update build 2012-05-10 17:17:04 +03:00
mourner
9bf54700b0 rename marker image 2012-05-10 17:16:51 +03:00
mourner
c188756573 Merge remote-tracking branch 'origin/master' 2012-05-10 17:08:14 +03:00
mourner
dbf507c844 update jshint settings 2012-05-10 17:04:48 +03:00
mourner
6f40aeeb97 refactor icon and default marker image paths, wrap library in a function 2012-05-10 17:03:50 +03:00
Vladimir Agafonkin
2678acde38 Merge pull request #678 from SpotSpecific/master
Fixing indentation in Retina Display compatibility code
2012-05-10 05:52:17 -07: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
70f9d3006b CR LF -> LF 2012-05-10 11:11:52 +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
Vladimir Agafonkin
7f1bfa702c Merge pull request #671 from naehrstoff/patch-1
Fix feature detection for IE9 when drawing SVG paths
2012-05-07 07:42:20 -07:00
Peter Gassner
b0486f2e0b Fix feature detection for IE9 when drawing SVG paths 2012-05-07 16:56:30 +03:00
Vladimir Agafonkin
27a5f7414f Merge pull request #669 from cfis/editingFix
Check this.edit is set
2012-05-07 01:15:02 -07: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
Vladimir Agafonkin
8528b38b79 Merge pull request #667 from tagliala/ie6-filter-fix
ie6 filter clearing fix
2012-05-05 06:23:20 -07:00
Geremia Taglialatela
434e09f01b ie6 filter clearing fix 2012-05-05 13:13:07 +02:00
Vladimir Agafonkin
0bd0c1a95a Merge pull request #657 from ericmmartinez/master
Patch for L.Control#setPosition
2012-05-03 07:55:53 -07:00
Vladimir Agafonkin
dfb04aa5e9 Merge pull request #655 from Guiswa/master
Add getLatLng() and getRadius() methods to L.Circle.
2012-05-03 07:55:00 -07:00
emartinez
cfbf31721b Patch so setPosition works properly on Control. 2012-05-01 18:04:27 -06:00
Aaron King
f7ee53e226 Merge remote-tracking branch 'upstream/master' 2012-04-30 16:08:39 -07:00
Aaron King
69aa3500ff Add getLatLng() and getRadius() methods to L.Circle. 2012-04-30 15:52:23 -07:00
Vladimir Agafonkin
58e4f8d116 Merge pull request #654 from Guiswa/1ffedae5ab7621f4d59dcd0be640ae62b029a042
getContainer() method for L.Map
2012-04-28 04:29:17 -07:00
Aaron King
ea3f69dfe5 Merge remote-tracking branch 'origin/master' 2012-04-27 12:51:47 -07:00
Aaron King
1ffedae5ab Add getContainer() method to L.Map as per the documentation. 2012-04-27 12:49:57 -07:00
unknown
91e01dc64e Add getContainer() method to L.Map as per the documentation. 2012-04-27 12:46:41 -07:00
Vladimir Agafonkin
75138e32e9 Merge pull request #653 from giscloud/reformating.fix
code reformating to make it compliant with jake
2012-04-27 06:08:11 -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
Vladimir Agafonkin
d1096c448f Merge pull request #633 from michael/patch-1
Update README.md
2012-04-11 22:59:49 -07:00
Michael Aufreiter
d06de05e4b Update README.md 2012-04-12 01:24:40 -03:00
Mithgol the Webmaster
a8fa869a41 includes fixes provided by Max Ogden 2012-04-08 05:10:32 +04:00
Vladimir Agafonkin
378a3339e6 Merge pull request #621 from djomp/patch-1
Fix for passing jake jshint #617
2012-04-03 01:56:39 -07:00
djomp
ecec332504 Fix for passing jake jshint 2012-04-03 10:42:29 +02:00
Vladimir Agafonkin
926ac5deb0 Merge pull request #617 from runderwood/a73b812fe1e6b089225b33da049de99fdbb32dd8
Added Conditional in Circle.js to Prevent Exceptions
2012-04-01 13:12:28 -07: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
Vladimir Agafonkin
409e5d729b Merge pull request #600 from DamonOehlman/filter-tweak
Tweaked DOM util opacity to only apply in IE when opacity !== 1
2012-03-26 13:52:51 -07: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
Vladimir Agafonkin
0f0329f2fe Merge pull request #589 from johtso/patch-2
Add basic geolocation debug page
2012-03-25 06:25:38 -07:00
Johannes
7c0b9f06b8 Clean up commented lines 2012-03-19 04:29:17 +00:00
Johannes
c95945582e Add basic geolocation debug page 2012-03-17 19:19:56 +00:00
Vladimir Agafonkin
fa9e0029de Merge pull request #588 from johtso/patch-1
Fix bug in bind causing loss of arguments
2012-03-17 11:38:22 -07: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