name: Map description: A component for displaying interactive maps with coordinates and location information. Provides a container for third-party map libraries with a coordinates panel for displaying location details. category: Complex Components slds_classes: root: slds-map elements: - class: slds-map_container description: Container for the map component purpose: Wraps the map and coordinates panel - class: slds-coordinates description: Coordinates panel element purpose: Displays location coordinates and details - class: slds-coordinates__header description: Header of coordinates panel purpose: Contains title for coordinates panel modifiers: - class: slds-has-coordinates description: Modifier indicating coordinates panel is active purpose: Applied to parent container when panel is visible states: [] variants: - name: Base description: Standard map with optional coordinates panel classes: - slds-map_container usage_context: Default map implementation differences: Container for third-party map with SLDS styling lightning_component: name: lightning-map url: https://developer.salesforce.com/docs/component-library/bundle/lightning-map mapping_notes: lightning-map provides interactive map with markers and location display accessibility: keyboard_support: - Tab to focus on map controls - Arrow keys to pan map (when supported by map library) - Enter to activate map markers - +/- keys to zoom (when supported) screen_reader: - Map region announced - Location information announced - Marker details announced when focused - Coordinates read when displayed aria_attributes: - role='application' or 'region' on map container - aria-label describing map purpose - aria-live for coordinate updates - Accessible labels for map controls usage_guidelines: when_to_use: - For displaying geographic locations - When showing multiple locations on a map - For route or area visualization - In location-based applications when_not_to_use: - For simple address display (use text) - When location context isn't important - For very small screens with limited space - When map interaction adds unnecessary complexity best_practices: - Use reputable map library (Google Maps, Mapbox, Leaflet) - Provide zoom and pan controls - Show location coordinates when relevant - Support keyboard navigation - Handle loading states gracefully - Respect user location privacy common_mistakes: - Missing keyboard support - Poor performance with many markers - Not handling map library load failures - Inadequate mobile/touch support - Missing accessible labels code_examples: - title: Basic Map Container code: "