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
Robert Nordan
e58e1ec4e7
Ensure styles are set even when reusing DOM.
...
This fixes the error found in review.
2013-06-03 07:23:13 +02:00
Vladimir Agafonkin
b9fa955c7c
update build
2013-06-02 22:29:48 +03:00
John Firebaugh
2ddcc3d4d4
Fix trailing whitespace
2013-06-01 22:21:07 -07:00
John Firebaugh
4802561e0e
Don't fire layerremove if layeradd was never fired
2013-06-01 22:16:53 -07:00
John Firebaugh
51fccc80fe
Don't call Layer#onAdd on a layer that has been removed
2013-06-01 22:11:42 -07:00
John Firebaugh
055b3393da
Don't call Layer#onRemove if Layer#onAdd was never called
2013-06-01 21:50:18 -07:00
John Firebaugh
01bede20d1
Fix indentation
2013-06-01 21:49:45 -07:00
Robert Nordan
9c379ff0e8
Make test/example actually check ondragstart/end
2013-05-31 14:16:18 +02:00
Robert Nordan
d737c2e94a
Reuse DOM object in Marker.SetIcon, fixes #561
...
If there already exists a DOM object for this marker, reuse it by setting
a new src and style rather than creating a new one.
2013-05-31 12:53:02 +02:00
Robert Nordan
90cb132269
Add a test that shows the DOM change failure
...
The icon should switch from blue to red and back, but does not in IE
because the DOMelement has disappeared, as in issue #561 . Instead, the
mouseover event is fired on any mouse motion in the marker. In addition,
in FF & Chrome the mouseover and mouseout events are continously fired
on any movement, which gives the correct visual results but causes
a lot of superflous event handling.
2013-05-31 12:47:51 +02:00
Vladimir Agafonkin
21aa09b403
Merge pull request #1723 from snkashis/canvas_removals
...
Prevent memory leak in removal of canvas layers
2013-05-30 15:37:35 -07:00
Steve Kashishian
4c5b700e60
Prevent memory leak in removal of canvas layers
2013-05-30 14:39:03 -04:00
Vladimir Agafonkin
34dbfea015
Merge pull request #1713 from snkashis/circlemarker_loop
...
Prevent infinite loop in adding of canvas CircleMarkers
2013-05-29 05:47:43 -07:00
Vladimir Agafonkin
47b1d51d30
update build
2013-05-29 12:10:44 +03:00
Vladimir Agafonkin
6387f20206
update packages versions, minor jshinting
2013-05-29 12:10:19 +03:00
Steve Kashishian
c684fb4652
Prevent infinite loop in adding of canvas CircleMarkers
2013-05-28 19:39:14 -04:00
Vladimir Agafonkin
e68d8144f2
add mailmap to gitignore
2013-05-19 13:26:38 +03:00
Vladimir Agafonkin
b4f0b05dcf
Merge pull request #1688 from korzhyk/master
...
TypeError prevention on LatLngBounds extend
2013-05-18 04:41:26 -07:00
Andrii Korzh
d1aa0f3b7e
Update LatLngBoundsSpec.js
2013-05-18 13:27:45 +03:00
Andrii Korzh
ef17f99708
Check object when LatLngBounds extend
...
When LatLngBounds extend, must check the extending object, because empty marker `L.marker().getLatLng()` got `undefined` and `obj[0]` got `TypeError`
2013-05-18 13:20:37 +03:00
John Firebaugh
72ac52cf46
Merge pull request #1684 from scooterw/1670
...
calculate x position with postion:relative and width/maxWidth
2013-05-17 11:22:44 -07:00
Scooter Wadsworth
76e317d80c
smart tabs per contribution guidelines
2013-05-16 11:00:51 -06:00
Scooter Wadsworth
e0a44add0e
calculate x position with postion:relative and width/maxWidth
2013-05-16 01:14:04 -06:00
Vladimir Agafonkin
7a84294afd
Merge pull request #1683 from jfirebaugh/1683
...
tile layers added after initial load don't show up until zoomed
2013-05-15 13:54:09 -07:00
John Firebaugh
61745f4a30
Set correct initial zIndex on tile layer divs
...
Fixes #1683 .
2013-05-15 13:50:42 -07:00
mourner
d62ee9e5b3
make latest jshint happy, update deps
2013-05-13 22:57:01 +03:00
Vladimir Agafonkin
3d3e2cd12d
Merge pull request #1669 from jfirebaugh/closeOnClick
...
Popup-specific closeOnClick option
2013-05-10 15:48:06 -07:00
John Firebaugh
ade9c943ff
Popup-specific closeOnClick option
2013-05-10 15:22:03 -07:00
Vladimir Agafonkin
6f752d171b
simplify zoom anim a bit
2013-05-10 17:28:27 +03:00
Vladimir Agafonkin
47b299346f
fix TileLayer 404 errors off-world
2013-05-10 17:15:17 +03:00
Vladimir Agafonkin
c33a60485b
context-based off/fire fix
2013-05-10 17:12:46 +03:00
Vladimir Agafonkin
2431f5ec82
minor changelog fix
2013-05-08 13:16:47 +03:00
Vladimir Agafonkin
aae54a34d4
update build
2013-05-08 13:02:15 +03:00
Vladimir Agafonkin
0849d06c1b
fix whitespace in event spec, #1661
2013-05-08 12:58:50 +03:00