The ArcGIS Server Web Service map engine component provides a means for the Weave server to generate maps using ArcGIS Server via its web service API. This has the advantage over the direct ArcGIS Server map engine because it does not require any additional components to be installed on the server while still providing the same level of functionality (hence the direct connect component being made obsolete).
...
- The
layer
tag support two formats, one using theid
and/orname
attributes and the other using the tags content - Either one or both of the
id
and/orname
attributes must be set OR tag content must be provided - If the content of the
layer
tag is used then the value of theusename
property determines if the content should match the layer id or the layer name - Both the
id
andname
attributes can be set, but they must match both values for the layer that you're trying to filter or they won't match the layer - The
pool
tag when used with ArcGIS Server also support amaxAgeMillis
property which specifies how long the connection to ArcGIS Server should be kept for, this should be less that the value set for "The maximum time a client can use a service" in ArcGIS, note however that this check only occurs during connection validation, sotestOnBorrow
,testOnReturn
and/ortestWhileIdle
must be set for the pool. ArcGIS Server Settings - Pooling and Processes
legend
Alter the display of the legend
...
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>16</maxActive> <minIdle>2</minIdle> <!-- always keep at least 2 connection open --> <maxIdle>2<<maxIdle>8</maxIdle> <testOnBorrow>true</testOnBorrow> <timeBetweenEvictionRunsMillis>60000</timeBetweenEvictionRunsMillis> <minEvictableIdleTimeMillis>1200000</minEvictableIdleTimeMillis> <whenExhaustedAction>grow</whenExhaustedAction><testWhileIdle>true</testWhileIdle> <!-- enable background tests so that "old" (i.e. maxAgeMillis) connections can be cleaned up in the background --> <timeBetweenEvictionRunsMillis>30000</timeBetweenEvictionRunsMillis> <numTestsPerEvictionRun>16</numTestsPerEvictionRun> <!-- test all the connection on each run --> <minEvictableIdleTimeMillis>300000</minEvictableIdleTimeMillis> <!-- close a connection that's been idle for five minutes --> <whenExhaustedAction>block</whenExhaustedAction> <!-- ensure we don't create more than maxActive connections --> <maxAgeMillis>565000</maxAgeMillis> <!-- close anything that's been open for a the max allowed time from AGS (assuming 600 seconds here) minus a little more than the timeBetweenEvictionRunsMillis value to ensure it's removed before the AGS setting--> </pool:pool> </arcgisws:mapengine> |
...