Applet Schema
MAP Element
See Also  Send comments on this topic.
Applet Schema : MAP Element

Glossary Item Box

Description

Used to specify scripts to call when Map object events occur.

Diagram

MAP Element

Overview

MAP
Used to specify scripts to call when Map object events occur.
onafterdraw optional
Specify the script to run when this event occurs.
onafterlayerdraw optional
Specify the script to run when this event occurs.
onbeforedraw optional
Specify the script to run when this event occurs.
onbeforelayerdraw optional
Specify the script to run when this event occurs.
onclose optional
Specify the script to run when this event occurs.
ondrawingcancelled optional
Specify the script to run when this event occurs.
onfeatureadded optional
Specify the script to run when this event occurs.
onfeaturechanged optional
Specify the script to run when this event occurs.
onfeaturedeleted optional
Specify the script to run when this event occurs.
onfeaturegeometrychanged optional
Specify the script to run when this event occurs.
onidentify optional
Specify the script to run when this event occurs.
onnew optional
Specify the script to run when this event occurs.
onopen optional
Specify the script to run when this event occurs.
onpointerdown optional
Specify the script to run when this event occurs.
onpointermodechanged optional
Specify the script to run when this event occurs.
onpointermove optional
Specify the script to run when this event occurs.
onpointerup optional
Specify the script to run when this event occurs.
onsave optional
Specify the script to run when this event occurs.
onselectionchanged optional
Specify the script to run when this event occurs.

Attributes

NameTypeUseDefaultFixedDescription
onafterdraw optional  Specify the script to run when this event occurs.
onafterlayerdraw optional  Specify the script to run when this event occurs.
onbeforedraw optional  Specify the script to run when this event occurs.
onbeforelayerdraw optional  Specify the script to run when this event occurs.
onclose optional  Specify the script to run when this event occurs.
ondrawingcancelled optional  Specify the script to run when this event occurs.
onfeatureadded optional  Specify the script to run when this event occurs.
onfeaturechanged optional  Specify the script to run when this event occurs.
onfeaturedeleted optional  Specify the script to run when this event occurs.
onfeaturegeometrychanged optional  Specify the script to run when this event occurs.
onidentify optional  Specify the script to run when this event occurs.
onnew optional  Specify the script to run when this event occurs.
onopen optional  Specify the script to run when this event occurs.
onpointerdown optional  Specify the script to run when this event occurs.
onpointermodechanged optional  Specify the script to run when this event occurs.
onpointermove optional  Specify the script to run when this event occurs.
onpointerup optional  Specify the script to run when this event occurs.
onsave optional  Specify the script to run when this event occurs.
onselectionchanged optional  Specify the script to run when this event occurs.

Remarks

  • When parent element is ArcPad:
  • Although none of the child elements are required, a map must contain at least one of these elements to be meaningful.
  • When parent element is SYSTEMOBJECTS:
  • The subroutine called should be located in the file specified in the SCRIPT element.

Source

<xs:element name="MAP" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to specify scripts to call when Map object events occur.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="onafterdraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onafterlayerdraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onbeforedraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onbeforelayerdraw">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onclose">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ondrawingcancelled">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onfeatureadded">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onfeaturechanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onfeaturedeleted">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onfeaturegeometrychanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onidentify">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onnew">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onopen">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onpointerdown">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onpointermodechanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onpointermove">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onpointerup">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onsave">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onselectionchanged">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.