Commit Graph

1874 Commits

Author SHA1 Message Date
Vladimir Agafonkin
11e74ccab9 minor cleanup 2013-01-15 16:19:04 +02:00
Vladimir Agafonkin
e49fe66738 update changelog more 2013-01-15 16:18:57 +02:00
Vladimir Agafonkin
51820f5d48 fix changelog 2013-01-15 12:39:43 +02:00
Vladimir Agafonkin
10f07c18ef update changelog 2013-01-15 12:37:56 +02:00
Vladimir Agafonkin
c27e26273a update changelog 2013-01-15 12:32:46 +02:00
Vladimir Agafonkin
85dffbd9eb update build 2013-01-15 12:16:15 +02:00
Vladimir Agafonkin
405bf0c05d Merge pull request #1279 from oslek/isArray
Robust array type check for cross-frame support
2013-01-14 15:11:41 -08:00
oslek
7dd7e4f699 Robust array type check for cross-frame support
In a multi-frame DOM environment, if setView is called with an array for
the first parameter, a subsequent call to getBounds raises "Invalid
LatLng object" exception. This is the case if the array passed to
setView was created outside the iFrame that contains the map. It causes
the array test using "instanceof" in L.latLng to fail, and
_initialTopLeftPoint to not being properly initialized.

Thank you to Juriy Zaytsev for the full explaination:
http://perfectionkills.com/instanceof-considered-harmful-or-how-to-write-a-robust-isarray/
John Resig and Dean Edwards post comments and concur.
2013-01-14 14:04:50 -08:00
Dave Leaver
a598e2bc75 Merge pull request #1278 from danzel/master
Fix jshint unhappiness (Thanks @Guiswa)
2013-01-14 13:53:01 -08:00
danzel
365a5b3b02 Fix jshint unhappiness (Thanks @Guiswa) 2013-01-15 10:51:36 +13:00
Vladimir Agafonkin
dad3996d0e Merge pull request #1097 from calvinmetcalf/GeometryCollection
GeoJSON GeometryCollection passes consisent params to pointToLayer
2013-01-14 06:33:28 -08:00
Calvin Metcalf
0ebbd7553e fixed the whitespace and also removed the quotes in object keys 2013-01-14 07:25:34 -05:00
Vladimir Agafonkin
3f4e890b58 Merge pull request #1174 from danzel/master
Add retina marker icon support and retina-ize the default icon
2013-01-14 02:50:28 -08:00
danzel
6eefa8ad0e Another pass on marker-icon, better grid fitting. 2013-01-14 16:12:58 +13:00
mourner
aa39185516 update changelog 2013-01-14 01:20:50 +02:00
Vladimir Agafonkin
7fb3609a92 Oops, revert accidental commit 2013-01-14 00:42:15 +02:00
mourner
333899ca51 add Popup zoomAnimation option, fix #999 2013-01-14 00:23:45 +02:00
mourner
5eb4f4686d fix a bug with FeatureGroup bindPopup not accepting options 2013-01-14 00:23:04 +02:00
Vladimir Agafonkin
cbd6cf52e8 Update README.md 2013-01-13 01:58:55 +02:00
Vladimir Agafonkin
c2064ef204 Merge pull request #1273 from snkashis/fix_circle_clicks
Remove canvas click handler with onRemove, #1006
2013-01-12 14:02:53 -08:00
snkashis
b3a7f2ffb7 Remove click handler with onRemove 2013-01-12 16:55:13 -05:00
Vladimir Agafonkin
eb518f33ac Merge branch 'master' of github.com:Leaflet/Leaflet 2013-01-11 18:50:44 +02:00
Vladimir Agafonkin
4ebfeb9d18 udpate copyright to be more precise 2013-01-11 18:50:21 +02:00
Vladimir Agafonkin
116671fa55 Merge pull request #1013 from fdlk/set-radius-in-style
radius is part of CircleMarker style so should be changeable in using setStyle();
2013-01-11 08:43:18 -08:00
Vladimir Agafonkin
88a9dbd053 Merge pull request #1216 from moonlite/better-zoomcontrol-borders-take2
Smaller inner border radius.
2013-01-11 08:40:05 -08:00
Vladimir Agafonkin
bc4104c708 fix TileLayer.brintToFront/Back on IE6-8, close #1168 2013-01-11 18:33:17 +02:00
Vladimir Agafonkin
3d1bb11919 Merge branch 'master' of github.com:Leaflet/Leaflet 2013-01-11 18:21:03 +02:00
Vladimir Agafonkin
64ca0af124 attempt to fix Android 4.1 zoom freeze, #1182 2013-01-11 18:20:40 +02:00
Vladimir Agafonkin
6dd0dea1aa double quotes to single 2013-01-11 18:19:50 +02:00
Vladimir Agafonkin
58d13cac1d Merge pull request #1265 from krekoten/contributing-fix
Add missing "be" to CONTRIBUTING.md
2013-01-11 04:14:09 -08:00
Мар'ян Крекотень (Marjan Krekoten')
c7c6843f87 Add missing "be" to CONTRIBUTING.md 2013-01-11 14:12:37 +02:00
Vladimir Agafonkin
f237c3e174 update link to the new repo location 2013-01-11 13:42:15 +02:00
Vladimir Agafonkin
5b486a494c update license year 2013-01-11 13:42:01 +02:00
Vladimir Agafonkin
8c481d5a87 update build 2013-01-08 12:18:16 +02:00
Vladimir Agafonkin
80d0da1bdf fix iOS vectir zoom anim regression, close #1259 2013-01-08 12:18:10 +02:00
Vladimir Agafonkin
1677a7d40d Merge pull request #1251 from Guiswa/dev/guiswa/issue1226
Fix issue 1226: IE10 "Invalid argument" error in version 0.5 defining retina
2012-12-31 11:25:37 -08:00
Aaron King
c2869cee5d Fix issue 1226: IE10 "Invalid argument" error in version 0.5 defining retina
https://github.com/CloudMade/Leaflet/issues/1226

Credit to dreamfall for the fix.
2012-12-31 10:39:24 -08:00
Vladimir Agafonkin
590bbd9ba7 Merge pull request #1245 from danzel/ie
Re-add L.Browser.ie as it is used in debug\vector\geojson.html(113).
2012-12-28 04:49:46 -08:00
Vladimir Agafonkin
733666bcab Merge pull request #1240 from brianherbert/allow-null-geojson
Allow null GeoJSON geometries.
2012-12-28 04:49:31 -08:00
Brian Herbert
971e55b911 Simplifying condition for null geojson geometries.
Used feedback from @mourner to make the change from the pull request
#1240
2012-12-28 11:56:19 +09:00
danzel
f57e2eadcb Re-add L.Browser.ie as it is used in debug\vector\geojson.html(113). Fixes #1242 2012-12-28 11:21:23 +13:00
Vladimir Agafonkin
e825b32cf8 Merge pull request #1244 from danzel/fix-events
Change marker click tracking. Only care if the map has been dragged if we are not draggable.
2012-12-27 13:53:55 -08:00
Vladimir Agafonkin
7163d30ef8 Merge pull request #1243 from snkashis/fix_canvas_ref
Handling clicks on paths with L_PREFER_CANVAS, #1215
2012-12-27 12:52:37 -08:00
snkashis
b2e3f16b54 pass the clicked obj, not the map. 2012-12-27 15:37:57 -05:00
Vladimir Agafonkin
5109492a35 Merge pull request #1231 from snkashis/fix_wms_params
handle existing query strings for WMS urls , #973
2012-12-27 11:42:31 -08:00
snkashis
6b4f5c4cf7 handling no existingUrl scenario 2012-12-27 14:39:19 -05:00
Vladimir Agafonkin
045883bfae Merge pull request #1237 from Felixls/patch-1
Update build/build.js
2012-12-27 04:58:06 -08:00
Brian Herbert
2a38a809d3 Allow null GeoJSON geometries.
This change checks if a geometry/ies in GeoJSON are set as null, in
which case it will skip it.
2012-12-27 12:15:08 +09:00
Felixls
156a4814da Update build/build.js
Error in index variable
2012-12-26 15:21:10 -02:00
snkashis
3d416f38e1 whitespace for hash 2012-12-26 11:45:38 -05:00