diff options
Diffstat (limited to 'platform/ios/docs/guides')
-rw-r--r-- | platform/ios/docs/guides/For Style Authors.md | 6 | ||||
-rw-r--r-- | platform/ios/docs/guides/Tile URL Templates.md | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/platform/ios/docs/guides/For Style Authors.md b/platform/ios/docs/guides/For Style Authors.md index b6c82ddcf4..6b8839ecbe 100644 --- a/platform/ios/docs/guides/For Style Authors.md +++ b/platform/ios/docs/guides/For Style Authors.md @@ -127,7 +127,7 @@ source object is a member of one of the following subclasses of `MGLSource`: In style JSON | In the SDK --------------|----------- -`vector` | `MGLVectorSource` +`vector` | `MGLVectorTileSource` `raster` | `MGLRasterTileSource` `raster-dem` | `MGLRasterDEMSource` `geojson` | `MGLShapeSource` @@ -142,7 +142,7 @@ This SDK supports the properties defined in the style specification, which are a subset of the keys defined in version 2.1.0 of the [TileJSON](https://github.com/mapbox/tilejson-spec/tree/master/2.1.0) specification. As an alternative to authoring a custom TileJSON file, you may -supply various tile source options when creating a raster or vector source. +supply various tile source options when creating a raster or vector tile source. These options are detailed in the `MGLTileSourceOption` documentation: In style JSON | In TileJSON | In the SDK @@ -387,7 +387,7 @@ For operators that have no corresponding `NSExpression` symbol, use the ## Filtering sources -You can filter a shape or vector source by setting the +You can filter a shape or vector tile source by setting the `MGLVectorStyleLayer.predicate` property to an `NSPredicate` object. Below is a table of style JSON operators and the corresponding operators used in the predicate format string: 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: |