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

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

plan – map id

There can be 1 or more layers

http://example.com:[port]/web2/secure/kartas/plan/layers/

Sample of response:

<layers>
    <layer>
        <height>1000</height>
        <id>base</id>
        <mapId>plan</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>
</layers>

 

Parameters:

Height – height of layer’s image in pixels;

Width – width of layer’s image in pixels;

zoomMin – minimal zoom;

zoomMax – maximal zoom;

zoomStep – zoom step when zooming in or zooming out;

zoomDef – zoom by default.

 

Sample. If image width is 100 pixels, then width for 0.25 zoom is 100*0.25=25 pixels.

  • No labels