Quick Start
This guide takes you from a fresh install to a map with locations on your site. It takes about fifteen minutes.
1. Enter your Google API key
- Open Components > JoomMap and click Options.
- On the Google API tab, paste your key into Google Maps API Key. If you do not have one yet, see Google Maps.
- On the Map / Display tab, set Sidebar to Yes. The sidebar holds the legend, the search box and the map buttons. Without it the map shows markers only.
- Click Save & Close.
2. Create a legend
- Go to Components > JoomMap > Legends and click New.
- Enter a Title, for example
Places to eat, and optionally a Subtitle such asClick a type to show or hide it. - Click Save & Close.
See Legends.
3. Create a location type
- Go to Location Types and click New.
- Enter a Title, for example
Restaurants. - In Display in legend, choose the legend you just made.
- In Marker, pick an image, for example
images/markers/iconpins/red/restaurant.png. If you leave it empty, the Default map marker from the options is used. - Click Save & Close.
See Location types.
4. Create a map
- Go to Maps and click New.
- Enter a Title, for example
Our restaurants. - Click Open GeoCoder Tool, type the town or address the map should centre on, click GeoCode this!, then Save changes. The Latitude and Longitude fields are filled.
- Optionally write a Description. It shows above the map.
- Click Save & Close.
See Maps.
5. Add locations
- Go to Locations and click New.
- Enter a Title.
- Choose the Parent map and the Primary Location Type.
- Fill in Address (display) and Phone number if you want them in the infobox and on the location page.
- Click Open GeoCoder Tool, type the address, click GeoCode this!, drag the marker if needed and click Save changes.
- Write a Description and choose a Location image if you like.
- Click Save & Close. Add a few more locations the same way.
See Locations.
6. Add the map to a menu
- Go to Menus, open your main menu and click New.
- In Menu Item Type, choose JoomMap > Single Map.
- Click Select next to Select the item and choose your map.
- Enter a Menu Title and click Save & Close.
Open the menu item on your site. You see the map with your markers, the legend below it and a List tab with a card for each location. Click a marker to open its infobox, and Find out more... to open the location page. See The map page.
Next steps
- Let members add places: Front-end submission.
- Add fields such as opening hours: Custom fields.
- Let visitors search by town or postcode: Map search.
- Change the colours of the map: Map styles.