polastre opened a new issue, #746:
URL: https://github.com/apache/incubator-baremaps/issues/746
For a `source` in a `style.json` file, it can either be a `url` to a
tileJson file or it can directly encode tileJson into the source by setting
keys like `tiles: []` and `minzoom`/`maxzoom`.
When you use `style.js` such as this:
```
export default {
"version": 8,
"name": "FlightAware",
"center": config.center,
"zoom": config.zoom,
"sources": {
"flightaware": {
"type": "vector",
"tiles": [
"http://my.server.com/{z}/{y}/{x}.mvt"
],
"maxzoom": 14,
}
},
...
};
```
It removes the keys `tiles` and `maxzoom`. If you include `url`, then `url`
is persisted. It seems it only supports syntax where tileJson is used as a
separate file. Is there a way to include the tileJson relevant fields in the
`source` and have the baremaps dev server pass that data through when it
generates `style.json`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]