Data Lens Developer's Guide

Markers

Markers on a map represent elements that are tied to a location. These could be static objects such as buildings or dynamic events such as earthquake locations. The typical use case for markers is to associate information in a data visualization to specific locations on the map and display them meaningfully.

Markers are configured with two basic elements:

  • Marker data – location and filtering of the queried data
  • Marker style – color, shape and optional 'clustering' (the representation of markers indicating more than one data point at the same location)

Markers can also be designed to be proportional, where their features vary according to the variations in the data being represented. You can use differences in marker size, color, and transparency to illustrate the relative values within the dataset. For example, a marker representing an earthquake magnitude can be larger for stronger earthquakes and smaller for weaker ones.

Data Lens allows you to create different kinds of markers; see Drawing Data-Driven Markers for details.

The following are examples of markers created with Data Lens. Click the images to view the full code for these examples.

Figure 1. A map showing the location, magnitude and depth of earthquakes using proportional markers (click the image to go to the code example)
Figure 2. A map showing clusters of antennae using proportional markers (click the image to go to the code example)

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.