Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can a bivariate thematic map be created with MapXtreme 2004/2005?

bivariate map thematic
0
Posted

How can a bivariate thematic map be created with MapXtreme 2004/2005?

0

Question: Is it possible to thematically display two pieces of information at the same time for a point layer? For example, an application calls for two individual value thematics on the same layer using the fields ‘Type’ and ‘Level’. Answer: Yes, It is possible to create bivariate thematic. Take a look at the IndividualValueTheme class and there will be an ApplyStylePart property. By adjusting this property, it is possible to specify if the theme will change the features’ color or size. See the code samples below. Note: For the second theme, the field Level has 3 categories. When setting the point size, make sure to account for all categories for that table. C# Code: using MapInfo.Mapping.Thematics; //Add to the top of the project FeatureLayer lyr = mapControl1.Map.Layers[“US_Sites”] as FeatureLayer; IndividualValueTheme thm = new IndividualValueTheme(lyr, “Type”, “Type”); IndividualValueTheme thm2 = new IndividualValueTheme(lyr, “Level”, “Level”); //Adjust the first theme for color t

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123