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

getMBR

Receiving of MBR (minimum bounding rectangle) for the object or group of objects.

Request's scheme

Move scheme

Parameters

Parameter Description
<authority> contains unique identifier that defines access level to the service.
<database> database name to which inquiry is made. If other parameters are absent, MBR of all the territory will return.
<object> package containing 1 and more objects with defined identifiers.
<points> package containing 1 and more points with defined coordinates.

Combination of acceptable packages can be random.

Example

Request

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<request>
    <authority key="AUTHORITYKEY"/>
    <method name="getMBR"/>
    <parameters>
        <database>World_ru</database>
        <objects>
            <id>4151257218867881</id>
        </objects>
        <points>
            <point
             lat="50.4552"
             lng="30.5114"/>
        </points>
    </parameters>
</request> 

Response

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response>
    <rectangle
     max_lat="50.45520014"
     max_lng="30.51139989"
     min_lat="50.45520014"
     min_lng="30.51139989"/>
</response> 


Attantion! Do not store ID, they depend on the date of modification database.