ThinkGeo.com    |     Documentation    |     Premium Support

How to sow value?

In maps if i wan to show some values (User defied Ex. Numaric, Text, Percentage)


can we do that? If yes can any one help me ?



Manas,


I am sorry I cannot understand fully your requirement; basically, it depends on where your data is stored and how you want to show it.
 
We have quite a few HowDoI sample attached in our product showing this.
Labeling\Draw and label a nice looking road
Labeling\Draw curved labels
Styles\Draw Using ZedGraph Style
Etc
 
Also, we show many interesting sample code in our code gallery, take a look if you are interested, probably you could find one very similar with your requirement:
code.thinkgeo.com/
 
Thanks.


Yale

Ok Let me explain you. 
  So far i am able to add the country layer and able to color it. 
 Now i want in reagion A lets say India i have colot it as RED and the lebel is showing as INDIA. 
 I want inside that red color i wat to show some value like a numaric value (20%,30%,or any TEXT) anything. 
  
 this value i can add it by .CS file or i can dump it in SQL then retrive it. 
  
 Hope it is clear. Let me know your feed back.

Manas, 
  
 Thanks for your post. 
  
 I think the following post can do exactly what you are requiring: 
 HowDoISamples Feature Layers Add my own custom data to a feature layer 
  
 Only difference is the custom data is retrieved from your sqlserver instead of fixed in the application in the sample. 
  
 Any more questions just feel free to let me know. 
  
 Yale