MGLTileCoordinateSystem
enum MGLTileCoordinateSystem : NSUInteger {}
Tile coordinate systems that determine how tile coordinates in tile URLs are interpreted.
-
The origin is at the top-left (northwest), and
y
values increase southwards.This tile coordinate system is used by Mapbox and OpenStreetMap tile servers.
Declaration
Objective-C
MGLTileCoordinateSystemXYZ = 0
Swift
case XYZ = 0
-
The origin is at the bottom-left (southwest), and
y
values increase northwards.This tile coordinate system is used by tile servers that conform to the Tile Map Service Specification.
Declaration
Objective-C
MGLTileCoordinateSystemTMS
Swift
case TMS = 1