1. Home
  2. Addons
  3. Marker Cluster

Marker Cluster


Introduction
Installation
Configuration

Introduction

The marker cluster addon improves map and site performance by clustering markers from nearby locations. The single ‘marker cluster’ represents several locations at once, and clicking the cluster zooms in and expands the individual markers.

Installation

Preparation

Check to be sure you have the following plugins installed before you get started.

Installation

  1. Download the Addon from your account.
  2. Install the Addon.

Configuration

Navigate to Geodirectory > Settings > Marker Cluster

Marker Cluster Settings

  1. Cluster Type
    1. Server side rendering can be used to improve performance of GD Home Maps created with widgets and shortcodes.
  2. Grid Size
    1. The grid size of a cluster in pixel.
    2. Each cluster will be a square.
    3. If you want the algorithm to run faster, you can set this value larger.
    4. The default value is 60
  3. Max Zoom
    1. The max zoom level monitored by a marker cluster.
    2. When maxZoom is reached or exceeded all markers will be shown without cluster.
    3. The default value is 15

Map widgets, shortcodes and blocks

  1. Map widgets shortcodes and blocks will have an extra option to cluster the map.
  2. The shortcode parameter for GD Map is
    marker_cluster="1"
Was this helpful to you? Yes 2 No 1