diff options
Diffstat (limited to 'platform/darwin/docs')
-rw-r--r-- | platform/darwin/docs/guides/For Style Authors.md.ejs | 6 | ||||
-rw-r--r-- | platform/darwin/docs/guides/Tile URL Templates.md.ejs | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/platform/darwin/docs/guides/For Style Authors.md.ejs b/platform/darwin/docs/guides/For Style Authors.md.ejs index 8b9b4b06fc..d61b292148 100644 --- a/platform/darwin/docs/guides/For Style Authors.md.ejs +++ b/platform/darwin/docs/guides/For Style Authors.md.ejs @@ -178,7 +178,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` @@ -193,7 +193,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 @@ -402,7 +402,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/darwin/docs/guides/Tile URL Templates.md.ejs b/platform/darwin/docs/guides/Tile URL Templates.md.ejs index 558d5b451f..2b1de65b42 100644 --- a/platform/darwin/docs/guides/Tile URL Templates.md.ejs +++ b/platform/darwin/docs/guides/Tile URL Templates.md.ejs @@ -11,8 +11,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: |