Need to halt display of map markers until count is under 200 Need to halt display of map markers until count is under 200 wordpress wordpress

Need to halt display of map markers until count is under 200


Why not use the MarkerClusterer library . It is designed exactly for these kind of scenarios, so you can set the resolution of the clustering and distances ...and you can also bind events (if you insist on a number like 200).

(Actually, I have an un-released wordpress plugin who does just that - insert a map and fix clustering on a post basis)