Back

INI-file structure

<ini>

<Startup>

<CashDir>Images</CashDir>
  Root cashe-directory for downloaded tiles. If relative path the dirctory will be in the user TEMP directory, if empty the name of direcory - <UserTemp>\SOL_Images

<StartUpDir />
Directory with the startup files, if empty - all files at the work session will be created in the User TEMP directory.

</Startup>

maps list beginning

<maps>

current map beginning. Important to keep the unique map ID

<map id="ScanexMap">

map name in the maps list on the form

<Name>Карта Космоснимки</Name>

map type. IMPORTANT, use in program. supported names - Scanex,Google,Yandex,VIRTUALEARTH

<TilesType>Scanex</TilesType>

raster's types.  supported png and jpg

<FileExt>png</FileExt>

<URLs>

  The list of an invariable part of string of request to a server for access to tiles. one row minimum

<URLBase>http://maps.kosmosnimki.ru/TileSender.ashx?</URLBase>

</URLs>

<Params>

parameters list to the request to the server. Order is important, X,Y,Z reserved names. ID is important for parameters with reserved names

<param id="ModeKey" prefix="ModeKey=" value="tile" />

<param id="MapName" prefix="&MapName=" value="Kosmosnimki" />

<param id="LayerName" prefix="&LayerName=" value="E50931C3B2DD4E0FA2C03366552EEAA1" />

<param id="X" prefix="&x=" value="" />

<param id="Y" prefix="&y=" value="" />

<param id="Z" prefix="&z=" value="" />

</Params>

<Extent>

map's bounding box. Will be in future version

  <Xmin />

  <Ymin />

  <Xmax />

  <Ymax />

level bounds - min/max map levels

  <Zmin>1</Zmin>

  <Zmax>17</Zmax>

</Extent>

<Start>

map start up parameters, in future.

<x />

<y />

<z>1</z>

</Start>

directory for tile cash for current map. If relative path - directory will created as subdir in the root CashDir see up

<DirOut>Map</DirOut>

</map>

</maps>

</ini>

 

Back


Хостинг от uCoz