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.
Syntax
{bb_datacollectionmap source="" sort="" limit="" zoom="" markericon="" style="" allowroadmap="" allowsatellite="" allowhybrid="" allowterrain="" filter="" centerlat="" centerlng=""}
Properties
- source - Name of the data collection
- sort - Supports BlueberryCMS data collection sorting capabilities
- limit - number of data locations to plot on the map
- zoom - Zoom factor, defaults to 12
- markericon - Relative path to a marker image file. If none is used, the default marker will be used.
style - Normal, Grey, or Dark (Normal is the default. See default styles below) - allowroadmap - Allows the RoadMap Control option (default = true)
- allowsatellite - Allows the Sattellite Control option (default = true)
- allowhybrid - Allows the HybridControl option (default = true)
- allowterrain - Allows the Terrain Control option (default = true)
- filter - Supports Random, fieldname/fieldvalue, and Tags
- centerlat - Sets the map center view point's latitude
- centerlng - Sets the map center view point's longitude
Liquid Tags
None.
Related Modules
Sample Map Styles
Normal style
Grey style
Dark style
Comments
0 comments
Please sign in to leave a comment.