Component
SymbolLayer
Text and icons placed on features, labelled in the map label colour with a halo.
import { SymbolLayer } from '@loidolt/theme-maps';
Example
Focus the map to move it: arrow keys pan, plus and minus zoom, Shift with the arrows rotates and tilts.
Notes
- Label fonts come from the glyph server (Noto Sans on OpenFreeMap), not the page’s fonts.
Props
Generated from the component source, so it cannot drift from the implementation.
No documented props
This component takes only the attributes of the element it renders.
Plus the attributes of LayerProps, forwarded to the root element.