Select to view content in your preferred language

custom symbol to the local map service

2440
2
03-10-2014 06:57 AM
Labels (1)
chummaM
Emerging Contributor
Below is the Symbol Selector dialog achieved when using ???SelectSymbol??? method of ???ESRI.ArcGIS.DisplayUI.SymbolSelectorClass??? class.

[ATTACH=CONFIG]32078[/ATTACH]

The symbols of this dialog is of type ???ESRI.ArcGIS.Display???, these symbols could be applied only to layers of MXD(of type ESRI.ArcGIS.Carto.ILayer). Hence the symbol edit applies only to the MXD, thereby new MPK has to be created and has to be reloaded to the screen, this becomes time consuming.

Is there any way this could be used for WPF map control layers so the edit symbol rendering becomes faster.

WPF map control layer only allows symbols of type ESRI.ArcGIS.Client.Symbols.SimpleMarkerSymbol. Where as below are the only allowed symbol shapes. But I need to add different type of symbols available @ ???SelectSymbol??? method of ???ESRI.ArcGIS.DisplayUI.SymbolSelectorClass???.

public enum SimpleMarkerStyle
{
Circle = 0,
Square = 1,
Cross = 2,
Diamond = 3,
Triangle = 4,
}

Can anyone plz help.???

Regards
Nedu. M
0 Kudos
2 Replies
BKuiper
Frequent Contributor
It seems that you want to cross between ArcObjects (considering the ESRI.ArcGIS.DisplayUI namespaces) and Runtime. I'm not sure this is even possible. Extending the list in the ArcObjects DisplayUI dialog and use it in Runtime. I'm curious to learn from one of the Runtime developers on what they think.
0 Kudos
chummaM
Emerging Contributor
Hi Kuiperfoliage,

Thanks for the response.

Is there any way I can use custom symbols or symbols similar to what we have in ArcObject can be achieved in WPF.(Any ESRI inbuilt screen selector available for custom symbol). Or any similar features available like  ESRI.ArcGIS.Client.Symbols.SimpleMarkerSymbol. Which allows more symbol than (Circle = 0,Square = 1,Cross = 2,Diamond = 3,Triangle = 4,)

I don't want to create mdx and package multiple times to achieve this in WPF. Any suggestions??

Regards
Nedu. M
0 Kudos