[Pkg-javascript-commits] [leaflet] 129/301: popup getLatLng method added
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 22:22:46 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 31114669be843b6b170604cf58317f7a0d6b7593
Author: AndreyGeonya <a.geonya at gmail.com>
Date: Mon Oct 14 17:09:04 2013 +0300
popup getLatLng method added
---
src/layer/Popup.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/layer/Popup.js b/src/layer/Popup.js
index a7679b9..ade68ff 100644
--- a/src/layer/Popup.js
+++ b/src/layer/Popup.js
@@ -96,6 +96,10 @@ L.Popup = L.Class.extend({
}
},
+ getLatLng: function () {
+ return this._latlng;
+ },
+
setLatLng: function (latlng) {
this._latlng = L.latLng(latlng);
this.update();
--
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