MGLPointFeature

extension MGLPointFeature
  • Initializes a map point feature representation of the given Turf point feature.

    Declaration

    Swift

    public convenience init?(_ pointFeature: Feature)

    Parameters

    pointFeature

    The Turf Point feature to convert to a map point feature. If the Feature passed is not of type Point - initialization fails.