W
W
webinside2013-03-21 21:30:39
API
webinside, 2013-03-21 21:30:39

Names of tiles in Yandex Maps?

When creating a custom layer in Yandex maps using the program:
api.yandex.ru/maps/doc/jsapi/1.x/dg/concepts/ymaps...
, images of the form were generated: /10/tile-610-310.png , /10/tile-612-320.png and so
on according to the template /Z/XY.png
Help me understand on what basis X and Y are obtained and how can they be tied to GEO coordinates?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Ozeransky, 2013-03-21
@KREGI

X – pixel number horizontally, Y – vertically
The origin of pixel coordinates is in the upper left corner of the image, X – pixel number horizontally, Y – vertically.

as far as I understand, these are the coordinates on the tile itself.
GEO coordinates are latitude and longitude
The geographic coordinates of anchor points are specified in decimal format. For example, for longitude 34°30' the decimal value is 34.5. Use the Find Coordinates
tool to determine the latitude and longitude of points .

Read more carefully, it is written there
according to your mask, you can say
/ Z / XY
z - the file name is substituted by the scaling factor
x and y - the coordinates of the tile

N
nerzhul, 2013-03-21
@nerzhul

Here is the answer
habrahabr.ru/qa/37009/#comment_176559

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question