• <Helps for GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
    • Data Entry Module
    • Batch Editing Applications
    • Tabulation Applications
    • CSPro Statements and Functions
      • Statement Format Symbols
      • Alphabetical List of Functions and Statements
      • List of Reserved Words
      • Deprecated Features
      • Declaration Statements
      • Array Object
      • Audio Object
      • Barcode and QR Codes
      • Document Object
      • File Object
      • Freq Object
      • Geometry Object
      • HashMap Object
      • Image Object
      • List Object
      • Map Object
        • Map Statement
        • Map.Show Function
        • Map.Hide Function
        • Map.SetTitle Function
        • Map.SetBaseMap Function
        • Map.ZoomTo Function
        • Map.ShowCurrentLocation Function
        • Map.SaveSnapshot Function
        • Map.SetOnClick Function
        • Map.GetLastClickLatitude Function
        • Map.GetLastClickLongitude Function
        • Map.AddMarker Function
        • Map.RemoveMarker Function
        • Map.ClearMarkers Function
        • Map.SetMarkerImage Function
        • Map.SetMarkerText Function
        • Map.SetMarkerDescription Function
        • Map.SetMarkerOnClick Function
        • Map.SetMarkerOnClickInfoWindow Function
        • Map.SetMarkerOnDrag Function
        • Map.SetMarkerLocation Function
        • Map.GetMarkerLatitude Function
        • Map.GetMarkerLongitude Function
        • Map.AddGeometry Function
        • Map.RemoveGeometry Function
        • Map.ClearGeometry Function
        • Map.AddTextButton Function
        • Map.AddImageButton Function
        • Map.RemoveButton Function
        • Map.ClearButtons Function
        • Base Map Specification
        • Offline Maps
      • Path
      • Pff Object
      • SystemApp Object
      • ValueSet Object
      • Program Control Statements
      • Assignment Statements
      • Data Entry Statements and Functions
      • Batch Edit Statements
      • Numeric Functions
      • String Functions
      • Multiple Occurrence Functions
      • General Functions
      • Date and Time Functions
      • External File Functions
      • Synchronization Functions
      • Export Attributes
    • Templated Reporting System
    • HTML and JavaScript Integration
    • Appendix
  • <Helps for CSEntry>
  • <Helps for CSBatch>
  • <Helps for CSTab>
  • <Helps for DataViewer>
  • <Helps for TextView>
  • <Helps for TblView>
  • <Helps for TRSWin>
  • <Helps for CSDeploy>
  • <Helps for CSPack>
  • <Helps for CSFreq>
  • <Helps for CSSort>
  • <Helps for CSExport>
  • <Helps for CSReFmt>
  • <Helps for CSDiff>
  • <Helps for CSConcat>
  • <Helps for TRSSetup>
  • <Helps for ParadataViewer>
  • <Helps for ParadataConcat>
  • <Helps for CSIndex>
  • <Helps for Excel2CSPro>
  • <Helps for CSWeb>

Map Statement

Format
map map_name;
Description
The map statement creates a map with the name map_name. The map_name must be unique and must contain only letters, numbers, or the underscore character. The name must begin with a letter. You can declare maps globally in PROC GLOBAL or locally in functions or procedures.
Example
// Declare a map
map mymap;

// Add a marker to the map at latitude 38.84839, longitude -76.931098
mymap.addMarker(38.84839, -76.931098);

// Display the map
mymap.show();
See also: Map Object