# About GeoDataTabel data on map

**URL:** <https://community.thinkgeo.com/t/about-geodatatabel-data-on-map/8709>\
**Category:** ThinkGeo General Questions\
**Created:** [October 26, 2017, 1:43am UTC](https://community.thinkgeo.com/t/about-geodatatabel-data-on-map/8709 "2017-10-26T01:43:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhangming](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/z/b19c9b/32.png) [@Zhangming](https://community.thinkgeo.com/u/Zhangming)\
**Post date:** [October 26, 2017, 1:43am UTC](https://community.thinkgeo.com/t/about-geodatatabel-data-on-map/8709/1 "2017-10-26T01:43:25Z")

</div>

I’m using the GeoDataTable data to add one of these text type data to the existing map, displaying it like a label. I didn’t find an effective method. What should I do?

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [October 26, 2017, 5:23am UTC](https://community.thinkgeo.com/t/about-geodatatabel-data-on-map/8709/2 "2017-10-26T05:23:38Z")

</div>

Hi Zhangming,

If you want to display the text like a label, there are two solutions, it’s not depend on your data source. Because we even don’t know which version you are using, so we can just provide some suggestion as below:

1. Show that like a marker: [https://github.com/ThinkGeo?utf8=✓&q=marker&type=&language=](https://github.com/ThinkGeo?utf8=%E2%9C%93&q=marker&type=&language=)

2. Add the data into an InmemoryFeatureLayer, add the text into feature’s column value, and then set the textstyle for the layer, so it will shows on map. You can also view our howdoisamples project: [https://github.com/ThinkGeo?utf8=✓&q=howdoi&type=&language=](https://github.com/ThinkGeo?utf8=%E2%9C%93&q=howdoi&type=&language=)

Wish that’s helpful.

Regards,

Ethan

---

<div class="post-metadata">

**Author:** ![Zhangming](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/z/b19c9b/32.png) [@Zhangming](https://community.thinkgeo.com/u/Zhangming)\
**Post date:** [October 27, 2017, 12:50am UTC](https://community.thinkgeo.com/t/about-geodatatabel-data-on-map/8709/3 "2017-10-27T00:50:54Z")

</div>

Hi Ethan  
thank you for your answer. I’ve done it the first way,But I’m not sure if there’s a lot of data that has an impact on performance.Will the second method be better? The second method does not find the code.

Regards,  
Zhangming

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [October 27, 2017, 3:24am UTC](https://community.thinkgeo.com/t/about-geodatatabel-data-on-map/8709/4 "2017-10-27T03:24:49Z")

</div>

Hi Zhangming,

You can provide us a simple sample with your scenario the next time, so we can help you solve your problem based on that, and please put your post in our sub-forum, so we can easily know which product you are using.

As below is the simple sample code about that:

```
        map.MapUnit = GeographyUnit.DecimalDegree;

        InMemoryFeatureLayer layer = new InMemoryFeatureLayer();
        layer.Columns.Add(new FeatureSourceColumn("label"));

        layer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.City1;
        layer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;

        Feature feature1 = new Feature(50, 60);
        feature1.ColumnValues.Add("label", "It's a really simple sample to show how to render label on map");

        layer.InternalFeatures.Add(feature1);
        LayerOverlay overlay = new LayerOverlay();
        overlay.Layers.Add(layer);

        map.Overlays.Add(overlay);

```

You can find more detail code in our samples.

Wish that’s helpful.

Regards,

Ethan

---

<div class="post-metadata">

**Author:** ![Zhangming](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/z/b19c9b/32.png) [@Zhangming](https://community.thinkgeo.com/u/Zhangming)\
**Post date:** [October 27, 2017, 4:06am UTC](https://community.thinkgeo.com/t/about-geodatatabel-data-on-map/8709/5 "2017-10-27T04:06:37Z")

</div>

Hi Ethan  
Thanks a lot. i’m got it.  
Regards,

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [October 30, 2017, 2:25am UTC](https://community.thinkgeo.com/t/about-geodatatabel-data-on-map/8709/6 "2017-10-30T02:25:54Z")

</div>

Hi Zhangming,

I am glad to hear that’s helpful.

Regards,

Ethan
