[eme_locations_map]

[eme_locations_map]
Inserts a map of multiple locations. Accepts the following arguments:

  • width: the width in either pixels or percentage (e.g. 100%) of the map. Default: 450.
  • height: the height in pixels or percentage (e.g. 100%) of the map. Default: 300.
  • eventful: if set to true, only locations with events planned will be shown. Default: false. Possible values: 0 or false, 1 or true
  • scope: see the explanation for [events_list]. You need to set eventful to true for this to have any effect.
  • category: see the explanation for [events_list]. If eventful=true as well, then only locations with events matching the category 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 true
  • show_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 true
  • ignore_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.

Example:
[eme_locations_map eventful=true paging=1 scope=this_week]