emcp_custom_221Built with the EMCP Widget Builder and registered under the EMCP Custom category of the Elementor panel. Search the panel for: map, google, location, address, markers, directions.
Browser API Key appears when Mode is api; Style Theme (API mode) appears when Mode is api; Markers (API mode) appears when Mode is api; Zoom / Type Controls appears when Mode is api; Scroll-wheel Zoom appears when Mode is api; Open First Info Window appears when Mode is api.Mode = embed
Mode = api · needs a Google Maps browser key; try it on a test page.
Every control the widget exposes, grouped by panel section. Names in code are the setting keys used by the MCP tools (add-free-widget, update-widget).
Map
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Modemode | Dropdown | Simple embed (no API key), Maps JavaScript API (key, markers, styles) | embed | |
Browser API Keyapi_key | Text | A Maps JavaScript API key restricted to this website domain. It is public by design.. Shown when mode = api | ||
Address / Placeaddress | Text | Lahore, Pakistan | ||
Latitude (overrides address)lat | Text | |||
Longitudelng | Text | |||
Zoomzoom | Number | min 1, max 20 | 13 | |
Map Typemap_type | Dropdown | Road map, Satellite, Hybrid, Terrain | roadmap | |
Style Theme (API mode)theme | Dropdown | Standard, Silver, Dark, Night blue, Retro, Minimal (no POI labels) | standard | Shown when mode = api |
Grayscalegrayscale | Slider | min 0, max 100, % | 0 | |
Markers (API mode)markers | Repeater | 1 items | Shown when mode = api | |
↳ Titletitle | Text | Our office | ||
↳ Latitudemlat | Text | |||
↳ Longitudemlng | Text | |||
↳ Info Window Textinfo | Textarea | |||
↳ Custom Pin Imageicon | Image | |||
↳ Pin Colorcolor | Color | #6a11cb | ||
Zoom / Type Controlscontrols | Toggle | on / off | yes | Shown when mode = api |
Scroll-wheel Zoomscroll_zoom | Toggle | on / off | Shown when mode = api | |
Open First Info Windowopen_info | Toggle | on / off | Shown when mode = api | |
Click to Activate (prevents accidental scroll capture)overlay_click | Toggle | on / off | yes | |
Card Titlecard_title | Text | |||
Card Textcard_text | Textarea | |||
Directions Button Textcard_btn | Text | Get directions | ||
Card Positioncard_pos | Dropdown | Over the map, left, Over the map, right, Below the map | left |
Map & Card
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Heightheight | Slider | min 200, max 1000, px/vh | 460 | Responsive |
Radiusradius | Slider | min 0, max 60, px | 16 | |
Borderborder | Border | |||
Shadowshadow | Box shadow | |||
Card Backgroundcard_bg | Color | #ffffff | ||
Card Widthcard_w | Slider | min 200, max 500, px | 300 | |
Card Paddingcard_pad | Dimensions | |||
Card Radiuscard_radius | Slider | min 0, max 40, px | 14 | |
Card Shadowcard_shadow | Box shadow | |||
Card Title Typographytitle_typo | Typography | |||
Card Title Colortitle_color | Color | #101828 | ||
Card Text Typographytext_typo | Typography | |||
Card Text Colortext_color | Color | #475467 | ||
Button Textbtn_color | Color | #ffffff | ||
Button Backgroundbtn_bg | Color | #6a11cb | ||
Button Radiusbtn_radius | Slider | min 0, max 60, px | 8 | |
Activate Overlay Textoverlay_text_color | Color | #ffffff |
Any connected agent can place this widget: call add-free-widget with widget_type: "emcp_custom_221" and a settings object using the keys above. Run get-custom-widget with id 221 for the full JSON spec.