#619 Menu Item Map

Parent Category:
DPCalendar
Category:
Menu items
Last Updated:
Allon Moritz (laoneo), Monday, 10 June 2019 17:28 (2 weeks ago.)
Created:
Wednesday, 22 February 2012 10:15 (Wednesday, 22 February 2012)
Hits:
4564

Introduction

The Event map menu item shows a map of events. Users are able to search events in a certain radius for a specific location. Regular content search is also provided and even searching within a specific timeframe.

The basic options are empty by default, which means the global settings of component options will be used, but you can override them in the menu link configuration. The search criterias are saved in the session, which means, when the visitor comes back, then the settings are remembered. The current location button asks for permission to request the current location of the visitor and will then search events near her/him.

Beside the search criteria, there are a lot of options to control the behavior of the map. The options are described in the chapter below.

Map menu item

Radius search

If the user wants to search based on locations, then he can start typing a name in the location field. Instantly a search is performed which delivers a list of locations to choose from. These locations are fetched from the defined maps provider in the DPCalendar options. A radius can be set within the events should be. Then a circle is rendered on the map to visually indicate the search area.

Events list form location

Options

The settings can be configured globally in the DPCalendar options or per menu item. If the value is empty in the menu item, then it will be inherited from the global options.

Expand Events [Type: Radio] [Default: Yes]
Show the instances of a series or only the original event.
The following options are available:
  1. Yes
  2. No
Date Format [Type: Text] [Default: m.d.Y]
The format of the date in a form (check http://www.php.net/date for details).
Map Zoom [Type: Text] [Default: 4]
The initial zoom level of the map.
Map Latitude [Type: Text] [Default: 47]
The initial latitude of the map.
Map Longitude [Type: Text] [Default: 4]
The initial longitude of the map.
Map Width [Type: Text] [Default: 100%]
The width of the map.
Map Height [Type: Text] [Default: 600px]
The height of the map.
Radius [Type: List] [Default: 20]
The default radius to search the events within.
The following options are available:
  1. 5
  2. 10
  3. 15
  4. 20
  5. 30
  6. 50
  7. 100
  8. 500
  9. 1000
  10. All
Length type [Type: Radio] [Default: Kilometers]
The length type of the radius.
The following options are available:
  1. Kilometers
  2. Miles
Show Events As Popup [Type: Radio] [Default: No]
Shows the event details in a modal popup.
The following options are available:
  1. No
  2. Yes
Popup Width [Type: Text]
If the event is shown as popup the width can be defined here.
Popup Height [Type: Text] [Default: 500]
If the event is shown as popup the height can be defined here.
Only My Events [Type: Radio] [Default: No]
Shows only the events which I'm the author of. If the user is a guest no events are shown.
The following options are available:
  1. No
  2. Yes
Enable Autocomplete [Type: Radio] [Default: Yes]
Should autocomplete being enabled?
The following options are available:
  1. No
  2. Yes
Content Before [Type: Textarea]
This text will be displayed before the component output (can contain HTML and supports content plugins).
Content After [Type: Textarea]
This text will be displayed after the component output (can contain HTML and supports content plugins).

Comments (0)

Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information Ok Decline