[gnome-maps/wip/osm-edit: 21/47] osmApi: add abstract function to output XML representation for OSM objects
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/osm-edit: 21/47] osmApi: add abstract function to output XML representation for OSM objects
- Date: Thu, 30 Apr 2015 12:59:08 +0000 (UTC)
commit 6c14c8536200fe7b7565c211542d2e4e283eddc0
Author: Marcus Lundblad <ml update uu se>
Date: Tue Feb 10 23:25:32 2015 +0100
osmApi: add abstract function to output XML representation for OSM objects
src/osmObject.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/osmObject.js b/src/osmObject.js
index e02cc99..89bb288 100644
--- a/src/osmObject.js
+++ b/src/osmObject.js
@@ -62,5 +62,8 @@ const OSMObject = new Lang.Class({
deleteTag: function(key) {
delete this._tags[key];
- }
+ },
+
+ //Abstract
+ toXML: function() { }
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]