mapbox / mapbox-scenekit

Other
231 stars 51 forks source link

Height Map for my own raster tiles #70

Open paulsUsername opened 5 years ago

paulsUsername commented 5 years ago

When I try to run the example project but just swap in my own map layer as the first layer and then set the bounding box for the area I have covered the map comes up all grey.

I have uploaded a Geotiff to the area in question. Can it render a height layer for custom raster tiles?

All code is exactly the same for the project except for the changed "private let styles =[]" and I have changed the coordinates to be for the area in question.

avi-c commented 5 years ago

@paulsUsername - You should be able to provide any valid style URL as the source for the terrain imagery. Are you seeing any errors on the console?

I would verify that you can make the tile URL requests successfully in some other tool (cURL, Postman, Paw, Mapbox Studio, etc.).

Could you try that and update this ticket with the results?