Helper class for creating and parsing Basemap XML documents

Hierarchy

  • default<BasemapType>
    • Basemap

Constructors

Properties

Methods

Constructors

  • Parameters

    • raw: {
          customMapSource: {
              backgroundColor?: {
                  _text: string;
              };
              maxZoom: {
                  _text: number;
              };
              minZoom: {
                  _text: number;
              };
              name: {
                  _text: string;
              };
              tileType: {
                  _text: string;
              };
              tileUpdate?: {
                  _text: string;
              };
              url?: {
                  _text: string;
              };
          };
      }
      • customMapSource: {
            backgroundColor?: {
                _text: string;
            };
            maxZoom: {
                _text: number;
            };
            minZoom: {
                _text: number;
            };
            name: {
                _text: string;
            };
            tileType: {
                _text: string;
            };
            tileUpdate?: {
                _text: string;
            };
            url?: {
                _text: string;
            };
        }
        • OptionalbackgroundColor?: {
              _text: string;
          }
          • _text: string
        • maxZoom: {
              _text: number;
          }
          • _text: number
        • minZoom: {
              _text: number;
          }
          • _text: number
        • name: {
              _text: string;
          }
          • _text: string
        • tileType: {
              _text: string;
          }
          • _text: string
        • OptionaltileUpdate?: {
              _text: string;
          }
          • _text: string
        • Optionalurl?: {
              _text: string;
          }
          • _text: string

    Returns Basemap

Properties

raw: {
    customMapSource: {
        backgroundColor?: {
            _text: string;
        };
        maxZoom: {
            _text: number;
        };
        minZoom: {
            _text: number;
        };
        name: {
            _text: string;
        };
        tileType: {
            _text: string;
        };
        tileUpdate?: {
            _text: string;
        };
        url?: {
            _text: string;
        };
    };
}

Methods

  • Returns {
        backgroundColor: undefined | string;
        maxZoom: undefined | number;
        minZoom: undefined | number;
        name: undefined | string;
        tileType: undefined | string;
        tileUpdate: undefined | string;
        url: string;
    }

    • backgroundColor: undefined | string
    • maxZoom: undefined | number
    • minZoom: undefined | number
    • name: undefined | string
    • tileType: undefined | string
    • tileUpdate: undefined | string
    • url: string
  • Type Parameters

    • U

    Parameters

    • input: string
    • check: ValidateFunction<unknown>

    Returns U