Helper class for creating and parsing Basemap XML documents

Constructors

Properties

Methods

Constructors

  • Parameters

    • basemap: {
          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

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

Methods

  • Return a Basemap from a string XML representation

    Parameters

    • input: string

    Returns Promise<Basemap>