DistanceSymbolRange.withSymbol constructor
- required ArcGISSymbol symbol,
- double minDistance = 0.0,
- double maxDistance = 0.0,
Create a distance symbol range object.
Creates a Distance Range with a symbol and range properties. As a result the symbol will only be visible when the camera is within the specified distance range. Note that setting the maximum range to 0.0 indicates that there isn't a maximum range limit and the symbol will always be visible beyond its minimum range.
Parameters:
symbol
— A symbol to set in the distance symbol range.minDistance
— The minimum distance to set in the distance symbol range. Must be >= 0.0.maxDistance
— The maximum distance to set in the distance symbol range. Must be >= 0.0, 0.0 indicates there is no maximum range.