map.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "container": {},
  3. "style": {
  4. "version": 8,
  5. "glyphs": "//localhost/fonts/{fontstack}/{range}.pbf",
  6. "sources": {
  7. "openmaptiles": {
  8. "type": "vector",
  9. "url": "{\"tiles\":[\"//localhost/data/v3/{z}/{x}/{y}.pbf\"],\"name\":\"OpenMapTiles\",\"format\":\"pbf\",\"basename\":\"2017-07-03_planet_z0_z14.mbtiles\",\"id\":\"openmaptiles\",\"center\":[-12.2168,28.6135,4],\"maxzoom\":14,\"minzoom\":0,\"pixel_scale\":\"256\",\"vector_layers\":[],\"version\":\"3.6.1\",\"maskLevel\":\"8\",\"bounds\":[-180,-85.0511,180,85.0511],\"planettime\":\"1499040000000\",\"tilejson\":\"2.0.0\"}"
  10. }
  11. },
  12. "layers": [
  13. {
  14. "id": "background",
  15. "type": "background",
  16. "paint": {
  17. "background-color": "rgba(69,81,110,0.0)"
  18. }
  19. }
  20. ]
  21. },
  22. "center": {
  23. "lng": 126.8549969781343,
  24. "lat": 43.06798251760202
  25. },
  26. "zoom": 6.6,
  27. "minZoom": 6.3,
  28. "maxZoom": 7.2,
  29. "pitch": 60,
  30. "maxBounds": [
  31. [
  32. -179,
  33. -85
  34. ],
  35. [
  36. 179,
  37. 85
  38. ]
  39. ],
  40. "antialias": true
  41. }