Reusable Accessible Mapping Platform

API Docs for: 4.0.0
Show:

RAMP Module

Ramp module

This module is a rollup of the following modules:

  • BookmarkLink
    BookmarkLink submodule Keeps track of the current state of the map and updates the GetLinkPanel's textbook accordingly. On page load, if any parameters are detected in the URL, this module will attempt to recreate the map according to the parameters. Internally, this module subscribes to all events that change the state of the map (e.g. extent-change, layers toggled on/off). It contains a dictionary that map event names to an object that contains the minimum information needed to reconstruct the map for that particular event. For example, if an extent change occurred, this module will add a key "map/extent-change" (or update if the entry already exists) and put an object that contains the minimum information needed to reconstruct the map to that extent (in this case it would be xmin, ymin, xmax, ymax. Spatial reference is not needed since the map always has the same spatial reference).
  • Datagrid
    Datagrid submodule.
  • FilterManager
    FilterManager submodule
  • GlobalStorage
    GlobalStorage class is used to store variables and exchange them between different modules. Each module has the ability to add variables to the global storage and retrieve them as needed.
  • Map
    A RAMP Map module with ESRI and Dojo AMD Modules This module provides function to create an ESRI web map control. A global config object is required to initialize the map.
  • MeasureTool
    MeasureTool submodule. Computes the area and perimeter length of a selected area. When the user draws a polygon, the area and length will be displayed in the bottom right corner.
  • Navigation
    Navigation submodule
  • QuickZoom
    QuickZoom submodule
  • Theme
    This submodule contains theme-specific classes with animation sequences such as Full Screen transition or tooltip setter helper method.