Interactive map layers offer the capability to retrieve statistical information for the data stored in the layer. Both hexagonal and square grid clustering are supported.
The example shows how interactive map layers are used to demonstrate the density of supermarket coverage in the UK. The supermarket retail points are stored in an interactive map layer. The layer is then queried to retrieve the individual points, the density of all supermarkets, and the density of each supermarket chain.
git clone https://github.com/heremaps/here-interactive-map-layer-examples.git
cd here-interactive-map-layer-examples
yarn install
Set your HERE platform API Key.
yarn set-api-key <YOUR_API_KEY>
To only build the examples, run:
yarn build
Or alternatively, to build the examples, serve them locally and open them in the browser use the following command:
yarn start
Copyright (C) 2021-2022 HERE Europe B.V.
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details