geoview-core
    Preparing search index...

    Class EsriRendererAbstract

    Index

    Constructors

    Methods

    • Convert an ESRI color to a GeoView color.

      Parameters

      • color: TypeEsriColor

        ESRI color to convert.

      Returns string

      The Geoview color corresponding to the ESRI color.

    • Convert the ESRI fill style to the GeoView fill style.

      Parameters

      Returns TypeFillStyle

      The Geoview fill style associated to the ESRI fill style.

    • Convert the ESRI line style to the GeoView line style.

      Parameters

      Returns TypeLineStyle

      The Geoview line style associated to the ESRI line style.

    • Convert an ESRI symbol to a GeoView symbol.

      Parameters

      Returns TypeKindOfVectorSettings | undefined

      The Geoview symbol corresponding to the ESRI symbol or undefined if ESRI symbol is not handled.

    • Convert the ESRI symbol style to the GeoView symbol style.

      Parameters

      Returns TypeSymbol

      The Geoview symbol style associated to the ESRI symbol style.


    • Parse the GeoView style using the Esri renderer.

      Parameters

      Returns
          | Partial<
              Record<
                  | "Point"
                  | "MultiPoint"
                  | "LineString"
                  | "MultiLineString"
                  | "Polygon"
                  | "MultiPolygon",
                  TypeLayerStyleSettings,
              >,
          >
          | undefined

      The Geoview style or undefined if it can not be created.

    • type guard function that redefines an EsriBaseRenderer as an EsriClassBreakRenderer if the type attribute of the verifyIfRenderer parameter is 'classBreaks'. The type ascention applies only to the true block of the if clause that use this function.

      Parameters

      • verifyIfRenderer: EsriBaseRenderer

        Polymorphic object to test in order to determine if the type ascention is valid.

      Returns verifyIfRenderer is EsriClassBreakRenderer

      true if the type ascention is valid.

    • type guard function that redefines an EsriBaseRenderer as an EsriSimpleRenderer if the type attribute of the verifyIfRenderer parameter is 'simple'. The type ascention applies only to the true block of the if clause that use this function.

      Parameters

      • verifyIfRenderer: EsriBaseRenderer

        Polymorphic object to test in order to determine if the type ascention is valid.

      Returns verifyIfRenderer is EsriSimpleRenderer

      true if the type ascention is valid.

    • type guard function that redefines an EsriBaseRenderer as an EsriUniqueValueRenderer if the type attribute of the verifyIfRenderer parameter is 'uniqueValue'. The type ascention applies only to the true block of the if clause that use this function.

      Parameters

      • verifyIfRenderer: EsriBaseRenderer

        Polymorphic object to test in order to determine if the type ascention is valid.

      Returns verifyIfRenderer is EsriUniqueValueRenderer

      true if the type ascention is valid.

    • Get GeoView style from Esri renderer.

      Parameters

      Returns
          | Partial<
              Record<
                  | "Point"
                  | "MultiPoint"
                  | "LineString"
                  | "MultiLineString"
                  | "Polygon"
                  | "MultiPolygon",
                  TypeLayerStyleSettings,
              >,
          >
          | undefined

      The Geoview style or undefined if it can not be created.

    • Get the configuration key of the style.

      Parameters

      • settings: TypeKindOfVectorSettings

        GeoView settings.

      Returns
          | "Point"
          | "MultiPoint"
          | "LineString"
          | "MultiLineString"
          | "Polygon"
          | "MultiPolygon"
          | undefined

      The Geoview style key or undefined if it can not be determined.

    • type guard function that redefines an EsriBaseSymbol as an EsriSimpleFillSymbol if the type attribute of the verifyIfSymbol parameter is 'esriSFS'. The type ascention applies only to the true block of the if clause that use this function.

      Parameters

      • verifyIfSymbol: EsriBaseSymbol

        Polymorphic object to test in order to determine if the type ascention is valid.

      Returns verifyIfSymbol is EsriSimpleFillSymbol

      true if the type ascention is valid.

    • type guard function that redefines an EsriBaseSymbol as an EsriPictureMarkerSymbol if the type attribute of the verifyIfSymbol parameter is 'esriPMS'. The type ascention applies only to the true block of the if clause that use this function.

      Parameters

      • verifyIfSymbol: EsriBaseSymbol

        Polymorphic object to test in order to determine if the type ascention is valid.

      Returns verifyIfSymbol is EsriPictureMarkerSymbol

      true if the type ascention is valid.

    • type guard function that redefines an EsriBaseSymbol as an EsriSimpleLineSymbol if the type attribute of the verifyIfSymbol parameter is 'esriSLS'. The type ascention applies only to the true block of the if clause that use this function.

      Parameters

      • verifyIfSymbol: EsriBaseSymbol

        Polymorphic object to test in order to determine if the type ascention is valid.

      Returns verifyIfSymbol is EsriSimpleLineSymbol

      true if the type ascention is valid.

    • type guard function that redefines an EsriBaseSymbol as an EsriSimpleMarkerSymbol if the type attribute of the verifyIfSymbol parameter is 'esriSMS'. The type ascention applies only to the true block of the if clause that use this function.

      Parameters

      • verifyIfSymbol: EsriBaseSymbol

        Polymorphic object to test in order to determine if the type ascention is valid.

      Returns verifyIfSymbol is EsriSimpleMarkerSymbol

      true if the type ascention is valid.

    • Process ESRI class break renderer and convert it to a GeoView style.

      Parameters

      Returns
          | Partial<
              Record<
                  | "Point"
                  | "MultiPoint"
                  | "LineString"
                  | "MultiLineString"
                  | "Polygon"
                  | "MultiPolygon",
                  TypeLayerStyleSettings,
              >,
          >
          | undefined

      The Geoview style or undefined if it can not be created.

    • Process ESRI simple renderer and convert it to a GeoView style.

      Parameters

      Returns
          | Partial<
              Record<
                  | "Point"
                  | "MultiPoint"
                  | "LineString"
                  | "MultiLineString"
                  | "Polygon"
                  | "MultiPolygon",
                  TypeLayerStyleSettings,
              >,
          >
          | undefined

      The Geoview style or undefined if it can not be created.

    • Process ESRI unique value renderer and convert it to a GeoView style.

      Parameters

      Returns
          | Partial<
              Record<
                  | "Point"
                  | "MultiPoint"
                  | "LineString"
                  | "MultiLineString"
                  | "Polygon"
                  | "MultiPolygon",
                  TypeLayerStyleSettings,
              >,
          >
          | undefined

      The Geoview style or undefined if it can not be created.