heremaps/harp.gl

Equirectangular Tiles supported?

Closed this issue · 3 comments

Hey!
Is it possible to display equirectangular raster tiles with harp.gl, i.e. tiles where there are two quadratic tiles on level 0?
I saw harp.gl supports equirectangular projection and various tiling schemes but wasn't able to produce a working example.
Thanks in advance!

@pwambach , Yes, we have an equirectangular projection.

See:

export const hereTilingScheme = new TilingScheme(

And specifically the subdivisionScheme, does that suit you. If not, you can create your own class which implements the SubdivisionScheme scheme, and pass it to the MapView.

Thanks for your fast answer!

Do I have to create my own DataSource class to use a different tiling scheme? I tried with a little debug example using the WebTileDataSource and it doesn't seem to have any effect.

Here is my example: https://jsfiddle.net/xeucz93d

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.