OSM scaling layer for Android OS 19 and above

I am new to android development. I have an application that displays a MapView and I have set a bounding box to restrict the view to only fragments in a specific area. The problem is that I need to zoom in past level 18. Which I was also able to do by setting the maximum zoom level. However, the default tile for scaling 19 and up doesn't have any tiles, I really only need up to 20, 21 max.

Is there a way to create my own tiles? Do you have custom tiles? Create your own map? Or if you have a tile vendor that allows me to scale the map to level 18 and still be able to see the tiles of the map?

I need a higher level of zoom because I overlay custom markers and if it doesn't scale enough the markers overlap. If I decrease the size of the marker down, it won't be visible enough ...

EDIT: Some other specific details that I missed in my original post are

  • I am using OpenStreetMap because I need a function it provides where I can edit roads and mark them appropriately for future use.

  • Also, the tiles that Google Maps provides for my selected geographic area are out of date due to recent construction and renovation. This makes the map unreliable for routing the application user.

  • The purpose of the app is to redirect the user. Hence, the requirement to zoom in closer to see many markers individually. (There are a row and a row of markers very close together, on purpose.)

+3


source to share


1 answer


Assuming you are using Osmdroid, there are some problems with knowing s> 19 zoom levels to be aware of. This is mainly a problem of loss of precision. There is a potential solution, however the project owner does not want to merge it.

Is there a way to create my own tiles?

Yes. There are several tools out there like Mobac and MapBox as well as Ersi based products. I'm sure there are others.

Are there custom tiles?



Yes, you can download any snippet source you want, online or offline, that supports or can be translated into OSM slide card format, commonly referred to as XYZ.

Create your own map? Or if you have a tile vendor that allows me to scale the map to level 18 and still be able to see the tiles of the map?

Bing, and possibly other sources, have tiles that are 19+ for certain geographic regions, but not all. Keep in mind that storage requirements (when using offline maps) increase exponentially as the level increases.

+2


source







All Articles