RAMP4 - v4.21.0
    Preparing search index...
    Index

    Constructors

    Properties

    Extent: typeof Extent = Extent
    Graphic: typeof Graphic = Graphic
    LinearRing: typeof LinearRing = LinearRing
    LineString: typeof LineString = LineString
    LineStyle: typeof LineStyle = LineStyle
    MultiLineString: typeof MultiLineString = MultiLineString
    MultiPoint: typeof MultiPoint = MultiPoint
    MultiPolygon: typeof MultiPolygon = MultiPolygon
    Point: typeof Point = Point
    PointStyle: typeof PointStyle = PointStyle
    Polygon: typeof Polygon = Polygon
    PolygonStyle: typeof PolygonStyle = PolygonStyle
    SpatialReference: typeof SpatialReference = SpatialReference

    Methods

    • Convert an ESRI map click event object to a generic RAMPish map click event object

      Parameters

      • esriMapClick: ClickEvent | DoubleClickEvent

        an event param from an esri 2D map click or double-click event

      • Optionalid: string | number

        optional id for the map point geometry on the result

      Returns MapClick

      a generic bundle of data matching a subset of the incoming esri data

    • Convert an ESRI map click event object to a generic RAMPish map click event object

      Parameters

      • esriMapMove: PointerMoveEvent

        an event param from an esri 2D map click or double-click event

      Returns MapMove

      a generic bundle of data matching a subset of the incoming esri data

    • Converts any ESRI geometry to a corresponding RAMP API geometry

      Parameters

      • esriGeometry: GeometryUnion

        an ESRI geometry

      • Optionalid: string | number

        optional id for the result geometry

      Returns BaseGeometry

      a RAMP API geometry

    • Converts any GeoJson geometry to a corresponding RAMP API geometry

      Parameters

      • geoJsonGeometry: DirectGeometryObject

        a GeoJson geometry

      • Optionalid: string | number

        optional id for the result geometry

      Returns BaseGeometry

      a RAMP API geometry

    • Converts any GeoJson Feature to a RAMP API Graphic

      Parameters

      • geoJsonFeature: any

        a GeoJson Feature

      • OptionalgeomId: string | number

        an id to apply to the geometry of the graphic

      Returns Graphic

      a RAMP API Graphic

    • Function

      Check to see if text provided is a valid image / data URL based on extension type or format.

      isImageUrl

      Parameters

      • text: string

        string to be matched against valid image types / data url format

      Returns boolean

      true if valid image extension