The document says such a function exists but the documentation says it returns 
null. Is this a complete work?


1.      What is the right way to create markers? Via feature? Or via marker 
layers.  If through marker layer, then  I have two piece of data structures to 
maintain, which is not good practice.

2.      OpenLayers.Feature.Vector does not have property for marker, but 
OpenLayers.Feature does have such a property. From the naming of these two 
class, it appears to me that one is the parent. Parent has a property, but the 
child has no such property. That sounds weird to me...

Your insights are appreciated.

JK

OpenLayers.Feature.Vector
-----------------------------------------------------------
createMarker
createMarker: function()

HACK

we need to decide if all vector features should be able to create markers


Returns

{OpenLayers.Marker<http://dev.openlayers.org/docs/files/OpenLayers/Marker-js.html#OpenLayers.Marker>}
 For now just returns null

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to