Menu

#624 Map Module

Parent Category:
DPCalendar
Category:
Modules
Last Updated:
Allon Moritz, Tuesday, 24 November 2020 13:15 (Tuesday, 24 November 2020)
Created:
Friday, 14 September 2012 22:23 (Friday, 14 September 2012)
Hits:
4730

Introduction

The Map module shows a map of upcoming events for the selected calendars in the configuration. 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.

In the module settings you can control which initial search criterias should be taken for the radius and length type. 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 module

Options

Select calendar [Type: Dpcalendar]
The calendars which should be pre selected. All subcalendars will be included as well also when deselected.
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
Include Ongoing Events [Type: Radio] [Default: No]
Should ongoing events be included.
The following options are available:
  1. Yes
  2. No
Map Zoom [Type: Text] [Default: 4]
The initial zoom level of the map.
Map Width [Type: Text] [Default: 100%]
The width of the map.
Map Height [Type: Text] [Default: 300px]
The height of the map.
Radius [Type: List] [Default: 20]
Radius
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: List] [Default: Kilometre]
The length type of the radius.
The following options are available:
  1. Kilometre
  2. Mile
Map Mode [Type: List] [Default: Roadmap]
The map mode.
The following options are available:
  1. Roadmap
  2. Sattelite
  3. Hybrid
  4. Terrain
Map Latitude [Type: Text] [Default: 47]
The initial latitude of the map.
Map Longitude [Type: Text] [Default: 4]
The initial longitude of the map.
Date Format [Type: Text] [Default: d.m.Y]
The date format.
Open in popup [Type: Radio] [Default: No]
Should the events be opened as a modal popup.
The following options are available:
  1. Yes
  2. No
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. Yes
  2. No
Show Search [Type: Radio] [Default: Yes]
Should the search bar be shown?
The following options are available:
  1. Yes
  2. No

Options

Layout [Type: Modulelayout]
Use a layout from the supplied module or overrides in the templates.
Module Class Suffix [Type: Text]
A suffix to be applied to the CSS class of the module. This allows for individual module styling.

Comments (0)

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.