Automatic Directory Map block

Updated: August 5, 2020

Displays relevant directory Item Posts automatically based on current page.

Examples of usage:

  • on Search Results page are displayed only Item Posts appropriate to the search keyword, category or location
  • on Item Category page are displayed only Item Posts appropriate to the currently opened Item Category page
  • on Item Location page are displayed only Item Posts appropriate to the currently opened Item Location page
  • on Item Detail page is displayed only currently opened Item Post

Block settings in sidebar

From sidebar settings of block you can select provider of map. Available is selection between Google Maps and OpenStreetMaps. It’s up to you which one is preferred for your website.
In addition are available options:

  • show the search form in the map
  • define if Item markers or also GPX Tracks are displayed on the map
  • select color theme for your map under Appearance tab – read more about available color themes

Markers and tracks on the map

Using option “Show on map” you can select from three options to decide what will be displayed on your map:

  • Markers – displayed are standard map markers related to Item Posts
  • GPX Tracks – displayed are all Item posts which have uploaded GPX track file, instead of markers are rendered related tracks
  • Markers & GPX Tracks – resulting map is combination of standard map markers and rendered tracks. Item posts which doesn’t have uploaded GPX file are on the map presented with standard map marker, posts with uploaded GPX file are presented using track
close

On Item Detail special page isn’t available option to select if marker or track related to Item Post is displayed on map. Map automatically shows track if GPX file was uploaded for post, otherwise standard map marker is visible.

For tracks rendered on map are available additional options:

  • Dynamic track visibility – if turned on the track is visible on the map only if it’s not too much small according to current map zoom. With zoom in is the track automatically rendered on the map. If map is too much zoomed out, track is automatically replaced with marker. After click on marker map zoom to fit the track to map.
  • Track color – color of all tracks on the map can be the same, set up the color of track
  • Track endpoints color – defines the color of start and end points of the track