2 attributes of the <layer> tag, 5 scripts – Comtech EF Data NetVue Release 1.1 User Guide User Manual

Page 182

Advertising
background image

Advanced Configuration (System Display)

Revision 3

NetVue User Guide

MN-NETVUE

10–45

10.7.1.5

Scripts

In the <Scripts> tag, specify a <Script> tag for every external JavaScript file to be loaded when the map is
opened.

NOTE: This is an advanced feature. In most cases, no external JavaScript files need
to be specified.

Example:
<Scripts>

<Script src="sync/scripts/izegem.extra.js" />

</Scripts>

In the src attribute of a <Script> tag, specify the path to a JavaScript file:

An absolute path, starting with http://
- or -

A path relative to C:/Skyline DataMiner/Webpages/Maps/

10.7.2

Attributes of the <Layer> tag

sourceType
The type of layer.

table
A layer that displays objects based on data retrieved from dynamic table rows.

properties
A layer that displays objects positioned according to latitude and longitude values retrieved from
NetVue Properties.

overlay
A layer that displays a static image (JPG, PNG, GIF or KML).

NOTE: The sourceType attribute of a <Layer> tag controls which subtags are allowed.
A <TableSourceInfo> tag, for example, is allowed inside a <Layer> tag only if
sourceType is table.

refresh
The interval (in milliseconds), at which the data in the layer must be refreshed.
If this attribute is set to 0 or left out of the <Layer> tag, the layer will not be refreshed.

NOTE: Increasing the refresh rate causes a negative effect on the overall
performance of NetVues and NetVue clients.

Advertising