initial version of popups

This commit is contained in:
Mike Adair
2012-06-22 08:13:34 -04:00
parent a8642e9af5
commit 368bb28671
10 changed files with 918 additions and 1 deletions

View File

@@ -32,3 +32,12 @@ ol.geom.Geometry.prototype.setBounds = function(bounds) {
this.bounds_ = bounds;
return this;
};
/**
* @returns ol.Loc
*/
ol.geom.Geometry.prototype.getCentroid = function() {
//FIXME: stub only to get popups working
return new ol.Loc(-76,45);
};