Locations
A location is one place on a map: a shop, a hotel, a park or a meeting point. It has a position, a marker, an infobox on the map and a page of its own.
Go to Components > JoomMap > Locations and click New. If there is no location type yet, JoomMap opens the location type form first.
Basic
| Field | What it does |
|---|---|
| Title and Alias | The name of the location. The alias is used in its URL |
| Location image | The main image, shown on the location page and as a thumbnail in the infobox |
| Description | The text of the location page. Insert a Read More break to split it: the part before the break is the intro text in the infobox, the whole text shows on the location page |
| Parent map | The map the location shows on |
| Primary Location Type | The main type. It decides the marker and the custom fields |
| Additional Location types (optional) | More types the location belongs to, see Several types per location |
| Address (display) | The address shown in the infobox and on the location page. Write \|\| where you want a line break |
| Phone number | Shown in the infobox and on the location page. On the location page it is a link that phones can call |
| Open GeoCoder Tool | Finds the position from an address, see below |
| Latitude and Longitude | The position of the marker |
| Alternative Marker | A marker for this location only. Leave it empty to use the marker of the primary type |
To publish or unpublish a location, use the buttons in the Locations list. A location shows on the map when it, its type and the type's legend are published.
The address you display and the position of the marker are separate. You can show a short address and still place the marker on the exact entrance.
The GeoCoder tool
- Click Open GeoCoder Tool. A window with a map opens.
- Type an address in the field, for example
12 Rue de la Liberté, Marrakech, and click GeoCode this!. The marker moves there. - Drag the marker to the exact spot if needed. Current Position shows the coordinates.
- Click Save changes. Latitude and Longitude are filled.
- Save the location.
The tool uses Google's geocoding, see Google Geocoding. You can also type the coordinates yourself, for example copied from Google Maps.
Infobox Link Options
The Find out more... button at the bottom of the infobox opens a page. Link type decides which one:
| Link type | Where the button goes |
|---|---|
| Own page | The location page |
| URL | The address in Alternative Link. Include https:// for other sites |
| Map | Another JoomMap map, chosen in Map link |
| Menu item | A menu item, chosen in Menu item |
| No link | No button |
Custom fields
When the primary type has Joomla custom fields, they appear as extra tabs in the form. See Custom fields.
Changing the Primary Location Type reloads the form so the fields of the new type appear. On an existing location in 6.0.1 the page can stay greyed out after the change. Reload the page with F5: the new type is kept, and you can save the location.
Metadata
MetaDescription, Meta Keywords, Robots, Author and Content Rights for the location page.
Advanced Parameters
These settings override the options for this location's page and infobox. Leave a field on Use Global to keep the global value.
| Field | What it does |
|---|---|
| Map type, Map type controls | The map type of the location page |
| Zoom level | The zoom of the location page map |
| Display zoom controls, Mouse wheel zooming, Draggable?, Pan Control, Street View Control | The controls of the location page map |
| Show address in infobox?, Show phone in infobox?, Show intro text in infobox?, Show Thumbnail in infobox ? | What the infobox of this location shows |
| Show Get Directions? | The directions form on the location page |
The Locations list
Search by title, filter by status, map, type and author, and sort the list. Save as Copy in the edit screen duplicates a location with all its settings.