Gets the number of theme categories for this layer at the map's current scale for the given geometry type style. A count greater than 1 indicates a themed layer. Returns -1 if there are no applicable styles at the current scale.
.NET Syntax
virtual int GetThemeCategoryCount(double scale, int geomType);
|
Java Syntax
virtual int GetThemeCategoryCount(double scale, int geomType);
|
PHP Syntax
virtual int GetThemeCategoryCount(double scale, int geomType);
|
- Parameters:
-
scale | (double) The scale at which to count the number of applicable theme categories |
geomType | (int) The geometry type |
- Returns:
- The number of theme categories for this layer at the map's current scale for the given geometry type style. A count greater than 1 indicates a themed layer. Returns -1 if there are no applicable styles at the current scale
- Since:
- 3.0