Class: GasStations

cercalia.Control.GasStations

This control let you show gas stations into map. Popup contains fuel prices in Spain.

new cercalia.Control.GasStations()

Extends

Methods

Disable gas station markers

Enable gas station markers

getClass(){string} inherited

Returns:
class

getElement(){HTMLElement} inherited

Obtain the control DOM element

Returns:
DOM Element

Returns the control name

Returns:
Control name

Hide the control

Create the button in the tools topbar

Name Type Description
idTopBar string

Div element ID where the control will be embedded

Shows the control