MLNTileSource class
MLNTileSource is a map content source that supplies map tiles to be shown on
the map. The location of and metadata about the tiles are defined either by an
option dictionary or by an external file that conforms to the
TileJSON specification.
A tile source is added to an MLNStyle object along with one or more
MLNRasterStyleLayer or MLNRasterStyleLayer objects. Use a style layer to
control the appearance of content supplied by the tile source.
A tile source is also known as a tile set. To learn about the structure of a Mapbox-hosted tile set, view it in Mapbox Studio’s Tilesets editor.
Create instances of MLNRasterTileSource and MLNRasterTileSource in order
to use MLNTileSource's properties and methods. Do not create instances of
MLNTileSource directly, and do not create your own subclasses of this class.
- Inheritance
- Implementers
Constructors
- MLNTileSource()
- 
          Returns a new instance of MLNTileSource constructed with the default newmethod.factory
- MLNTileSource.castFrom(ObjCObjectBase other)
- 
          Constructs a MLNTileSource that points to the same underlying object as other.
- 
          MLNTileSource.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
- Constructs a MLNTileSource that wraps the given raw object pointer.
Properties
- attributionHTMLString → NSString?
- 
  The attribution HTML string associated with this source.
  no setter
- attributionInfos → NSArray
- 
  An array of MLNAttributionInfoobjects that define the attribution statements to be displayed when the map is shown to the user.no setter
- configurationURL → NSURL?
- 
  The URL to the TileJSON configuration file that specifies the contents of the
source.
  no setter
- debugDescription$1 → NSString
- 
  debugDescription
  no setterinherited
- description$1 → NSString
- 
  description
  no setterinherited
- hash$1 → int
- 
  hash
  no setterinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- identifier ↔ NSString
- 
  A string that uniquely identifies the source in the style to which it is added.
  getter/setter pairinherited
- isProxy → bool
- 
  isProxy
  no setterinherited
- ref → ObjCObjectRef
- 
  
  finalinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- superclass$1 → ObjCObjectBase
- 
  superclass
  no setterinherited
Methods
- 
  autorelease() → MLNTileSource 
- 
  autorelease
  override
- 
  class$1() → ObjCObjectBase 
- 
  class
  inherited
- 
  conformsToProtocol$1(Protocol aProtocol) → bool 
- 
  conformsToProtocol:
  inherited
- 
  copy() → ObjCObjectBase 
- 
  copy
  inherited
- 
  dealloc() → void 
- 
  dealloc
  inherited
- 
  doesNotRecognizeSelector(Pointer< ObjCSelector> aSelector) → void
- 
  doesNotRecognizeSelector:
  inherited
- 
  forwardingTargetForSelector(Pointer< ObjCSelector> aSelector) → ObjCObjectBase
- 
  forwardingTargetForSelector:
  inherited
- 
  forwardInvocation(NSInvocation anInvocation) → void 
- 
  forwardInvocation:
  inherited
- 
  init() → MLNTileSource 
- 
  init
  override
- 
  initWithIdentifier_(NSString identifier) → MLNTileSource 
- 
  Returns a source initialized with an identifier.
  override
- 
  isEqual(ObjCObjectBase object) → bool 
- 
  isEqual:
  inherited
- 
  isKindOfClass(ObjCObjectBase aClass) → bool 
- 
  isKindOfClass:
  inherited
- 
  isMemberOfClass(ObjCObjectBase aClass) → bool 
- 
  isMemberOfClass:
  inherited
- 
  methodForSelector(Pointer< ObjCSelector> aSelector) → Pointer<NativeFunction< Void Function()> >
- 
  methodForSelector:
  inherited
- 
  methodSignatureForSelector(Pointer< ObjCSelector> aSelector) → NSMethodSignature
- 
  methodSignatureForSelector:
  inherited
- 
  mutableCopy() → ObjCObjectBase 
- 
  mutableCopy
  inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  performSelector(Pointer< ObjCSelector> aSelector) → ObjCObjectBase
- 
  performSelector:
  inherited
- 
  performSelector$1(Pointer< ObjCSelector> aSelector, {required ObjCObjectBase withObject}) → ObjCObjectBase
- 
  performSelector:withObject:
  inherited
- 
  performSelector$2(Pointer< ObjCSelector> aSelector, {required ObjCObjectBase withObject, required ObjCObjectBase withObject$1}) → ObjCObjectBase
- 
  performSelector:withObject:withObject:
  inherited
- 
  release() → void 
- 
  release
  inherited
- 
  respondsToSelector(Pointer< ObjCSelector> aSelector) → bool
- 
  respondsToSelector:
  inherited
- 
  retain() → MLNTileSource 
- 
  retain
  override
- 
  retainCount() → int 
- 
  retainCount
  inherited
- 
  self$1() → MLNTileSource 
- 
  self
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  zone() → Pointer< NSZone> 
- 
  zone
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Methods
- 
  alloc() → MLNTileSource 
- 
  alloc
  override
- 
  allocWithZone(Pointer< NSZone> zone) → MLNTileSource
- 
  allocWithZone:
  override
- 
  isInstance(ObjCObjectBase obj) → bool 
- 
  Returns whether objis an instance of MLNTileSource.override
- 
  new$() → MLNTileSource 
- 
  new
  override