HI,
Can u please explain about the different types of Overlay and its function in Thinkgeo and especially about MinimumFeatureLayer.
Regards
Karunakaran.M
HI,
Can u please explain about the different types of Overlay and its function in Thinkgeo and especially about MinimumFeatureLayer.
Regards
Karunakaran.M
Karunakaran,
We have many types of overlay, at most time we used is LayerOverlay and some special overlay like GoogleOverlay.
LayerOverlay need you provide data source local and some overlays like GoogleOverlay directly get image from online server.
I am not sure which overlay you are interested in, but I think you can get detail information in our wiki.thinkgeo.com.
For MinimumFeatureLayer I haven’t found it in our Core and WebEdition, please let us know where you get that?
Regards,
Don
Don,
In wiki.thinkgeo.com i can get code samples at high level. Where can i get the code samples for the implementation of the various properties or methods of classes? I need to know how to implement the AddFeature method of Feature class using columnValues. Can you please help me?
Sorry Don, i want to know about the implementation of the constructor of Feature class, AddFeature of InMemoryFeatureSource class.
Karunakaran,
I think I haven’t totally understand your purpose.
In constructor of Feature, we initializes columnValues, WKB and ID, if you pass in them via parameters, we will record that.
The AddFeature function add feature to a internal Dictionary<string, Feature>.
I don’t think these information helpful for you, but I am not sure what you want.
Regards,
Don
Don,
Can you please get me a code sample for creating a feature with columnValues. I am not sure what the columnValues means.
Hi Karunakaran,
Here is a very simple sample for ColumnValues.
Feature feature1 = new Feature(0, 0);
feature1.ColumnValues.Add("ColumnName", "10");
The "ColumnValues" is a group of additional data which related with the contained shape of the feature.
You know one feature contains a "BaseShape", it cannot record any other information exception the shape facility. If you have some POI points , the "BaseShape" only tell you where the point is, you cannot know what the point means for. Now you need add your information to "ColumnValues", like name, category, remarks etc. So when this feature render in map, the map control can label it via its "name" column value.
If you still have question about this please let me know.
Regards,
Don