Is there a better way to create a labeled feature other than using ToolTipText in the InMemoryMarkeryOverlay? Idealy I'd like to be able to label a PointShape object, or any general Shape object. I imagine the function to be clicking the point will trigger an event handler that will pop up a window for user input on a label. What ever the user types in will then be displayed as a label on the point.
Labeling a Feature
Gary,
we have a sample app in the Code Community Edit Attribute of Shapefile that does pretty much what you are asking in this post. In this app, the user clicks on a feature and a textbox shows up, the user types the new value and it gets updated. The change is being reflected on the label on the map. This is a Wpf app but the code that you need is probably some variant of this. If there is still some doubts, let us know.
wiki.thinkgeo.com/wiki/Map_Suite_De..._Shapefile
Thanks for the help, after looking at some sample I added a column to the layer and added values to the column for each internal feature and was able to display the values.
Dear Gary
You are welcome, anything can help you coding easier just let us know .
Regards,
Gary