jondewoo / UnitySlippyMap

A slippy map implementation written in C# for Unity3D
304 stars 110 forks source link

MaxZoom #33

Open SlobodanNikolic opened 7 years ago

SlobodanNikolic commented 7 years ago

Can the map be zoomed more (like Google Maps)? Awesome project by the way, works great!

jondewoo commented 7 years ago

You can zoom as much as the layer permits. Are you encountering a specific issue?

SlobodanNikolic commented 7 years ago

Well, yes. I can zoom Google Maps to see the street I am at a lot closer that this map. Here I can zoom a couple of times, but the view is still a lot farther away than Google Maps. The problem ls with clustering of the pins on the map. Pins that are near to each other are cramped and crowded. And it cant be zoomed more, so you can see all the pins that are set up clearly. Cheers

jondewoo commented 7 years ago

To expand a bit on my previous comment, each tile layer will allow you zoom in and out to specific values. This means that you'll need to set up a layer that provides tiles at the zoom values that you need.

That being said, I just noticed that OSM added zoom level 19, I updated the code to reflect that (f24b6707113826b8803284a5d39e9691d7d5b866). In consequence, you should be able to zoom more on the OSM layer in the demo project.