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

Glossary Item Box

Description

Used to specify scripts to call when Map object events occur. When parent element is SYSTEMOBJECTS, MAP is 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. When parent element is SYSTEMOBJECTS, MAP is 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 SYSTEMOBJECTS:

  • The subroutine called should be located in the file specified in the SCRIPT element.

Examples

Copy Code
<?xml version="1.0" encoding="UTF-8" ?>
<ArcPad> 
  <APPLET name="MyApplet">
    <SYSTEMOBJECTS>
      <APPLICATION onstartup="Call Initialize" />
    </SYSTEMOBJECTS>
    <TOOLBARS>
      <TOOLBAR name="MyApplet" caption="Load Project Data" visible="true">
        <TOOLBUTTON name="tlLoadData" onclick="Call LoadData" image="load.bmp">
          <MENUITEM name="tlSetup" onclick="Call Setup" caption="Setup">
        </TOOLBUTTON>
      </TOOLBAR>
    </TOOLBARS>
  </APPLET> 
  <SCRIPT src="MyApplet.vbs" language="VBScript" />
</ArcPad>  

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.