Aggregating points: JSON on SQL and loops on infowindows - The Map Den
Fantastic bit of code and tutorial about aggregating point data for JSON objects using SQL. geomaticblog NOTE: I’ll use CARTO but you can apply all this to any webmapping technology backed by a modern database. Get all the data So we start with the typical use case where we have a one to many relationship like this: Easy peasy, we have a map with many stacked points. From here you can jump to this excellent post by James Milner about dense point maps. My example is not about having thousands of scattered points that at certain zoom levels overlap. Mine is a small set ofRead More →