[Pkg-javascript-commits] [leaflet] 39/301: Marker should fire 'add' event like geometry Path and any object utilizing Ilayer
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 22:22:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet.
commit b66dd9dfc3a84858d82a777be0db44969b695e2e
Author: Anton Borodatov <anton.borodatov at gmail.com>
Date: Tue Aug 6 22:23:32 2013 +0300
Marker should fire 'add' event like geometry Path and any object utilizing Ilayer
---
src/layer/marker/Marker.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/layer/marker/Marker.js b/src/layer/marker/Marker.js
index 547241c..92ee256 100644
--- a/src/layer/marker/Marker.js
+++ b/src/layer/marker/Marker.js
@@ -30,6 +30,7 @@ L.Marker = L.Class.extend({
this._initIcon();
this.update();
+ this.fire('add');
if (map.options.zoomAnimation && map.options.markerZoomAnimation) {
map.on('zoomanim', this._animateZoom, this);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git
More information about the Pkg-javascript-commits
mailing list