< prev | next >

image < Tags < Home

<image>

The <image> tag specifies a bitmap image to appear within the context of a map. As such, <image> tags can only appear as children of a <map>. Each <image> tag must contain one <data> tag and one <centerPosition tag>, and may contain a <mask> tag. Currently, the data source for an image product is limited to a GIF file. The colors of the image may have varying degrees of translucency, allowing products underneath the image to show through it.

Attributes

attribute

default

description

visible

"true"

Is the image initially visible?

name

""

Custom product name to appear in the legend.

Children

tag

quantity

description

<data>

1 (required)

The source from which the image is obtained.

<centerPosition>

1 (required)

The center lat/lon of the image and its width and height in projected map coordinates.

<mask>

1 (optional)

Translucency mask values for each color in the image.

Examples

<image>
  <data src="myimage.gif"/>
  <centerPosition latitude="35.4", longitude="-97.4"
    width="300" height="300"/>
</image>
         
         <image visible="true" name="Boomer Sooner">
  <data src="oulogo.gif">
  <centerPosition latitude="35.4" longitude="-97.4"
    width="354" height="464"/>
  <mask>
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
    #3F #3F #3F #3F #3F #3F #3F #3F
  </mask>
</image>
         

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