Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve style data (fonts, sprites, styles) + changed urls #5

Closed
21 of 24 tasks
petrsloup opened this issue Mar 9, 2016 · 1 comment
Closed
21 of 24 tasks

Serve style data (fonts, sprites, styles) + changed urls #5

petrsloup opened this issue Mar 9, 2016 · 1 comment
Assignees

Comments

@petrsloup
Copy link
Member

New urls:

  • viewers
    • /index.html for raster/vector tiles
    • /styles.html for styles
  • styles
    • /styles.json array of style (version, name, id)
    • /styles/{style_id}.json - style json
    • /styles/{style_id}.html{options} - viewer with autodetection
    • /styles/{style_id}/sprite[@2x].{format}
  • /fonts/{font},{font}/{start}-{end}.pbf
    • ability to concatenate more pbfs
  • rasterized
    • /static/{style_id}/{lon},{lat},{zoom}[,{bearing}][,{pitch}]/{width}x{height}[@2x].{format}
      • add optional bearing and pitch
    • /static/{style_id}/{minx},{miny},{maxx},{maxy}/{zoom}[@2x].{format}
    • /raster.json - list of tilejsons
    • /raster/{style_id}/{z}/{x}/{y}[@2x].{format}
    • /raster/{style_id}.json -- tilejson + “style” property (link to /styles/{style_id}.json)
  • vector data
    • /vector.json - list of tilejsons
    • /vector/{mbtiles_name},{mbtiles_name}/{z}/{x}/{y}.pbf
      • ability to concatenate
    • /vector/{mbtiles_name},{mbtiles_name}.json -- tilejson
      • ability to merge
  • /index.json -- raster.json + vector.json
  • add option to turn off the vector tiles (per-style)
@petrsloup petrsloup self-assigned this Mar 9, 2016
@petrsloup petrsloup added this to the v1.0.0 milestone Mar 10, 2016
@petrsloup petrsloup changed the title Serve static data (fonts, sprites, styles) + changed urls Serve style data (fonts, sprites, styles) + changed urls Mar 10, 2016
petrsloup added a commit that referenced this issue Mar 10, 2016
@petrsloup petrsloup removed this from the v1.0.0 milestone Mar 11, 2016
@petrsloup
Copy link
Member Author

This should be mostly done now. The rest is tracked in #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant