Hallo,
I'm looking for an example, how to draw dynamic Shapes using different colors, linestyles etc. In the "HowDoExamples" i can't find what i'm looking for (f.i. ShowTemporaryShapesOnTheMap). I know, that i can use valuestyles for featurelayers and features using columnvalues.
Assuming a user put 3 rectangles on the map (winformsMap1.TrackOverlay.TrackMode = TrackMode.Rectangle) and he want's to give every shape a different layout (fillcoor, linecolor, linewith etc.).
(a) create 3 different InMemoryLayers with different DefaultStyles - and for every new Shape I have to create a new Layer
(b) create 3 different valueStyles for the Layer and using layer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(vstyle) - and for every new Shape (with a different layout)I have to add an new Style to the VStyle
(c) something else??
Torsten