Visual Basic (Declaration)
C#
Parameters
- geographyLevels
- An XML containing geography levels.
Geography levels of this task can be initialized only once using the
InitializeGeographyLevels
or InitializeGeographyLevelsFromXML
method. Geography levels should be initialized before using the InitializeAsync
and ExecuteAsync
methods.The example below shows the structure of XML parsed by this method.
<GeographyLevels> <GeographyLevel name="Some Name" alias="Some Alias"> <GeographyLayer url="Some URL 1"; name="Some name"; scale="25000000" generalizationLevel="1"; nameField="some nameField"; idField="some idField"; /> <GeographyLayer url="Some URL 2"; name="Some name"; scale="150000000" generalizationLevel="2"; nameField="some nameField"; idField="some idField"; /> </GeographyLevel> <GeographyLevel name="Another Name" alias="Another Alias"> <GeographyLayer url="Another URL 1"; name="Another name"; scale="25000000" generalizationLevel="1"; nameField="some nameField"; idField="some idField"; /> <GeographyLayer url="Another URL 2"; name="Another name"; scale="150000000" generalizationLevel="2"; nameField="some nameField"; idField="some idField"; /> </GeographyLevel> </GeographyLevels>
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family