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 MapTiler 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
iOS SDK

SDK JS Reference

On this page