WeatherLayers
DemoIntegrationsDocsStatus
  • Overview
  • WeatherLayers GL
    • Quick Start
    • Layers
      • Particle Layer
      • Raster Layer
      • Contour Layer
      • HighLow Layer
      • Front Layer
      • Grid Layer
      • Data Loading
      • Data Properties
      • Style Properties
    • Controls
      • Legend Control
      • Timeline Control
      • Tooltip Control
      • Attribution Control
      • Logo Control
      • Control
    • Types
    • Functions
    • Data Sources
    • Security
    • Troubleshooting
    • Pricing
    • Changelog
    • Roadmap
  • WeatherLayers Cloud
    • Quick Start
    • Client
    • Types
    • Security
    • Troubleshooting
    • Datasets
    • Pricing
    • Changelog
    • Roadmap
  • Contact
Powered by GitBook
On this page
  • Example
  • Constructor
  • Config Properties
  • Methods
  1. WeatherLayers GL
  2. Controls

Attribution Control

Last updated 1 year ago

Attribution control shows the attribution for the data producer

Example

import * as WeatherLayers from 'weatherlayers-gl';

const attributionControl = new WeatherLayers.AttributionControl({
  attribution: 'NOAA / GFS via WeatherLayers',
});
attributionControl.addTo(document.getElementById('controls'));

Constructor

AttributionControl(config: AttributionConfig = {})

Config Properties

attribution

Type: string, required

Attribution to be displayed.

Methods

See for common Control methods.

Control
Attribution Control