Vector maps

The vector tiles maps API consists of two main parts: pre-defined vector data pieces (tiles) and a style which is defined by a text file. Usually, only a style file is necessary, containing information also about other components. Three vector maps layers are available: base map, points of interest, and a layer of labels and lines (place names, addresses, street names, street and boundary lines, etc.), which is suitable as an additional layer to an orthophoto map or satellite imagagery. Layers can be combined or used separetely.

URL

Styling information must match following pattern:

https://wms.kartes.lv/vectortiles/styles/style-combiner.php?key=

The response is given in JSON.

The HTTP GET request method is used.

  • client_key: Your authorisation key.

Query parameters

The request consists of the following GET parameters:

Parameter Description Possible values
styles Names of necessary vector map layers (comma separated) baltic-vt - Base map;
poi - Points of interest layer;
baltic-vt-orto - Labels and lines (suitable as an additional layer to an orthophoto map)
tilesize Tile size in pixels Default value: 128

Examples

Base map

Inuput:

https://wms.kartes.lv/vectortiles/styles/style-combiner.php?styles=baltic-vt&key=

The result on balticmaps.eu

Base map with points of layers

Input:

https://wms.kartes.lv/vectortiles/styles/style-combiner.php?styles=baltic-vt,poi&key=

The result on balticmaps.eu

Labels and lines with the points of interest on the orthophoto map

Input:

https://wms.kartes.lv/vectortiles/styles/style-combiner.php?styles=baltic-vt-orto,poi&key=

The result on balticmaps.eu