Giter Site home page Giter Site logo

Comments (4)

nyurik avatar nyurik commented on July 18, 2024 1

yep, that's the page, esp these:

/{sourceID} Source TileJSON
/{sourceID}/{z}/{x}/{y} Map Tiles

from martin.

nyurik avatar nyurik commented on July 18, 2024

Use http://localhost:3000/jlptiles -- per documentation, tile source ID is the top level value, without tiles/

from martin.

jlpoolen avatar jlpoolen commented on July 18, 2024

Use http://localhost:3000/jlptiles -- per documentation, tile source ID is the top level value, without tiles/

That works. Thank you!


jlpoole@debian1:~/martin$ date; curl -I http://localhost:3000/jlptiles/0/0/0
Sat Jun 15 08:05:49 PM PDT 2024
HTTP/1.1 200 OK
content-length: 17734
content-type: application/x-protobuf
vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers
date: Sun, 16 Jun 2024 03:05:49 GMT

jlpoole@debian1:~/martin$ date; curl -I http://localhost:3000/jlptiles
Sat Jun 15 08:06:11 PM PDT 2024
HTTP/1.1 200 OK
content-length: 24031
content-type: application/json
vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers
date: Sun, 16 Jun 2024 03:06:10 GMT

jlpoole@debian1:~/martin$ date; curl  http://localhost:3000/jlptiles
Sat Jun 15 08:06:23 PM PDT 2024
{"tilejson":"3.0.0","tiles":["http://localhost:3000/jlptiles/{z}/{x}/{y}"],"vector_layers":[{"id":"water","fields":{"brunnel":"String","class":"String","id":"Number","intermittent":"Number"},"description":"Water polygons representing oceans and lakes. Covered watered areas are excluded (`covered=yes`).\nOn low zoom levels all water originates from Natural Earth. To get a more correct display of the south pole you should also\nstyle the covering ice shelves over the water.\nOn higher zoom levels water polygons from [OpenStreetMapData](http://osmdata.openstreetmap.de/) are used.\nThe polygons are split into many smaller polygons to improve rendering performance.\nThis however can lead to less rendering options in clients since these boundaries show up. So you might not be\nable to use border styling for ocean water features.","maxzoom":14,"minzoom":0},{"id":"waterway","fields":{"brunnel":"String","class":"String","intermittent":"Number","name":"String","name:am":"String","name:ar":"String","name:az":"String","name:be":"String","name:bg":"String","name:bn":"String","name:br":"String","name:bs":"String","name:ca":"
...

Would this the the URL to the documentation you are referring to? https://maplibre.org/martin/using.html?highlight=%22source%20ID%22#reserved-source-ids

from martin.

jlpoolen avatar jlpoolen commented on July 18, 2024

Thank you.

from martin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.