Skip to main content

Map widget

This widget provides a map view of your locations. Upon selecting a location, its contact details are shown and available classes for this location are listed below the map. When a class is clicked, the customer is taken to the Registration Form.

Installation​

WordPress​

When your WordPress plugin is installed, just head to Settings > Zooza and from dropdown of pages, select a page where you want the form to appear.

Shortcodes​

You can also use shortcodes to place the form anywhere within the page. More configuration options for shortcodes is described below in their respective sections.

[zooza type="map"]

Wix​

In Wix editor, click on Zooza widget. In the Settings panel, enter the api key and as a widget choose Map.

Embed code​

Embed this widget with a placeholder element and the Zooza loader. The loader can sit in the <body> right after the placeholder, or in the <head> so the widget starts loading earlier. See Choosing an embed method if you are not sure which one to use.

PlaceholderDescriptionExample Value
YOUR_API_KEYReplace with the API key found in the application under Publish > Widget. Appears once, on the placeholder (twice in the legacy script).abc123xyz
ZOOZA_API_URLReplace with the Zooza API URL for your region: Europe: https://api.zooza.app, UK: https://uk.api.zooza.app, UAE: https://asia.api.zooza.apphttps://api.zooza.app

Place the placeholder and the loader in the <body> of your page, where you want the widget to appear.

<div data-zooza-widget='map' data-zooza-id='YOUR_API_KEY'></div>
<script async src='ZOOZA_API_URL/widgets/v2/loader.js'></script>

Initialisation options can be set directly on the placeholder as data-zooza-* attributes.

Build this with your AI agentEmbed the map widget into my site
Build this with your AI agentStyle the map widget to match my site

Settings​

These settings are managed within the Zooza's main application Publish > Widget > Map.

URL​

This will let Zooza know where your widget resides so that it can redirect your customers to it when necessary.

Show price​

This will show or hide price in the listed classes.

Use age filter​

This enables or disables filtering of classes based on age.

Search by ZIP code​

Enable or disable searching with ZIP code as well as using an address.

Show radius filter​

This will show a slider that users can use to narrow down the search area by distance radius.

Show use current location​

This will show a button that would pinpoint the current user's location.

Show navigate button​

When enabled, this will show a button which would open the default map application with the destination of your location. This happens when a user clicks on a pin on the map.

If navigate button is shown, you can change its label.

Use CSS​

This will load default Zooza styling. By default this is turned on. Typically you only want to override couple of styles but if you want, you can turn this off and create your own styling from scratch. However we recommend downloading the default styling and go from there, instead of building everything from scratch.

You can download the default css from this URL:

API_URL/widgets/v2/css/?widget=map