Skip to Main Content

How to set up your clustermap

  1. Create a region and choose "SMART4Solutions Leaflet Clustermap" as the type
  2. At the region source enter your query in the correct form:
    select latitude   as lat
    ,      longitude  as lng
    ,      city       as label
    from   your_table
    You can refer to (page-)items in your query.
  3. Go to the region's attributes:
    1. Height: the height you map should have in pixels
    2. Maximum zoom level: Your map will not zoom beyond this level
    3. Attribution: The message shown in the bottom right
    4. Center of map: The initial map center
    5. Zoom level: The initial zoom level
    6. Loading message (optional): The message shown when markers are selected

Downloads Map