< prev | next >

vector < Tags < Home

<vector>

The <vector> tag specifies a vector plot to appear within the context of a map. As such, <vector> tags can only appear as children of a <map>. Each <vector> tag must contain two <data> tags, and may contain a <lineStyle> tag. If the <lineStyle> is omitted, default visual properties will be applied. Currently, the data source for a vector plot is limited to an MDF formatted file. Future versions may allow for additional vector data sources.

Attributes

attribute

default

description

visible

"true"

Is the vector plot initially visible?

name

"Wind vectors at 10 meters"

Custom product name to appear in the legend.

Children

tag

quantity

description

<data>

2 (required)

The sources from which the U and V components of the vectors are obtained. The first <data> tag defines the U component data, and the second <data> tag defines the V component data.

<lineStyle>

1 (optional)

The visual properties of the vector arrows. By default, a blue line (color="#3366FF") with a width of 0 will be used.

Examples

<vector visible="true">
  <data src="199407071700.mdf" param="UWND" units="mph"/>
  <data src="199407071700.mdf" param="VWND" units="mph"/>
  <lineStyle color="#00FF66" width="0"/>
</vector>
         
<vector>
  <data src="http://myserver/mycgi?latest.mg0" param="UWND"/>
  <dats rc="http://myserver/mycgi?latest.mg0" param="VWND"/>
</vector>

Confidential. Copyright © 2002, Oklahoma Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.