{bb_datacollectionmap} Print

  • Data Collection, Modules
  • 0

This module tag is used to render Data Collection data items on a map using the Google Maps API. The Google Maps API Key must be entered into Business Profile > API tab.

See Google Maps documentation to Get an API Key

This modules DOES NOT support Liquid.

NOTE: This module tag is a part of a future release.

Syntax

{bb_datacollectionmap source="" filter="" limit="" zoom="" markericon="" style="normal|grey|dark" allowroadmap="true|false" allowsatellite="true|false" allowhybrid="true|false" allowterrain="true|false" centerlat="" centerlng=""}

Parameters

  • source - Name of the Data Collection to pull Data Item locations from.
  • filter - Supports Random, fieldname:fieldvalue, and Tags.
  • limit - Number of data item locations to plot on the map.
  • zoom - Zoom factor, possible values 1-16. Default is 12).
  • markericon - Relative path to a marker image file. If none is used, the default marker will be used.
  • style - Sets the map's style. Possible values are normal, grey, or dark (Normal is the default. See default styles below).
  • allowroadmap - true|false. Allows the RoadMap Control option. Default is true.
  • allowsatellite - true|false. Allows the Sattellite Control option. Default is true.
  • allowhybrid - true|false. Allows the HybridControl option. Default is true.
  • allowterrain - true|false. Allows the Terrain Control option. Default is true.
  • centerlat - Sets the map center view point's latitude.
  • centerlng - Sets the map center view point's longitude.

Liquid Tags

None.

Sample Map Styles

Normal style

normal map style

Grey style

grey map style

Dark style

dark map style

 

 


Was this answer helpful?

« Back

Powered by WHMCompleteSolution