Closed malvinys closed 4 years ago
I’ve the same issue how you resolv that???
Hi,
You're running into a common issue, where the map struggles to process large number of markers. A good solution to this is to utilise marker clustering.
Here's an example of how its used from the README:
Mapper::map(53.381128999999990000, -1.470085000000040000, ['zoom' => 10, 'markers' => ['title' => 'My Location', 'animation' => 'DROP'], 'clusters' => ['size' => 10, 'center' => true, 'zoom' => 20]]);
hi, i want to render a map with many markers. If the marker is less than 100, map will be rendered, otherwise map is not rendered.
this is my code :