geoportal-extensions-openlayers
Version:

195 lines (186 loc) • 11 MB
JavaScript
/*!
* @brief French Geoportal Extension for OpenLayers
*
* This software is released under the licence CeCILL-B (Free BSD compatible)
* @see http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
* @see http://www.cecill.info/licences/Licence_CeCILL-B_V1-fr.txt
* @see http://www.cecill.info/
*
* @copyright copyright (c) IGN
* @license CeCILL-B
* @author IGN
* @version 3.4.6
* @date 12/06/2025
*
*/
/*!
* @overview ol-mapbox-style - Use Mapbox Style objects with OpenLayers
* @copyright Copyright (c) 2016 openlayers
* @license BSD 2-Clause "Simplified" License
* See https://raw.githubusercontent.com/openlayers/ol-mapbox-style/master/LICENSE
* @version 6.7.0
*/
/*!
* Sortable -- JavaScript library for reorderable drag-and-drop lists on modern
* browsers and touch devices. No jQuery required. Supports Meteor, AngularJS,
* React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.
*
* Released under MIT LICENSE
*
* Copyright Lebedev Konstantin <ibnRubaXa@gmail.com>
* https://github.com/SortableJS/Sortable
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* @version 1.14.0
*/
/*!
* @overview Fetch - window.fetch polyfill
* @copyright Copyright (c) 2014-2016 GitHub, Inc.
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/github/fetch/master/LICENSE
* @version 3.0.0
*/
/*!
* @overview EventBus - Simple JavaScript class for managing events in JavaScript
* @copyright Copyright (c) 2014 Krasimir Tsonev
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/krasimir/EventBus/master/LICENSE
* @version 0.2.0
*/
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.4
*/
/*!
* @overview Proj4js - Javascript reprojection library.
*
* @authors
* - Mike Adair madairATdmsolutions.ca
* - Richard Greenwood richATgreenwoodmap.com
* - Didier Richard didier.richardATign.fr
* - Stephen Irons stephen.ironsATclear.net.nz
* - Olivier Terral oterralATgmail.com
* - Calvin Metcalf cmetcalfATappgeo.com
*
* @copyright Copyright (c) 2014, Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/proj4js/proj4js/master/LICENSE.md
* @version 2.7.5
*/
var Gp =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ({
/***/ "./node_modules/@mapbox/mapbox-gl-style-spec/dist/index.es.js":
/*!********************************************************************!*\
!*** ./node_modules/@mapbox/mapbox-gl-style-spec/dist/index.es.js ***!
\********************************************************************/
/*! exports provided: Color, ParsingError, ValidationError, composite, convertFilter, derefLayers, diff, expression, featureFilter, format, function, latest, migrate, v8, validate, validateMapboxApiSupported, visit */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, Buffer) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Color\", function() { return Color; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParsingError\", function() { return ParsingError$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ValidationError\", function() { return ValidationError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"composite\", function() { return composite; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"convertFilter\", function() { return convertFilter$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"derefLayers\", function() { return derefLayers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"diff\", function() { return diffStyles; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"expression\", function() { return expression$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"featureFilter\", function() { return createFilter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"format\", function() { return format; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"function\", function() { return styleFunction; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"latest\", function() { return v8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"migrate\", function() { return migrate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"v8\", function() { return v8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validate\", function() { return validateStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateMapboxApiSupported\", function() { return validateMapboxApiSupported; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"visit\", function() { return visit; });\nfunction _toArray(r) { return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest(); }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(r) { if (\"undefined\" != typeof Symbol && null != r[Symbol.iterator] || null != r[\"@@iterator\"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(t, e) { if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e; if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\"); return _assertThisInitialized(t); }\nfunction _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); return e; }\nfunction _inherits(t, e) { if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, \"prototype\", { writable: !1 }), e && _setPrototypeOf(t, e); }\nfunction _wrapNativeSuper(t) { var r = \"function\" == typeof Map ? new Map() : void 0; return _wrapNativeSuper = function _wrapNativeSuper(t) { if (null === t || !_isNativeFunction(t)) return t; if (\"function\" != typeof t) throw new TypeError(\"Super expression must either be null or a function\"); if (void 0 !== r) { if (r.has(t)) return r.get(t); r.set(t, Wrapper); } function Wrapper() { return _construct(t, arguments, _getPrototypeOf(this).constructor); } return Wrapper.prototype = Object.create(t.prototype, { constructor: { value: Wrapper, enumerable: !1, writable: !0, configurable: !0 } }), _setPrototypeOf(Wrapper, t); }, _wrapNativeSuper(t); }\nfunction _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _isNativeFunction(t) { try { return -1 !== Function.toString.call(t).indexOf(\"[native code]\"); } catch (n) { return \"function\" == typeof t; } }\nfunction _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }\nfunction _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t[\"return\"] || t[\"return\"](); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar $version = 8;\nvar $root = {\n version: {\n required: true,\n type: \"enum\",\n values: [8],\n doc: \"Style specification version number. Must be 8.\",\n example: 8\n },\n name: {\n type: \"string\",\n doc: \"A human-readable name for the style.\",\n example: \"Bright\"\n },\n metadata: {\n type: \"*\",\n doc: \"Arbitrary properties useful to track with the stylesheet, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'.\"\n },\n center: {\n type: \"array\",\n value: \"number\",\n doc: \"Default map center in longitude and latitude. The style center will be used only if the map has not been positioned by other means (e.g. map options or user interaction).\",\n example: [-73.9749, 40.7736]\n },\n zoom: {\n type: \"number\",\n doc: \"Default zoom level. The style zoom will be used only if the map has not been positioned by other means (e.g. map options or user interaction).\",\n example: 12.5\n },\n bearing: {\n type: \"number\",\n \"default\": 0,\n period: 360,\n units: \"degrees\",\n doc: \"Default bearing, in degrees. The bearing is the compass direction that is \\\"up\\\"; for example, a bearing of 90° orients the map so that east is up. This value will be used only if the map has not been positioned by other means (e.g. map options or user interaction).\",\n example: 29\n },\n pitch: {\n type: \"number\",\n \"default\": 0,\n units: \"degrees\",\n doc: \"Default pitch, in degrees. Zero is perpendicular to the surface, for a look straight down at the map, while a greater value like 60 looks ahead towards the horizon. The style pitch will be used only if the map has not been positioned by other means (e.g. map options or user interaction).\",\n example: 50\n },\n light: {\n type: \"light\",\n doc: \"The global light source.\",\n example: {\n anchor: \"viewport\",\n color: \"white\",\n intensity: 0.4\n }\n },\n terrain: {\n type: \"terrain\",\n doc: \"A global modifier that elevates layers and markers based on a DEM data source.\"\n },\n fog: {\n type: \"fog\",\n doc: \"A global effect that fades layers and markers based on their distance to the camera. The fog can be used to approximate the effect of atmosphere on distant objects and enhance the depth perception of the map when used with terrain or 3D features.\"\n },\n sources: {\n required: true,\n type: \"sources\",\n doc: \"Data source specifications.\",\n example: {\n \"mapbox-streets\": {\n type: \"vector\",\n url: \"mapbox://mapbox.mapbox-streets-v6\"\n }\n }\n },\n sprite: {\n type: \"string\",\n doc: \"A base URL for retrieving the sprite image and metadata. The extensions `.png`, `.json` and scale factor `@2x.png` will be automatically appended. This property is required if any layer uses the `background-pattern`, `fill-pattern`, `line-pattern`, `fill-extrusion-pattern`, or `icon-image` properties. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).\",\n example: \"mapbox://sprites/mapbox/bright-v8\"\n },\n glyphs: {\n type: \"string\",\n doc: \"A URL template for loading signed-distance-field glyph sets in PBF format. The URL must include `{fontstack}` and `{range}` tokens. This property is required if any layer uses the `text-field` layout property. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).\",\n example: \"mapbox://fonts/mapbox/{fontstack}/{range}.pbf\"\n },\n transition: {\n type: \"transition\",\n doc: \"A global transition definition to use as a default across properties, to be used for timing transitions between one value and the next when no property-specific transition is set. Collision-based symbol fading is controlled independently of the style's `transition` property.\",\n example: {\n duration: 300,\n delay: 0\n }\n },\n layers: {\n required: true,\n type: \"array\",\n value: \"layer\",\n doc: \"Layers will be drawn in the order of this array.\",\n example: [{\n id: \"water\",\n source: \"mapbox-streets\",\n \"source-layer\": \"water\",\n type: \"fill\",\n paint: {\n \"fill-color\": \"#00ffff\"\n }\n }]\n }\n};\nvar sources = {\n \"*\": {\n type: \"source\",\n doc: \"Specification of a data source. For vector and raster sources, either TileJSON or a URL to a TileJSON must be provided. For image and video sources, a URL must be provided. For GeoJSON sources, a URL or inline GeoJSON must be provided.\"\n }\n};\nvar source = [\"source_vector\", \"source_raster\", \"source_raster_dem\", \"source_geojson\", \"source_video\", \"source_image\"];\nvar source_vector = {\n type: {\n required: true,\n type: \"enum\",\n values: {\n vector: {\n doc: \"A vector tile source.\"\n }\n },\n doc: \"The type of the source.\"\n },\n url: {\n type: \"string\",\n doc: \"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`.\"\n },\n tiles: {\n type: \"array\",\n value: \"string\",\n doc: \"An array of one or more tile source URLs, as in the TileJSON spec.\"\n },\n bounds: {\n type: \"array\",\n value: \"number\",\n length: 4,\n \"default\": [-180, -85.051129, 180, 85.051129],\n doc: \"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL.\"\n },\n scheme: {\n type: \"enum\",\n values: {\n xyz: {\n doc: \"Slippy map tilenames scheme.\"\n },\n tms: {\n doc: \"OSGeo spec scheme.\"\n }\n },\n \"default\": \"xyz\",\n doc: \"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.\"\n },\n minzoom: {\n type: \"number\",\n \"default\": 0,\n doc: \"Minimum zoom level for which tiles are available, as in the TileJSON spec.\"\n },\n maxzoom: {\n type: \"number\",\n \"default\": 22,\n doc: \"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels.\"\n },\n attribution: {\n type: \"string\",\n doc: \"Contains an attribution to be displayed when the map is shown to a user.\"\n },\n promoteId: {\n type: \"promoteId\",\n doc: \"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`. If specified as a string for a vector tile source, the same property is used across all its source layers.\"\n },\n \"volatile\": {\n type: \"boolean\",\n \"default\": false,\n doc: \"A setting to determine whether a source's tiles are cached locally.\",\n \"sdk-support\": {\n \"basic functionality\": {\n android: \"9.3.0\",\n ios: \"5.10.0\"\n }\n }\n },\n \"*\": {\n type: \"*\",\n doc: \"Other keys to configure the data source.\"\n }\n};\nvar source_raster = {\n type: {\n required: true,\n type: \"enum\",\n values: {\n raster: {\n doc: \"A raster tile source.\"\n }\n },\n doc: \"The type of the source.\"\n },\n url: {\n type: \"string\",\n doc: \"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`.\"\n },\n tiles: {\n type: \"array\",\n value: \"string\",\n doc: \"An array of one or more tile source URLs, as in the TileJSON spec.\"\n },\n bounds: {\n type: \"array\",\n value: \"number\",\n length: 4,\n \"default\": [-180, -85.051129, 180, 85.051129],\n doc: \"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL.\"\n },\n minzoom: {\n type: \"number\",\n \"default\": 0,\n doc: \"Minimum zoom level for which tiles are available, as in the TileJSON spec.\"\n },\n maxzoom: {\n type: \"number\",\n \"default\": 22,\n doc: \"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels.\"\n },\n tileSize: {\n type: \"number\",\n \"default\": 512,\n units: \"pixels\",\n doc: \"The minimum visual size to display tiles for this layer. Only configurable for raster layers.\"\n },\n scheme: {\n type: \"enum\",\n values: {\n xyz: {\n doc: \"Slippy map tilenames scheme.\"\n },\n tms: {\n doc: \"OSGeo spec scheme.\"\n }\n },\n \"default\": \"xyz\",\n doc: \"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.\"\n },\n attribution: {\n type: \"string\",\n doc: \"Contains an attribution to be displayed when the map is shown to a user.\"\n },\n \"volatile\": {\n type: \"boolean\",\n \"default\": false,\n doc: \"A setting to determine whether a source's tiles are cached locally.\",\n \"sdk-support\": {\n \"basic functionality\": {\n android: \"9.3.0\",\n ios: \"5.10.0\"\n }\n }\n },\n \"*\": {\n type: \"*\",\n doc: \"Other keys to configure the data source.\"\n }\n};\nvar source_raster_dem = {\n type: {\n required: true,\n type: \"enum\",\n values: {\n \"raster-dem\": {\n doc: \"A RGB-encoded raster DEM source\"\n }\n },\n doc: \"The type of the source.\"\n },\n url: {\n type: \"string\",\n doc: \"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`.\"\n },\n tiles: {\n type: \"array\",\n value: \"string\",\n doc: \"An array of one or more tile source URLs, as in the TileJSON spec.\"\n },\n bounds: {\n type: \"array\",\n value: \"number\",\n length: 4,\n \"default\": [-180, -85.051129, 180, 85.051129],\n doc: \"An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: `[sw.lng, sw.lat, ne.lng, ne.lat]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL.\"\n },\n minzoom: {\n type: \"number\",\n \"default\": 0,\n doc: \"Minimum zoom level for which tiles are available, as in the TileJSON spec.\"\n },\n maxzoom: {\n type: \"number\",\n \"default\": 22,\n doc: \"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels.\"\n },\n tileSize: {\n type: \"number\",\n \"default\": 512,\n units: \"pixels\",\n doc: \"The minimum visual size to display tiles for this layer. Only configurable for raster layers.\"\n },\n attribution: {\n type: \"string\",\n doc: \"Contains an attribution to be displayed when the map is shown to a user.\"\n },\n encoding: {\n type: \"enum\",\n values: {\n terrarium: {\n doc: \"Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info.\"\n },\n mapbox: {\n doc: \"Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info.\"\n }\n },\n \"default\": \"mapbox\",\n doc: \"The encoding used by this source. Mapbox Terrain RGB is used by default\"\n },\n \"volatile\": {\n type: \"boolean\",\n \"default\": false,\n doc: \"A setting to determine whether a source's tiles are cached locally.\",\n \"sdk-support\": {\n \"basic functionality\": {\n android: \"9.3.0\",\n ios: \"5.10.0\"\n }\n }\n },\n \"*\": {\n type: \"*\",\n doc: \"Other keys to configure the data source.\"\n }\n};\nvar source_geojson = {\n type: {\n required: true,\n type: \"enum\",\n values: {\n geojson: {\n doc: \"A GeoJSON data source.\"\n }\n },\n doc: \"The data type of the GeoJSON source.\"\n },\n data: {\n type: \"*\",\n doc: \"A URL to a GeoJSON file, or inline GeoJSON.\"\n },\n maxzoom: {\n type: \"number\",\n \"default\": 18,\n doc: \"Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels).\"\n },\n attribution: {\n type: \"string\",\n doc: \"Contains an attribution to be displayed when the map is shown to a user.\"\n },\n buffer: {\n type: \"number\",\n \"default\": 128,\n maximum: 512,\n minimum: 0,\n doc: \"Size of the tile buffer on each side. A value of 0 produces no buffer. A value of 512 produces a buffer as wide as the tile itself. Larger values produce fewer rendering artifacts near tile edges and slower performance.\"\n },\n filter: {\n type: \"*\",\n doc: \"An expression for filtering features prior to processing them for rendering.\"\n },\n tolerance: {\n type: \"number\",\n \"default\": 0.375,\n doc: \"Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance).\"\n },\n cluster: {\n type: \"boolean\",\n \"default\": false,\n doc: \"If the data is a collection of point features, setting this to true clusters the points by radius into groups. Cluster groups become new `Point` features in the source with additional properties:\\n * `cluster` Is `true` if the point is a cluster \\n * `cluster_id` A unqiue id for the cluster to be used in conjunction with the [cluster inspection methods](https://www.mapbox.com/mapbox-gl-js/api/#geojsonsource#getclusterexpansionzoom)\\n * `point_count` Number of original points grouped into this cluster\\n * `point_count_abbreviated` An abbreviated point count\"\n },\n clusterRadius: {\n type: \"number\",\n \"default\": 50,\n minimum: 0,\n doc: \"Radius of each cluster if clustering is enabled. A value of 512 indicates a radius equal to the width of a tile.\"\n },\n clusterMaxZoom: {\n type: \"number\",\n doc: \"Max zoom on which to cluster points if clustering is enabled. Defaults to one zoom less than maxzoom (so that last zoom features are not clustered). Clusters are re-evaluated at integer zoom levels so setting clusterMaxZoom to 14 means the clusters will be displayed until z15.\"\n },\n clusterMinPoints: {\n type: \"number\",\n doc: \"Minimum number of points necessary to form a cluster if clustering is enabled. Defaults to `2`.\"\n },\n clusterProperties: {\n type: \"*\",\n doc: \"An object defining custom properties on the generated clusters if clustering is enabled, aggregating values from clustered points. Has the form `{\\\"property_name\\\": [operator, map_expression]}`. `operator` is any expression function that accepts at least 2 operands (e.g. `\\\"+\\\"` or `\\\"max\\\"`) — it accumulates the property value from clusters/points the cluster contains; `map_expression` produces the value of a single point.\\n\\nExample: `{\\\"sum\\\": [\\\"+\\\", [\\\"get\\\", \\\"scalerank\\\"]]}`.\\n\\nFor more advanced use cases, in place of `operator`, you can use a custom reduce expression that references a special `[\\\"accumulated\\\"]` value, e.g.:\\n`{\\\"sum\\\": [[\\\"+\\\", [\\\"accumulated\\\"], [\\\"get\\\", \\\"sum\\\"]], [\\\"get\\\", \\\"scalerank\\\"]]}`\"\n },\n lineMetrics: {\n type: \"boolean\",\n \"default\": false,\n doc: \"Whether to calculate line distance metrics. This is required for line layers that specify `line-gradient` values.\"\n },\n generateId: {\n type: \"boolean\",\n \"default\": false,\n doc: \"Whether to generate ids for the geojson features. When enabled, the `feature.id` property will be auto assigned based on its index in the `features` array, over-writing any previous values.\"\n },\n promoteId: {\n type: \"promoteId\",\n doc: \"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`.\"\n }\n};\nvar source_video = {\n type: {\n required: true,\n type: \"enum\",\n values: {\n video: {\n doc: \"A video data source.\"\n }\n },\n doc: \"The data type of the video source.\"\n },\n urls: {\n required: true,\n type: \"array\",\n value: \"string\",\n doc: \"URLs to video content in order of preferred format.\"\n },\n coordinates: {\n required: true,\n doc: \"Corners of video specified in longitude, latitude pairs.\",\n type: \"array\",\n length: 4,\n value: {\n type: \"array\",\n length: 2,\n value: \"number\",\n doc: \"A single longitude, latitude pair.\"\n }\n }\n};\nvar source_image = {\n type: {\n required: true,\n type: \"enum\",\n values: {\n image: {\n doc: \"An image data source.\"\n }\n },\n doc: \"The data type of the image source.\"\n },\n url: {\n required: true,\n type: \"string\",\n doc: \"URL that points to an image.\"\n },\n coordinates: {\n required: true,\n doc: \"Corners of image specified in longitude, latitude pairs.\",\n type: \"array\",\n length: 4,\n value: {\n type: \"array\",\n length: 2,\n value: \"number\",\n doc: \"A single longitude, latitude pair.\"\n }\n }\n};\nvar layer = {\n id: {\n type: \"string\",\n doc: \"Unique layer name.\",\n required: true\n },\n type: {\n type: \"enum\",\n values: {\n fill: {\n doc: \"A filled polygon with an optional stroked border.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n }\n },\n line: {\n doc: \"A stroked line.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n }\n },\n symbol: {\n doc: \"An icon or a text label.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n }\n },\n circle: {\n doc: \"A filled circle.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n }\n },\n heatmap: {\n doc: \"A heatmap.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.41.0\",\n android: \"6.0.0\",\n ios: \"4.0.0\",\n macos: \"0.7.0\"\n }\n }\n },\n \"fill-extrusion\": {\n doc: \"An extruded (3D) polygon.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.27.0\",\n android: \"5.1.0\",\n ios: \"3.6.0\",\n macos: \"0.5.0\"\n }\n }\n },\n raster: {\n doc: \"Raster map textures such as satellite imagery.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n }\n },\n hillshade: {\n doc: \"Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.43.0\",\n android: \"6.0.0\",\n ios: \"4.0.0\",\n macos: \"0.7.0\"\n }\n }\n },\n background: {\n doc: \"The background color or pattern of the map.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n }\n },\n sky: {\n doc: \"A spherical dome around the map that is always rendered behind all other layers.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"2.0.0\"\n }\n }\n }\n },\n doc: \"Rendering type of this layer.\",\n required: true\n },\n metadata: {\n type: \"*\",\n doc: \"Arbitrary properties useful to track with the layer, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'.\"\n },\n source: {\n type: \"string\",\n doc: \"Name of a source description to be used for this layer. Required for all layer types except `background`.\"\n },\n \"source-layer\": {\n type: \"string\",\n doc: \"Layer to use from a vector tile source. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources.\"\n },\n minzoom: {\n type: \"number\",\n minimum: 0,\n maximum: 24,\n doc: \"The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.\"\n },\n maxzoom: {\n type: \"number\",\n minimum: 0,\n maximum: 24,\n doc: \"The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.\"\n },\n filter: {\n type: \"filter\",\n doc: \"A expression specifying conditions on source features. Only features that match the filter are displayed. Zoom expressions in filters are only evaluated at integer zoom levels. The `feature-state` expression is not supported in filter expressions.\"\n },\n layout: {\n type: \"layout\",\n doc: \"Layout properties for the layer.\"\n },\n paint: {\n type: \"paint\",\n doc: \"Default paint properties for this layer.\"\n }\n};\nvar layout = [\"layout_fill\", \"layout_line\", \"layout_circle\", \"layout_heatmap\", \"layout_fill-extrusion\", \"layout_symbol\", \"layout_raster\", \"layout_hillshade\", \"layout_background\", \"layout_sky\"];\nvar layout_background = {\n visibility: {\n type: \"enum\",\n values: {\n visible: {\n doc: \"The layer is shown.\"\n },\n none: {\n doc: \"The layer is not shown.\"\n }\n },\n \"default\": \"visible\",\n doc: \"Whether this layer is displayed.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n },\n \"property-type\": \"constant\"\n }\n};\nvar layout_sky = {\n visibility: {\n type: \"enum\",\n values: {\n visible: {\n doc: \"The layer is shown.\"\n },\n none: {\n doc: \"The layer is not shown.\"\n }\n },\n \"default\": \"visible\",\n doc: \"Whether this layer is displayed.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"2.0.0\"\n }\n },\n \"property-type\": \"constant\"\n }\n};\nvar layout_fill = {\n \"fill-sort-key\": {\n type: \"number\",\n doc: \"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"1.2.0\",\n android: \"9.1.0\",\n ios: \"5.8.0\",\n macos: \"0.15.0\"\n },\n \"data-driven styling\": {\n js: \"1.2.0\",\n android: \"9.1.0\",\n ios: \"5.8.0\",\n macos: \"0.15.0\"\n }\n },\n expression: {\n interpolated: false,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n visibility: {\n type: \"enum\",\n values: {\n visible: {\n doc: \"The layer is shown.\"\n },\n none: {\n doc: \"The layer is not shown.\"\n }\n },\n \"default\": \"visible\",\n doc: \"Whether this layer is displayed.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n },\n \"property-type\": \"constant\"\n }\n};\nvar layout_circle = {\n \"circle-sort-key\": {\n type: \"number\",\n doc: \"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"1.2.0\",\n android: \"9.2.0\",\n ios: \"5.9.0\",\n macos: \"0.16.0\"\n },\n \"data-driven styling\": {\n js: \"1.2.0\",\n android: \"9.2.0\",\n ios: \"5.9.0\",\n macos: \"0.16.0\"\n }\n },\n expression: {\n interpolated: false,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n visibility: {\n type: \"enum\",\n values: {\n visible: {\n doc: \"The layer is shown.\"\n },\n none: {\n doc: \"The layer is not shown.\"\n }\n },\n \"default\": \"visible\",\n doc: \"Whether this layer is displayed.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n },\n \"property-type\": \"constant\"\n }\n};\nvar layout_heatmap = {\n visibility: {\n type: \"enum\",\n values: {\n visible: {\n doc: \"The layer is shown.\"\n },\n none: {\n doc: \"The layer is not shown.\"\n }\n },\n \"default\": \"visible\",\n doc: \"Whether this layer is displayed.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.41.0\",\n android: \"6.0.0\",\n ios: \"4.0.0\",\n macos: \"0.7.0\"\n }\n },\n \"property-type\": \"constant\"\n }\n};\nvar layout_line = {\n \"line-cap\": {\n type: \"enum\",\n values: {\n butt: {\n doc: \"A cap with a squared-off end which is drawn to the exact endpoint of the line.\"\n },\n round: {\n doc: \"A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.\"\n },\n square: {\n doc: \"A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.\"\n }\n },\n \"default\": \"butt\",\n doc: \"The display of line endings.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n },\n \"data-driven styling\": {\n js: \"2.3.0\"\n }\n },\n expression: {\n interpolated: false,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"line-join\": {\n type: \"enum\",\n values: {\n bevel: {\n doc: \"A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.\"\n },\n round: {\n doc: \"A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.\"\n },\n miter: {\n doc: \"A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet.\"\n }\n },\n \"default\": \"miter\",\n doc: \"The display of lines when joining.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n },\n \"data-driven styling\": {\n js: \"0.40.0\",\n android: \"5.2.0\",\n ios: \"3.7.0\",\n macos: \"0.6.0\"\n }\n },\n expression: {\n interpolated: false,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n \"line-miter-limit\": {\n type: \"number\",\n \"default\": 2,\n doc: \"Used to automatically convert miter joins to bevel joins for sharp angles.\",\n requires: [{\n \"line-join\": \"miter\"\n }],\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n },\n expression: {\n interpolated: true,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"line-round-limit\": {\n type: \"number\",\n \"default\": 1.05,\n doc: \"Used to automatically convert round joins to miter joins for shallow angles.\",\n requires: [{\n \"line-join\": \"round\"\n }],\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n },\n expression: {\n interpolated: true,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"line-sort-key\": {\n type: \"number\",\n doc: \"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"1.2.0\",\n android: \"9.1.0\",\n ios: \"5.8.0\",\n macos: \"0.15.0\"\n },\n \"data-driven styling\": {\n js: \"1.2.0\",\n android: \"9.1.0\",\n ios: \"5.8.0\",\n macos: \"0.15.0\"\n }\n },\n expression: {\n interpolated: false,\n parameters: [\"zoom\", \"feature\"]\n },\n \"property-type\": \"data-driven\"\n },\n visibility: {\n type: \"enum\",\n values: {\n visible: {\n doc: \"The layer is shown.\"\n },\n none: {\n doc: \"The layer is not shown.\"\n }\n },\n \"default\": \"visible\",\n doc: \"Whether this layer is displayed.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n },\n \"property-type\": \"constant\"\n }\n};\nvar layout_symbol = {\n \"symbol-placement\": {\n type: \"enum\",\n values: {\n point: {\n doc: \"The label is placed at the point where the geometry is located.\"\n },\n line: {\n doc: \"The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries.\"\n },\n \"line-center\": {\n doc: \"The label is placed at the center of the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. Note that a single feature in a vector tile may contain multiple line geometries.\"\n }\n },\n \"default\": \"point\",\n doc: \"Label placement relative to its geometry.\",\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n },\n \"`line-center` value\": {\n js: \"0.47.0\",\n android: \"6.4.0\",\n ios: \"4.3.0\",\n macos: \"0.10.0\"\n }\n },\n expression: {\n interpolated: false,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"symbol-spacing\": {\n type: \"number\",\n \"default\": 250,\n minimum: 1,\n units: \"pixels\",\n doc: \"Distance between two symbol anchors.\",\n requires: [{\n \"symbol-placement\": \"line\"\n }],\n \"sdk-support\": {\n \"basic functionality\": {\n js: \"0.10.0\",\n android: \"2.0.1\",\n ios: \"2.0.0\",\n macos: \"0.1.0\"\n }\n },\n expression: {\n interpolated: true,\n parameters: [\"zoom\"]\n },\n \"property-type\": \"data-constant\"\n },\n \"symbol-avoid-edges\": {\n type: \"boolean\",\n \"default\": false,\n doc: \"If true, the symbols wi