Reusable Accessible Mapping Platform

API Docs for: 5.2.0
Show:

GraphicExtension Class

Module: Map
Parent Module: RAMP

GraphicExtension class containing helper functions for graphic objects. Note this class requires the config object.

Imports RAMP Modules:

Dictionary
TmplHelper
Util
Array

Uses RAMP Templates:

templates/point_details_list_Template.json templates/point_details_list_item_Template.json

Methods

getGraphicTitle

(
  • graphic
)

Returns the content of the name field of the provided graphic object

Parameters:

  • graphic Esri/Graphic

    a graphic object or a feature object

Returns:

getOid

(
  • graphic
)

Returns the oid of the given graphic object

Parameters:

  • graphic Esri/Graphic

getTextContent

(
  • graphic
)
Object private

Get popup content for a graphic (i.e. a point) This logic is customized per project

Parameters:

Returns:

Object:

found graphic object