TileMapBase icon indicating copy to clipboard operation
TileMapBase copied to clipboard

Hi, I have two questions. The first one is, How can I change ticks of the xaxis and yaxis to latitude and longitude. And the second is how can I use OSM Bicycle Routing Tiles. Is that possible with TileMapBase? Thanks!

Open KingGNSS opened this issue 3 years ago • 4 comments

Ticks of the axis and OSM Bicycle Routing using problems image

KingGNSS avatar Jan 09 '22 03:01 KingGNSS

Could you say more about what the "OSM Bicycle Routing Tiles" are? Do they have a standard URL like the usual OSM tiles?

MatthewDaws avatar Jan 09 '22 11:01 MatthewDaws

I think it is not possible to have the ticks display latitude and longitude because the mapping from lat/long space to "web mercator" space is non-linear.

Or, rather, surely this is possible but it would require working carefully with matplotlib, and as such is a bit outside the remit of this (deliberately simple) project.

MatthewDaws avatar Jan 09 '22 11:01 MatthewDaws

Thanks for your reply. I mean how can I use the cycle map layer in the TileMapBse. There are different layers in OSM like follows: image

KingGNSS avatar Jan 10 '22 12:01 KingGNSS

This repo could give you the axis in meters: https://github.com/gustavovelascoh/mapinmeters Not what you wanted, but more useful than the current axis which is the unit square.

mikaeltulldahl avatar Aug 15 '23 21:08 mikaeltulldahl