Create "Marker" layer. Add appropriate tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@100 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
16
lib/OpenLayers/Layer/Marker.js
Normal file
16
lib/OpenLayers/Layer/Marker.js
Normal file
@@ -0,0 +1,16 @@
|
||||
OpenLayers.Layer.Marker = Class.create();
|
||||
OpenLayers.Layer.Marker.prototype =
|
||||
Object.extend( new OpenLayers.Layer(), {
|
||||
|
||||
// markers: store internal marker list
|
||||
markers:null,
|
||||
|
||||
initialize: function(name) {
|
||||
OpenLayers.Layer.prototype.initialize.apply(this, arguments);
|
||||
},
|
||||
|
||||
// Implement this. It may not need to do anything usually.
|
||||
moveTo:function(bounds,zoomChanged) {
|
||||
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user