// Instantiating data source with tools data var toolsSource = Sintium.dataSource({ url: "https://www.barentswatch.no/api/v1/geodata/download/fishingfacility/?format=JSON" }); // Instantiating layer with fishing tools data, clustered by tool type var toolsLayer = Sintium.vectorLayer({ layerId: 'Tools layer', dataSource: toolsSource, clusteredByProperty: 'tooltypecode' }); // Instantiating map var map = Sintium.map({ domId: "map", layers: [toolsLayer], zoomOnClusterClick: true });
<div id="map" style="width: 100%; height: 500px;"></div>