Commit Graph

2372 Commits

Author SHA1 Message Date
Vladimir Agafonkin
54befc9203 fix True Mercator projection calculations, close #1578 2013-06-24 10:42:15 -04:00
Vladimir Agafonkin
35a5fdb0e5 simplify control layers events code #1634 2013-06-24 10:18:01 -04:00
Vladimir Agafonkin
4b0ef3917e Merge branch 'overlay-event' of https://github.com/Xelio/Leaflet into Xelio-overlay-event
* 'overlay-event' of https://github.com/Xelio/Leaflet:
  External baselayer changes should fire 'baselayerchange' instead of 'overlayadd' 'baselayerchange' event should fire with layer name(use object in _layers of L.Control.Layers) instead of only layer.
  L.Control.Layers: 'overlayadd' and 'overlayremove' event should also fire on external overlay changes.
2013-06-24 10:08:11 -04:00
Vladimir Agafonkin
57a3112b85 fix geolocation data regression in FF/IE, close #1755 2013-06-24 09:50:47 -04:00
Vladimir Agafonkin
9bd725d669 fix zoom anim regression with a hack for now, close #1705 2013-06-24 09:39:49 -04:00
Vladimir Agafonkin
ca4918977b change map.invalidateSize signature to accept options, close #1767, #1766 2013-06-24 09:26:23 -04:00
Vladimir Agafonkin
1ab1bda0be more explicit copyright in the top comment 2013-06-24 09:11:57 -04:00
Vladimir Agafonkin
43c2c6a4a0 fix regression in marker setIcon #1768 2013-06-23 19:44:05 -04:00
danzel
19d49e027f Add another test for marker/shadow reuse 2013-06-24 08:54:40 +12:00
Vladimir Agafonkin
5311d16ddb update build 2013-06-23 09:50:17 -04:00
Vladimir Agafonkin
19637c08a6 fix icon reuse code to properly handle shadow, close #1768 2013-06-23 09:49:34 -04:00
Vladimir Agafonkin
741ec58684 Merge pull request #1770 from snkashis/patch-4
Fix icon.js documentation
2013-06-21 11:11:19 -07:00
Steve
0ec7e03521 Fix icon.js documentation
ShadowUrl was being referred to as a point.
2013-06-21 13:04:18 -03:00
Vladimir Agafonkin
60bb843554 group API bugfixes in changelog 2013-06-21 07:25:24 +03:00
Vladimir Agafonkin
fe8ad15a8e update build 2013-06-21 06:58:23 +03:00
Vladimir Agafonkin
33cfcffa53 update changelog with last month improvements 2013-06-21 06:57:27 +03:00
Vladimir Agafonkin
38b2f0a83d Merge pull request #1766 from jacobtoye/invalidate-size-without-changing-center
Add parameter to invalidateSize for changing the center.
2013-06-20 19:40:14 -07:00
jacobtoye
f9920c87f0 Moving brace to correct position. 2013-06-21 09:38:44 +12:00
jacobtoye
b262fdd26b Add parameter to invalidateSize for changing the center. 2013-06-20 16:59:14 +12:00
Vladimir Agafonkin
287f08565b Merge pull request #1761 from popox/marker-togglePopup
Nice to have feature - Toggle the display of a marker's popup on click
2013-06-19 07:40:10 -07:00
Vladimir Agafonkin
4ae3e9d87c Merge pull request #1762 from sheppard/master
pass through coordsToLatLng when processing GeometryCollection
2013-06-17 23:13:12 -07:00
S. Andrew Sheppard
bea3e4c13e pass through coordsToLatLng when processing GeometryCollection 2013-06-17 20:31:24 -05:00
Paul Bonaud
1af9769ed0 Toggle the display of a marker s popup on click 2013-06-16 22:13:31 +02:00
Vladimir Agafonkin
6d33627f66 Merge pull request #1760 from yohanboniface/markerdrag_off
remove EventListener with same context used for adding it
2013-06-14 15:39:14 -07:00
Yohan Boniface
fef0606372 removeEventListener with same context used for adding it 2013-06-14 23:21:33 +02:00
danzel
016f635616 update build 2013-06-14 10:55:59 +12:00
Vladimir Agafonkin
b32a91584b fix 1px popup anchor shift 2013-06-12 14:18:29 +03:00
Vladimir Agafonkin
495d2dc3b3 add layers icon svg source 2013-06-12 14:18:29 +03:00
Vladimir Agafonkin
bcb9a4db68 prettify marker svg source 2013-06-12 14:18:29 +03:00
Vladimir Agafonkin
91db6cc863 Merge pull request #1754 from danzel/master
Fix SetIcon with DivIcons
2013-06-12 00:16:25 -07:00
danzel
e36181dd66 jshint fixes. 2013-06-12 16:21:28 +12:00
danzel
b5f3b2a44f Tidy up ugly icon-swap code. 2013-06-12 16:18:42 +12:00
danzel
1a1cfb2e60 Make Marker setIcon unit tests better. 2013-06-12 16:18:20 +12:00
danzel
11e227bf6f Don't say this so much, options is in local scope. 2013-06-12 16:06:27 +12:00
danzel
fa45913505 Make Icon/DivIcon reuse not try reuse the wrong dom element type. 2013-06-12 16:05:42 +12:00
danzel
7f2eff363b Add support to DivIcon for reusing a div. Fixes #1753. Still issues remain (Can't change a marker with a DivIcon to have an image Icon or vice versa) 2013-06-12 15:55:03 +12:00
Vladimir Agafonkin
9f71539b88 update build 2013-06-11 17:11:40 +03:00
Vladimir Agafonkin
043fa18f1a Merge pull request #1745 from jec006/calculate-y-mouse
Properly calculate the y position of the element when parent is positioned relatively
2013-06-11 07:10:16 -07:00
Vladimir Agafonkin
e5965aaa22 make all WMS request keys uppercase, close #1751 2013-06-11 16:42:35 +03:00
Vladimir Agafonkin
c807d10a02 better regexp for image folder detection, close #1657 2013-06-11 16:05:33 +03:00
Vladimir Agafonkin
66d6403ddd update layers icon, add retina version, cleaner popup styles, close #1739 2013-06-11 15:44:21 +03:00
Vladimir Agafonkin
ae10f4d1fc Merge pull request #1750 from jec006/unbind-moveend-maxbounds
Unbind moveend event when maxBounds removed
2013-06-10 15:47:48 -07:00
Josh Caldwell
df5e43a062 Unbind moveend event when maxBounds removed 2013-06-10 18:32:20 -04:00
Josh Caldwell
84c5114345 Properly calculate the y position of the element when positioned relative 2013-06-07 12:21:15 -04:00
Vladimir Agafonkin
bd803810a6 Merge pull request #1732 from snkashis/contextpopup
Prevent contextmenu events on popups from falling thru to map
2013-06-04 08:31:24 -07:00
Steve Kashishian
62f708a4dc Prevent contextmenu events on popups from falling thru to map 2013-06-04 11:27:42 -04:00
Vladimir Agafonkin
aaad3cbe2f fix hinting error, update build 2013-06-03 12:39:28 +03:00
Vladimir Agafonkin
c54b6c13b3 Merge pull request #1726 from Norkart/reuseIconDOM
Reuse icon DOM
2013-06-03 02:14:06 -07:00
Vladimir Agafonkin
9295fde52f Merge pull request #1729 from jfirebaugh/add-remove
Don't call Layer#onRemove if Layer#onAdd was never called
2013-06-03 02:12:23 -07:00
Vladimir Agafonkin
73adefe1ac update jshint to 2.1.3, reenable jshint white - big thanks to @antonkovalyov 2013-06-03 12:08:34 +03:00