Hello everyone,
I have an issue with the custom ValueStyle. How can I specify a default value if a feature doesn't have a value define in the ValueStyle ?
Thanks.
Hello everyone,
I have an issue with the custom ValueStyle. How can I specify a default value if a feature doesn't have a value define in the ValueStyle ?
Thanks.
Pierre,
You can implement it by creating a custom value style that inherits from the ValueStyle class and override the DrawCore method. Here I made a sample for you, please have a look.
Thanks,
James
Post8786.zip (19.7 KB)
Pierre-Antoine,
Thank you for your idea. We decided to create a Code Community sample on that idea. If you want, you can check the Code Community in ThinkGeo Wiki for the new sample at wiki.thinkgeo.com/wiki/Map_Suite_Wp...es_Samples. It should be there next week and it will be called Default ValueStytle. Thank you.