Визиком карты

Users tiles

This example shows how to make the imposition of users tiles

Coordinates in TMS are defined as follows:
http://tms0.visicom.ua/1.0.3/world_ru/zoom/X/Y.png

  • "X" - name of the directory where the tiles contain
  • "Y" - file name with "extension"

Example:

Example of calling tile "0" th scale (zoom = 0), which is located at the beginning of the coordinate system (X = 0, Y = 0)

http://tms0.visicom.ua/1.0.3/world_ua/0/0/0.png

Description of scale range

Scale level Pixel size on the ground, m
0 1565430,332
1 782715,166
2 391357,583
3 195678,7915
4 97839,39575
5 48919,69788
6 24459,84894
7 12229,92447
8 6114,962234
9 3057,481117
10 1528,740559
11 764,370279
12 382,18514
13 191,09257
14 95,546285
15 47,773142
16 23,886571
17 11,943286
18 5,971643

Class VCustomTileLayer

Method Description
abstract getTileURL(i, j) implemented by the user, returns the URL of the tile at the current scale with the given indices I, J.

Example