Class: GoogleBaseLayerConfig

BaseLayer.GoogleBaseLayerConfig(name, cfg)

Class representing a Google base layer config

Constructor

new GoogleBaseLayerConfig(name, cfg)

Create a GOOGLE base layer config based on a config object

Parameters:
Name Type Description
name string

the base layer name

cfg object

the lizmap config object for GOOGLE base layer

Properties
Name Type Attributes Description
title string

the base layer title

mapType string

the base layer mapType

key string <optional>

the base layer key

layerTypes Array.<string> <optional>

additional layer types (e.g. ['layerRoadmap'])

overlay boolean <optional>

display only layerTypes without the base mapType

Source:

Extends

  • BaseLayerConfig

Members

layerTypes :Array.<string>|null

The Google layer types (e.g. ['layerRoadmap'] for hybrid)

Type:
  • Array.<string> | null
Source:

mapType :string

The Google mapType

Type:
  • string
Source:

overlay :boolean|null

Whether to display only layerTypes without the underlying mapType

Type:
  • boolean | null
Source: