Hi,

I created a tile map with mapbox.com, and I would like to use that as tile of a umap'map.

The your supported openlayers format for replace the tile, is:

http://{s}.domain.com/{z}/{x}/{y}.png

I talk with mapbox.com team. After 2 month of speaking, mapbox team suggest me this format url:

https://api.mapbox.com//styles/v1/papafrancesco/cj8w4kjz08l3x2slhj8c9zmvp/tiles/512/{z}/{x}/{y}{@2x}?access_token=pk.eyJ1IjoicGFwYWZyYW5jZXNjbyIsImEiOiJjaXFmZDRubzkwMDduaHhuaHVxemk5amZ5In0.cpMeGC7s9Pw8KqKXalh0Wg

BUT IT DON'T WORK

Mapbox team says me that the openlayers format is correct, and if don't work, the problem is by umap, not mapbox team.

Can you help me?

Francesco

asked 14 Jul '18, 19:23

franccicccio's gravatar image

franccicccio
11112
accept rate: 0%


I'm not sure if umap supports the @2x in brackets.. Maybe try explicitly including or excluding it. Also try changing from 512 tiles to 256 tiles to see if that helps.

permanent link

answered 14 Jul '18, 23:16

aharvey's gravatar image

aharvey
5082813
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×53
×39

question asked: 14 Jul '18, 19:23

question was seen: 761 times

last updated: 14 Jul '18, 23:16

powered by OSQA