...
Simple ArcGIS definition
Code Block |
---|
|
<arcgisws:mapengine id="arcgis.topo">
<url>http://vmbreakout:8399/arcgis/services/Topo250/MapServer</url>
</arcgisws:mapengine>
|
ArcGIS definition overriding CRS returned, asking for a transparent image and using the layer names, rather than order, as the unique identifier for a layer
Code Block |
---|
|
<arcgisws:mapengine id="arcgis.roads">
<url>http://vmbreakout:8399/arcgis/services/Roads/MapServer</url>
<crs>EPSG:20255</crs>
<transparent>true</transparent>
<usename>true</usename>
</arcgisws:mapengine>
|
ArcGIS definition using a tile cache and connection pooling
Code Block |
---|
|
<arcgisws:mapengine id="arcgis.base">
<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
<map>Layers</map>
<crs>EPSG:20255</crs>
<transparent>true</transparent>
<usename>true</usename>
<mapcache>true</mapcache>
<pool:pool>
<maxActive>15</maxActive>
<minIdle>2</minIdle>
<maxIdle>2</maxIdle>
<testOnBorrow>true</testOnBorrow>
<timeBetweenEvictionRunsMillis>60000</timeBetweenEvictionRunsMillis>
<minEvictableIdleTimeMillis>1200000</minEvictableIdleTimeMillis>
<whenExhaustedAction>grow</whenExhaustedAction>
</pool:pool>
</arcgisws:mapengine>
|
ArcGIS definition providing only a single specific layer based on the layer id
Code Block |
---|
|
<arcgisws:mapengine id="arcgis.roads">
<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
<layers>
<layer id="0"/>
</layers>
</arcgisws:mapengine>
|
ArcGIS definition providing only a single specific layer based on the layer name
Code Block |
---|
|
<arcgisws:mapengine id="arcgis.roads">
<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
<layers>
<layer name="Aerial Photo"/>
</layers>
</arcgisws:mapengine>
|
ArcGIS definition providing only a single specific layer based on the layer id, using an alternate format
Code Block |
---|
|
<arcgisws:mapengine id="arcgis.roads">
<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
<layers>
<layer>0</layer>
</layers>
</arcgisws:mapengine>
|
ArcGIS definition providing only a single specific layer based on the layer name, using an alternate format
Code Block |
---|
|
<arcgisws:mapengine id="arcgis.roads">
<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
<usename>true</usename>
<layers>
<layer>Aerial Photo</layer>
</layers>
</arcgisws:mapengine>
|
ArcGIS definition removing a specific layers based on the layer id
Code Block |
---|
|
<arcgisws:mapengine id="arcgis.roads">
<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
<layers>
<remove>
<layer id="12"/>
<layer id="13"/>
</remove>
</layers>
</arcgisws:mapengine>
|
ArcGIS definition removing a specific layers based on the layer name, using an alternate format
Code Block |
---|
|
<arcgisws:mapengine id="arcgis.roads">
<url>http://vmbreakout:8399/arcgis/services/Base/MapServer</url>
<usename>true</usename>
<layers>
<remove>
<layer>Property (Pending)</layer>
<layer>Property (Historical)</layer>
</remove>
</layers>
</arcgisws:mapengine>
|
...