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.
Accessibility & providers
Keyboard and screen-reader support, the loading states and lazy loading, and the same map on every provider backend.
Accessibility
The canvas is one tab stop on every provider: a region named by AriaLabel (RoleDescription
replaces "region") and described by KeyboardInstructions, shown while it has keyboard focus. Arrow
keys pan, plus and minus zoom - on all seven backends - and Escape leaves it (EscapeToExit).
AnnounceViewChanges reads the new view
out, worded by ViewAnnouncementFormatter. CooperativeGestures lets the page scroll past the map.
MarkerListMode renders the markers as a table - the only way a screen reader reaches them.
Arrow keys pan the map, plus and minus zoom, Escape leaves the map.
Loading map…
| Name | Latitude | Longitude | Show on map |
|---|
Loading and lifecycle
LoadState goes Idle, Loading, then Ready, Failed or Unsupported (no WebGL for a GL provider), each
reported by OnLoadStateChanged and replaceable by LoadingTemplate, ErrorTemplate and
UnsupportedTemplate. LazyLoad waits until the map scrolls into view; AutoResize follows
the container - drag its corner.
State: Idle
Use the arrow keys to pan the map, plus and minus to zoom, and Escape to leave the map.
Providers
The same markup on every backend - only the type argument and the provider change. MapLibre and Mapbox
render vector tiles on the GPU, OpenLayers handles arbitrary projections, Cesium draws a 3D globe.
BitMapboxMapProvider needs an AccessToken, BitAzureMapsMapProvider a
SubscriptionKey, and ArcGIS an ApiKey for non-OSM basemaps: ship only public keys restricted to
your domains, or short-lived tokens minted by your server.
Provider
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.