---
title: wpdageomap
description: "Use shortcode **[ wpdageomap ]** to add an interactive map to a web page or dashboard from geolocation information stored in database tables. Allows the user to adjust the range. Supports integration with data tables and Google Maps.[https://wpdataaccess.com/demos/geolocation-demo/](https://wpdataaccess.com/demos/geolocation-demo/) - [Click…"
url: "https://docs.legacy.wpdataaccess.com/docs/shortcode-wpdageomap/"
updated: "2025-11-26"
category: Legacy Tools / Code / Shortcodes
---

# wpdageomap

Use shortcode **[ wpdageomap ]** to add an interactive map to a web page or dashboard from geolocation information stored in database tables. Allows the user to adjust the range. Supports integration with data tables and Google Maps.[https://wpdataaccess.com/demos/geolocation-demo/](https://wpdataaccess.com/demos/geolocation-demo/)

- [Click here for a live demo](/geolocation-demo/)

Geolocation must be enabled on table level. The database table needs to contain the necessary geolocation data and must be configured for map generation.

- [Learn more about geolocation configuration](/docs/geolocation-settings/)

## Shortcode parameter

**schema_name**

The combinations of schema_name and table_name must exist. The geolocation settings for the table needs to be entered and enabled.

**table_name**

The combinations of schema_name and table_name must exist. The geolocation settings for the table needs to be entered and enabled.

**map_center**

Default = plugin (center user location or static position). Use "first" to center the first marker (location nearest to user position or static location).

**map_zoom**

Overwrite the zoom settings (default = 14). Not effective of automatically adjust zoom is enabled.

**map_with**

Overwrite geolocation setting. (for example: map_width="300px")

**map_height**

Overwrite geolocation setting. (for example: map_height="300px")

**map_select**

Possible values: **hide** and **show** (allow user to select range and unit)

**map_init**

Possible values: **true** and **false** (indicates whether the map should be instantiated after loading the page)

**map_label**

Possible values: **true** and **false** (indicates whether labels should be added to markers)

**map_location**

Possible values: **fixed**and **user** (use fixed or the user position)

**map_search**

Allows the user to enter a specific location. The map will center around the selected location.
