-
Notifications
You must be signed in to change notification settings - Fork 5
Blocks Map
Version: 1.0.0 Category: Widgets Keywords: map, location, address, openstreetmap, google maps, directions
The Map Block displays interactive maps using OpenStreetMap (free, no API key) or Google Maps. Perfect for showing business locations, event venues, or any geographic information. Features GDPR-compliant privacy mode and customizable markers.
Key Features:
- Free OpenStreetMap or Google Maps (requires API key)
- Address search with automatic geocoding
- Privacy mode with user consent (GDPR-compliant)
- Customizable markers and colors
- Responsive aspect ratios or custom heights
- Google Maps styling options (Standard, Silver, Dark)
- Insert the Map block into your page or post.
- Choose Map Provider (OpenStreetMap or Google Maps).
- Enter an address in Search Address and click Search Address button.
- Adjust Zoom Level as needed (1 = world, 20 = street level).
- Customize appearance (height, marker, colors).
- OpenStreetMap: Free, no API key required, privacy-friendly.
- Google Maps: Requires API key (configure in Settings > DesignSetGo).
- Search Address: Enter location name or address for automatic coordinates.
- Latitude/Longitude: Manual coordinate entry (-90 to 90, -180 to 180).
- Zoom Level: 1-20 (1 = world view, 20 = street level).
- Marker Icon: Emoji or character (default: 📍).
- Marker Color: Set color via sidebar color picker.
- Aspect Ratio: 16:9, 4:3, 1:1, or Custom Height.
- Map Height: Custom height in px, %, or vh (when Aspect Ratio is Custom).
- Map Style (Google Maps only): Standard, Silver, or Dark Mode.
- Enable Privacy Mode: Map won't load until user clicks to consent.
- Privacy Notice: Custom message shown before loading (GDPR-compliant).
Use OpenStreetMap with address search. Set zoom to 15-17 for neighborhood view.
Use Google Maps with Dark Mode style for modern look. Enable privacy mode for GDPR compliance.
Use Privacy Mode to comply with privacy regulations. Customize privacy notice to match your brand.
Use custom marker icon and brand color. Set aspect ratio to 16:9 for widescreen displays.
DO:
- Use OpenStreetMap by default (no API key, privacy-friendly).
- Enable privacy mode for EU/GDPR compliance.
- Use address search instead of manual coordinates.
- Set zoom level 13-15 for city view, 15-17 for street view.
DON'T:
- Forget to configure Google Maps API key if using Google Maps.
- Set zoom too low (world view) or too high (extreme close-up).
- Disable privacy mode on public sites without user consent.
- Keyboard Navigation: Map supports standard browser keyboard controls.
- Screen Reader: Map announces location coordinates and provider.
- Privacy Mode: Clear button and notice ensure informed consent.
- Go to Settings > DesignSetGo > Integrations.
- Enter your Google Maps API Key.
- In Google Cloud Console, restrict API key by HTTP referrer for security.
For API key creation: Google Maps Platform
Auto-generated from
docs/blocks/MAP.md. To update, edit the source file and changes will sync on next push to main.
- Accordion
- Blobs
- Breadcrumbs
- Card
- Comparison Table
- Countdown Timer
- Counter Group
- Divider
- Flip Card
- Form Builder
- Grid
- Icon
- Icon Button
- Icon List
- Image Accordion
- Map
- Modal
- Modal Api Reference
- Modal Auto Triggers
- Modal Fse Compatibility
- Modal Gallery Navigation
- Modal Next Phase
- Modal Performance Fixes
- Modal Security Audit
- Modal Security Fixes Summary
- Modal Trigger
- Pill
- Progress Bar
- Reveal
- Row
- Scroll Accordion
- Scroll Gallery
- Section
- Slider
- Table Of Contents
- Tabs
- Timeline
- Animation
- Background Video
- Block Animations
- Clickable Group
- Custom Css
- Expanding Background
- Grid Mobile Order
- Grid Span
- Max Width
- Responsive Visibility
- Reveal Control
- Scroll Parallax
- Sticky Header
- Text Alignment Inheritance
- Text Reveal
- Ai Assisted Development
- Best Practices Summary
- Block Controls Organization
- Block Development Best Practices Comprehensive
- Block Exclusion Guide
- Control Reorganization
- Design System
- Wordpress Block Editor Best Practices
- Color Controls Pattern
- Custom Css Filters
- Performance Css Strategy
- Width Css Strategy Implementation
- Width Layout Patterns
- Antigravity Audit
- Card Block Audit
- Claude Audit
- Comprehensive Audit
- Cursor Audit
- Scroll Accordion Stacking Notes
- Security Review 1.2.1
- 2026 02 11 Icon Search Aliases Design
- 2026 02 14 Overlay Header Design
- 2026 02 15 Deactivation Block Migrator Design