diff --git a/platform/darwin/src/MGLFeature.h b/platform/darwin/src/MGLFeature.h index 69cff6b05..1ab587ede 100644 --- a/platform/darwin/src/MGLFeature.h +++ b/platform/darwin/src/MGLFeature.h @@ -29,13 +29,23 @@ NS_ASSUME_NONNULL_BEGIN An object that uniquely identifies the feature in its containing tile source. - The value of this property is currently always an `NSNumber` object but may in - the future be an instance of another class, such as `NSString`. - The identifier corresponds to the feature identifier (`id`) in the tile source. If the source does not specify the feature’s - identifier, the value of this property is `nil`. + identifier, the value of this property is `nil`. If specified, the identifier + may be an integer, floating-point number, or string. These data types are + mapped to instances of the following Foundation classes: + + + + + + + + + + +
In the tile sourceThis property
Integer NSNumber (use the unsignedLongLongValue or longLongValue property)
Floating-point number NSNumber (use the doubleValue property)
String NSString
For details about the identifiers used in most Mapbox-provided styles, consult the