You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -360,143 +368,137 @@ function createSourcesContent() {
360
368
doc: 'A vector tile source. Tiles must be in [Mapbox Vector Tile format](https://github.com/mapbox/vector-tile-spec). All geometric coordinates in vector tiles must be between \`-1 * extent\` and \`(extent * 2) - 1\` inclusive. All layers that use a vector source must specify a [`source-layer`](layers.md#source-layer) value. Note that features are only rendered within their originating tile, which may lead to visual artifacts when large values for width, radius, size or offset are specified. To mitigate rendering issues, either reduce the value of the property causing the artifact or, if you have control over the tile generation process, increase the buffer size to ensure that features are fully rendered within the tile.',
doc: 'A raster DEM source. Only supports [Mapbox Terrain RGB](https://blog.mapbox.com/global-elevation-data-6689f1d0ba65) and Mapzen Terrarium tiles.',
doc: 'A [GeoJSON](http://geojson.org/) source. Data must be provided via a \`"data"\` property, whose value can be a URL or inline GeoJSON. When using in a browser, the GeoJSON data must be on the same domain as the map or served with [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) headers.',
417
419
example: {
418
420
'geojson-marker': {
419
-
'type': 'geojson',
420
-
'data': {
421
-
'type': 'Feature',
422
-
'geometry': {
423
-
'type': 'Point',
424
-
'coordinates': [12.550343,55.665957]
421
+
type: 'geojson',
422
+
data: {
423
+
type: 'Feature',
424
+
geometry: {
425
+
type: 'Point',
426
+
coordinates: [12.550343,55.665957],
425
427
},
426
-
'properties': {
427
-
'title': 'Somewhere',
428
-
'marker-symbol': 'monument'
429
-
}
430
-
}
428
+
properties: {
429
+
title: 'Somewhere',
430
+
'marker-symbol': 'monument',
431
+
},
432
+
},
431
433
},
432
434
'geojson-lines': {
433
-
'type': 'geojson',
434
-
'data': './lines.geojson'
435
-
}
435
+
type: 'geojson',
436
+
data: './lines.geojson',
437
+
},
436
438
},
437
439
'sdk-support': {
438
440
'basic functionality': {
439
441
js: '0.10.0',
440
442
android: '2.0.1',
441
-
ios: '2.0.0'
443
+
ios: '2.0.0',
442
444
},
443
445
clustering: {
444
446
js: '0.14.0',
445
447
android: '4.2.0',
446
-
ios: '3.4.0'
448
+
ios: '3.4.0',
447
449
},
448
450
'line distance metrics': {
449
451
js: '0.45.0',
450
452
android: '6.5.0',
451
-
ios: '4.4.0'
452
-
}
453
-
}
453
+
ios: '4.4.0',
454
+
},
455
+
},
454
456
},
455
457
image: {
456
458
doc: 'An image source. The `url` value contains the image location. The `coordinates` array contains `[longitude, latitude]` pairs for the image corners listed in clockwise order: top left, top right, bottom right, bottom left.',
doc: 'A video source. The `urls` value is an array. For each URL in the array, a video element [source](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source) will be created. To support the video across browsers, supply URLs in multiple formats.\n\nThe `coordinates` array contains `[longitude, latitude]` pairs for the video corners listed in clockwise order: top left, top right, bottom right, bottom left.\n\nWhen rendered as a [raster layer](layers.md#raster), the layer\'s [`raster-fade-duration`](layers.md#raster-fade-duration) property will cause the video to fade in. This happens when playback is started, paused and resumed, or when the video\'s coordinates are updated. To avoid this behavior, set the layer\'s [`raster-fade-duration`](layers.md#raster-fade-duration) property to `0`.',
480
+
doc: "A video source. The `urls` value is an array. For each URL in the array, a video element [source](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source) will be created. To support the video across browsers, supply URLs in multiple formats.\n\nThe `coordinates` array contains `[longitude, latitude]` pairs for the video corners listed in clockwise order: top left, top right, bottom right, bottom left.\n\nWhen rendered as a [raster layer](layers.md#raster), the layer's [`raster-fade-duration`](layers.md#raster-fade-duration) property will cause the video to fade in. This happens when playback is started, paused and resumed, or when the video's coordinates are updated. To avoid this behavior, set the layer's [`raster-fade-duration`](layers.md#raster-fade-duration) property to `0`.",
0 commit comments