From 29a8efab26dfbdbe9b30b3913d397329be5edb95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Fri, 30 Mar 2018 05:13:08 -0700 Subject: [ios, macos] Renamed MGLRasterSource to MGLRasterTileSource Also updated various source class listings to reflect the addition of image and raster DEM sources. --- platform/ios/docs/guides/Tile URL Templates.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'platform/ios/docs/guides/Tile URL Templates.md') diff --git a/platform/ios/docs/guides/Tile URL Templates.md b/platform/ios/docs/guides/Tile URL Templates.md index f61d2ea33a..0030e9b48e 100644 --- a/platform/ios/docs/guides/Tile URL Templates.md +++ b/platform/ios/docs/guides/Tile URL Templates.md @@ -4,12 +4,12 @@ --> # Tile URL Templates -`MGLTileSource` objects, specifically `MGLRasterSource` and `MGLVectorSource` -objects, can be created using an initializer that accepts an array of tile URL -templates. Tile URL templates are strings that specify the URLs of the vector -tiles or raster tile images to load. A template resembles an absolute URL, but -with any number of placeholder strings that the source evaluates based on the -tile it needs to load. For example: +`MGLTileSource` objects, specifically `MGLRasterTileSource` and +`MGLVectorSource` objects, can be created using an initializer that accepts an +array of tile URL templates. Tile URL templates are strings that specify the +URLs of the vector tiles or raster tile images to load. A template resembles an +absolute URL, but with any number of placeholder strings that the source +evaluates based on the tile it needs to load. For example: * `http://www.example.com/tiles/{z}/{x}/{y}.pbf` could be evaluated as `http://www.example.com/tiles/14/6/9.pbf`. @@ -56,7 +56,7 @@ all of which are optional: The tile’s zoom level. At zoom level 0, each tile covers the entire world map; at zoom level 1, it covers ¼ of the world; at zoom level 2, 116 of the world, and so on. For tiles loaded by - a MGLRasterSource object, whether the tile zoom level + a MGLRasterTileSource object, whether the tile zoom level matches the map’s current zoom level depends on the value of the source’s tile size as specified in the MGLTileSourceOptionTileSize key of the options -- cgit v1.2.1 From a877b6dbe8ff576f82ab9222f418da51591dd423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Fri, 30 Mar 2018 05:43:56 -0700 Subject: [ios, macos] Renamed MGLVectorSource to MGLVectorTileSource --- platform/ios/docs/guides/Tile URL Templates.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/ios/docs/guides/Tile URL Templates.md') diff --git a/platform/ios/docs/guides/Tile URL Templates.md b/platform/ios/docs/guides/Tile URL Templates.md index 0030e9b48e..4c8064f781 100644 --- a/platform/ios/docs/guides/Tile URL Templates.md +++ b/platform/ios/docs/guides/Tile URL Templates.md @@ -5,8 +5,8 @@ # Tile URL Templates `MGLTileSource` objects, specifically `MGLRasterTileSource` and -`MGLVectorSource` objects, can be created using an initializer that accepts an -array of tile URL templates. Tile URL templates are strings that specify the +`MGLVectorTileSource` objects, can be created using an initializer that accepts +an array of tile URL templates. Tile URL templates are strings that specify the URLs of the vector tiles or raster tile images to load. A template resembles an absolute URL, but with any number of placeholder strings that the source evaluates based on the tile it needs to load. For example: -- cgit v1.2.1