Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page The list of layers for specific map  Layer background Next page


General request format: 

GET http://IP-address:port/web2/secure/kartas/{plan}/layers/{base}/

Request parameters:

ParameterIs requiredDescription
planYesMap ID
baseYesLayer ID

Request example:

GET http://127.0.0.1:8085/web2/secure/kartas/2/layers/2/

Response example:

<layer>
    <height>1000</height>
    <id>2</id>
    <mapId>2</mapId>
    <name>Base layer for plan</name>
    <width>1000</width>
    <zoomDef>1.0</zoomDef>
    <zoomMax>4.0</zoomMax>
    <zoomMin>0.25</zoomMin>
    <zoomStep>0.25</zoomStep> 
</layer>

Response parameters:

ParameterDescription

height

Layer substrate height in pixels

width

Layer substrate width in pixels

id

Layer ID

mapId

Map ID

name

Layer name

zoomDef

Default scale

zoomMax

Minimum scale

zoomMin

Maximum scale

zoomStep

Scale

  • No labels