Add getRevision to api

The revision can be useful for instance to check if a feature has been modified so I'd like to see it in api.
This commit is contained in:
Björn Harrtell
2014-06-25 16:19:42 +02:00
parent bd3da0eed9
commit 8fab2f7d25

View File

@@ -47,6 +47,7 @@ ol.Observable.prototype.dispatchChangeEvent = function() {
/**
* @return {number} Revision.
* @todo api
*/
ol.Observable.prototype.getRevision = function() {
return this.revision_;