Google Maps specific scale

I have a gmap that should increase in half. To do this, I need the Google zoom level to be formatted like this "4.001". I tried to do this by simply adding this value as the zoom level, but it does not work.

So my question is how to reach the zoom level of the Google map using a few numbers behind the decimal point. Is it possible? If not, how do I achieve slowly accurate scaling?

thank

+5
source share
3 answers

If you need a zoom level from 4 to 5, for example, 4.2 or 4.3, the only way is to use the cluster algorithm, because the card is divided into 4. The cluster means that when the tiles are so close to each other, it is no longer practical to show them. There is, for example, a marker manager that can calculate clusters, but it is not applicable to the map, because it does not make sense to subdivide into 6 or 7 fragments.

+3
source

According to the documentation , the scale level corresponds to the number of tiles in which the Earth is divided:

zoom = 1   =>   tiles = 2^1 * 2^1 = 2 * 2 = 4
zoom = 2   =>   tiles = 2^2 * 2^2 = 4 * 4 = 16
zoom = 3   =>   tiles = 2^3 * 2^3 = 8 * 8 = 64
etc

1 . . Google.

+5

CSS- 1 2, , . css-zoom 1 . , , , , , , .

4,5 4 CSS 1,5.

lo-res, : CSS-zoom 0,5 5. , , .

+2
source

All Articles