<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="3.0" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher">ISPRS-Archives</journal-id>
<journal-title-group>
<journal-title>The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences</journal-title>
<abbrev-journal-title abbrev-type="publisher">ISPRS-Archives</abbrev-journal-title>
<abbrev-journal-title abbrev-type="nlm-ta">Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">2194-9034</issn>
<publisher><publisher-name>Copernicus Publications</publisher-name>
<publisher-loc>Göttingen, Germany</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.5194/isprs-archives-XLIII-B4-2022-435-2022</article-id>
<title-group>
<article-title>HEXAGONAL GRIDS APPLIED TO CLUSTERING LOCATIONS IN WEB MAPS</article-title>
</title-group>
<contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Beresnev</surname>
<given-names>A.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Semenov</surname>
<given-names>A.</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Panidi</surname>
<given-names>E.</given-names>
<ext-link>https://orcid.org/0000-0002-1492-4218</ext-link>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
</contrib-group><aff id="aff1">
<label>1</label>
<addr-line>Department of Cartography and Geoinformatics, Institute of Earth Sciences, Saint Petersburg State University, St. Petersburg, Russia</addr-line>
</aff>
<aff id="aff2">
<label>2</label>
<addr-line>Geosemantica LLC, St. Petersburg, Russia</addr-line>
</aff>
<pub-date pub-type="epub">
<day>02</day>
<month>06</month>
<year>2022</year>
</pub-date>
<volume>XLIII-B4-2022</volume>
<fpage>435</fpage>
<lpage>440</lpage>
<permissions>
<copyright-statement>Copyright: &#x000a9; 2022 A. Beresnev et al.</copyright-statement>
<copyright-year>2022</copyright-year>
<license license-type="open-access">
<license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri"  xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p>
</license>
</permissions>
<self-uri xlink:href="https://isprs-archives.copernicus.org/articles/XLIII-B4-2022/435/2022/isprs-archives-XLIII-B4-2022-435-2022.html">This article is available from https://isprs-archives.copernicus.org/articles/XLIII-B4-2022/435/2022/isprs-archives-XLIII-B4-2022-435-2022.html</self-uri>
<self-uri xlink:href="https://isprs-archives.copernicus.org/articles/XLIII-B4-2022/435/2022/isprs-archives-XLIII-B4-2022-435-2022.pdf">The full text article is available as a PDF file from https://isprs-archives.copernicus.org/articles/XLIII-B4-2022/435/2022/isprs-archives-XLIII-B4-2022-435-2022.pdf</self-uri>
<abstract>
<p>&lt;p&gt;One of the popular ways to clutter reduction techniques is to combine neighboring points into one marker that somehow shows that it contains multiple entities – this way is called clustering. In this paper, we present a JavaScript library to define optimal size of clusters and render them. Moreover, markers have to present heterogeneous data inside of clusters.&lt;/p&gt;&lt;p&gt;The presented library relies on server side clustering, no matter if is it a real-time clustering or a static bunch of hexagonal grids. For the library, a server provides the bunch of grid layers by different cell sizes – from smaller to larger. The library relies on data fetching provided by external library, such as Mapbox/Maplibre, so it can work with both GeoJSON and vector tiles. Using the HTML Canvas to render the marker allows to full customizing the marker image: manage the colors and proportions of cluster fractions and the size.&lt;/p&gt;</p>
</abstract>
<counts><page-count count="6"/></counts>
</article-meta>
</front>
<body/>
<back>
</back>
</article>