diff --git a/docs/_generate/index.html b/docs/_generate/index.html index ae31879..ae940c0 100755 --- a/docs/_generate/index.html +++ b/docs/_generate/index.html @@ -144,7 +144,7 @@
Tiled sources (vector and raster) must specify their details in terms of the TileJSON specification. - This can be done in two ways: + This can be done in several ways:
"{bbox-epsg-3857}"
+ replacement token to supply the bbox
parameter.
+ (This feature is currently supported only in Mapbox GL JS.)
+{% highlight json%}
+"wms-imagery": {
+ "type": "raster",
+ "tiles": [
+ 'http://a.example.com/wms?bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857&width=256&height=256&layers=example'
+ ],
+ "tileSize": 256
+}
+{% endhighlight %}
+ This example of a GeoJSON source refers to an external GeoJSON document via its URL. The - GeoJSON document must be on the same domain or accessible using + GeoJSON document must be on the same domain or accessible using CORS.