Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

map

This block is part of the google maps group and was last modified in core v11.2.5.

map v11.2.5

Basic map

In pins 20
  • Token value required

    Enter the google maps token

  • Latitude number required

    The default center latitude location.

  • Longitude number required

    The default center longitude location

  • Zoom number required

    The default zoom level

  • Map type value

    The type of map to display.

  • Default UI condition

    When false, the default controls are hidden.

    Default true

  • Cluster Markers condition

    When true, all the markers on the map will be clustered together if they are close enough together.

  • Cluster Max Zoom number

    When fully zoomed out max zoom is the amount of zoom levels you can zoom in on the map (so 20 is 20 clicks on the +)

    Default 20

  • Cluster Grid Size number

    The grid size of a cluster in pixels.

    Default 40

  • Cluster icons array

    An Array with MAX 5 images for the cluster icons. Items in array needs to be Array with values. IMAGES NEEDS TO BE SMALLER THAN 100PX

    Default []

  • Cluster Text Color value

    Color of the cluster text

    Default black

  • Cluster Text Size number

    Size of the cluster text

    Default 12

  • Draggable condition

    When false, you will not be able to drag the map.

    Default true

  • Map Type Control condition

    When false, you will not be able to toggle between map types • Hidden when other fields are filled

    Default true

  • StreetView Control condition

    Hidden when other fields are filled

    Default true

  • Zoom Control condition

    Hidden when other fields are filled

    Default true

  • Use scrollwheel condition

    Hidden when other fields are filled

    Default true

  • Background Color value

    This color will be visible when tiles have not yet loaded as the user pans.

  • Cluster icons width number

    Set the width of the images • Shown when 'cluster-icons' is filled

    Default 50

  • Cluster icons height number

    Set the height of the images • Shown when 'cluster-icons' is filled

    Default 50

Out pins 1
  • uicomponent uicomponent

A typical wiring for map: value feeds the co-token pin; value feeds the co-latitude pin; value feeds the co-longitude pin; number feeds the latitude pin; number feeds the longitude pin; number feeds the co-zoom pin; the uicomponent out pin feeds build PDF.

Studio canvas example for the map block: typical wiring for map.

Version history

Introduced in v11.2.5.


Back to google maps Return to the main group to view all sub-groups Back to google Return to the group to view all blocks within this group