simonw / datasette-leaflet-geojson

Datasette plugin that replaces any GeoJSON column values with a Leaflet map.
19 stars 8 forks source link

Show a maximum of ten maps, require 'click to see map' for more than that #16

Closed simonw closed 3 years ago

simonw commented 3 years ago

It feels bad when this plugin renders 1,000 maps because someone ran a big custom query.

Could resolve this by only loading the first ten results, and using a grey square for others which can be clicked to load the map for it.

simonw commented 3 years ago

loading-maps

simonw commented 3 years ago

I'm going to add a setting for this.