Skip to content

Extras

Map

Bit.BlazorUI.ExtrasGeoMapMaps

BitMap is a provider-pluggable interactive map. One API drives markers, vector shapes, GeoJSON and tile overlays across seven backends - Leaflet, MapLibre GL, Mapbox GL, OpenLayers, ArcGIS, Azure Maps and CesiumJS - and adds what they leave out, uniformly: two-way camera binding, marker clustering, Blazor-rendered popups, cooperative gestures, a keyboard and screen-reader story, loading states and theming that follows the app.

Customization

Defaults for every map of a subtree through BitParams, styling every part of the map, and right-to-left layouts.

Cascading parameters

BitParams carries a BitMapParams to every map under it, whatever its provider - set the gestures, the accessibility texts and the look of all of them once. These are defaults: a parameter a map sets itself wins.

Arrows pan, plus and minus zoom, Escape leaves.
Loading map…
Arrows pan, plus and minus zoom, Escape leaves.
Loading map…

Style & Class

Style and Class land on the root; Styles and Classes reach each part by name. The CSS variables inherit, so one set on :root or an ancestor restyles every map below it - the popups and tooltips of the providers and the cluster bubbles too. --bit-Map-tile-filter filters the raster tiles alone (the second map mutes them, its bubbles stay vivid); invert(1) hue-rotate(180deg) under a dark theme gives a dark basemap.

Use the arrow keys to pan the map, plus and minus to zoom, and Escape to leave the map.
Loading map…
Use the arrow keys to pan the map, plus and minus to zoom, and Escape to leave the map.
Loading map…

RTL

Dir="BitDir.Rtl" flips the map's own chrome - the keyboard instructions, the gesture hint, the overlay content and the marker table. The canvas itself is direction-neutral.

Use the arrow keys to pan the map, plus and minus to zoom, and Escape to leave the map.
Loading map…
تهران

Feedback

Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.