import type { ControlPosition, IControl } from 'maplibre-gl'; /** * Display layer's attributions trying to remove duplicated ones. * * @example * import { Map } from 'maplibre-gl'; * import { CopyrightControl } from 'mobility-toolbox-js/maplibre'; * * const map = new Map({ * container: 'map', * style: `https://maps.geops.io/styles/travic_v2/style.json?key=${window.apiKey}`, * }); * * const control = new CopyrightControl(); * map.addControl(control); * * * @see