iOS SDK

API Reference

On This Page

MGLTileCoordinateSystem

enum MGLTileCoordinateSystem {}

Tile coordinate systems that determine how tile coordinates in tile URLs are interpreted.

MGLTileCoordinateSystemXYZ

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

MGLTileCoordinateSystemTMS

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