Hi,
I need to make an object which draws on the map; in this case a polyline and an ellipse at each vertex on the polyline. Where each vertex is represented by a Location value.
If I have a layer I can add all the items as individual elements and they will render fine. I would like to be able to combine these into a single entity/control where the polyline and points are contained together on the layer so as far as the layer is concerned there is only one item on it even though it consists of many parts. Additionally since I would be dealing with a control I could put logic in it related to the interaction of the geometries in the control. Thereby allowing me to put many controls on the single layer that don't conflict with each other.
I would prefer to do this without creating multiple layers. Otherwise I would have to dynamically create and destroy layers to contain all of the geometry items into one single entity.
Any suggestions?
Cheers,
Clint
I need to make an object which draws on the map; in this case a polyline and an ellipse at each vertex on the polyline. Where each vertex is represented by a Location value.
If I have a layer I can add all the items as individual elements and they will render fine. I would like to be able to combine these into a single entity/control where the polyline and points are contained together on the layer so as far as the layer is concerned there is only one item on it even though it consists of many parts. Additionally since I would be dealing with a control I could put logic in it related to the interaction of the geometries in the control. Thereby allowing me to put many controls on the single layer that don't conflict with each other.
I would prefer to do this without creating multiple layers. Otherwise I would have to dynamically create and destroy layers to contain all of the geometry items into one single entity.
Any suggestions?
Cheers,
Clint