I am trying to not use the combination of the Maker and Feature. I need to attach different PNG icons to each of the 500 vehicles basing on the MovingVehicleWithChangingLabel example. I would like to make the refresh of the Overlay after the updating loop of all 500 Features. Is there any other way for changing of the image then using:ZoomLevelSet.ZoomLevel01.DefaultPointStyle.Image in this case? Whatever DefaultPointStyle.Image is used during refreshing or EditTools.Update?
Attach image to Feature object
Hi Piotr,
-
You can use our ValueStyle, make the image related with one target column of the feature, here is a simple sample:
http://wiki.thinkgeo.com/wiki/source_code_wpfeditionsample_defaultvaluestyle_cs_110218.zip
And you can find the sample here: http://wiki.thinkgeo.com/wiki/map_suite_desktop_edition_all_samples#default_valuestyle -
It’s a more complex solution, you should want to implement a custom layer, and override its DrawCore function, then dynamic build the image path and draw the image there.
Wish that’s helpful.
Regards,
Don