googlearchive/js-marker-clusterer

Usage with static maps API

omerts opened this issue · 1 comments

Hey,

We need to create a static image of a map with marker clustering.
Is there a way to somehow use this lib to only create an array of clusters and pass them on as markers to the google static maps API?

Thanks.

Remo commented

This repo isn't maintained anymore, please use this one for future issues/pull requests: https://github.com/gmaps-marker-clusterer/gmaps-marker-clusterer

I don't see an easy way to achieve this. The way this library is built doesn't support static images. You might be able to use some kind of server rendering, but I think it's easier if you'd just create this in node/php/python or whatever you use and then render the static image.