MapImage

public enum MapImage
extension MapImage: Equatable

Image to be visualized on a map.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Image retrieved from an asset URI. A typical asset image URI may contain a path including asset scheme. Example asset image is able to be created as MapImage.asset("asset://path-to-image")

    Declaration

    Swift

    case asset(String)
  • Image retrieved from the application bundle.

    Declaration

    Swift

    case image(UIImage)