[eme_locations_map]
Inserts a map of multiple locations. Accepts the following arguments:
width
: the width (as css style) in pixels, fr, em or percentage (e.g. 100%) of the map. Default: 450. A plain number will be considered as pixels.height
: the height (as css style) in pixels, fr, em or percentage (e.g. 100%) of the map. Default: 300. A plain number will be considered as pixels.eventful
: if set to true, only locations with events planned will be shown. Default: false. Possible values: 0 or false, 1 or truescope
: see the explanation for [eme_events]. You need to seteventful
to true for this to have any effect.category
: see the explanation for [eme_events]. Ifeventful=true
as well, then only locations with events matching the category criteria are shown.notcategory
: see the explanation for [eme_events]. Ifeventful=true
as well, then only locations with events matching the category criteria are shown.author
: see the explanation for [eme_events]. Ifeventful=true
as well, then only locations with events matching the author criteria are shown.contact_person
: see the explanation for [eme_events]. Ifeventful=true
as well, then only locations with events matching the contact_person criteria are shown.paging
controls wether or not you want to activate pagination in the locations listed. The default is “0” (=false), use “1” (or “true”) to indicate you want pagination. For locations, only period paging is possible, so you have to indicate the period via the scope option. The only allowed period scopes are: today, tomorrow, this_week, this_month and this_year.
Also, since period paging is only useful for locations having events, the option eventful needs to be set to true as well.list_location
: specifies the place where the location list will be shown: before the map, after the map, or not. Possible values: ‘before’, ‘after’, ‘none’. The default is ‘after’.show_locations
controls wether or not to show the list of locations. Default: true. Possible values: 0 or false, 1 or trueshow_events
controls wether or not to show a list of events per location (or without locations, if show_locations is false). Default: false. Possible values: 0 or false, 1 or trueignore_filter
: if set to 1, the shortcode will ignore the eme filter form if present on the page. Defaults to 0. Using this you can use several shortcodes on 1 page and only some are optionally influenced by the eme_filterform shortcode.marker_clustering
: will cluster a number of markers together if you zoom out, values: true/false (or 0/1) Default: 0.letter_icons
: choose to show letters (A,B,C;…) or icons (the default or custom per location) for locations on the global map, values: true/false (or 0/1) Default: 1 (meaning letters will be used).
Example:
[eme_locations_map eventful=true paging=1 scope=this_week]