OpenLayers.Feature = Class.create(); OpenLayers.Feature.prototype= { // events object events:null, // ol.LonLat lonlat:null, // Object data:null, initialize: function(lonlat, data) { this.lonlat = lonlat; this.data = data; }, destroy: function() { }, /** html content based on feature information * * ret(str): */ getContentHTML:function() { var contentHTML = ""; contentHTML += "
" contentHTML += "
" contentHTML += "" contentHTML += this.data['title']; contentHTML += "" contentHTML += "
" contentHTML += "
" return contentHTML; }, ///////////////////////////////// who:function(){return ("Feature.js");} //last };