Google Maps

UberMenu 2

The UberMenu Google Maps shortcode allows you to insert geocoded map locations into your menu.

To use Google Maps you need to include the API, which can be done by enabling Load Google Maps in Appearance > UberMenu > Descriptions, Shortcodes, Widgets

This map will automatically be recentered when the submenu is opened.

Shortcode format

[ubermenu-map address="Boston, MA" zoom="15" title="My Title"]

Map shortcode parameters

latThe latitude of the coordinates to show on the map. This will load immediately.40.4166909
lngThe longitude of the coordinates to show on the map. This will load immediately.-3.7003454
addressThis address is optional and will be geocoded and displayed – it sends an extra request to do this,
so if the geocode fails the original lat and long coordinates will be displayed.
5 Calle de Sevilla, Madrid, Spain
zoomThe level to which the map should be zoomed to begin with.15
titleThe text to display when hovering over the map marker.Agility, Inc
widthWidth of the map. Defaults to 100%.200px
heightHeight of the map. Defaults to 200px.200px

Other Notes