biodiv / anycluster

Server-side clustering of map markers for (Geo)Django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clusterPopup.html override

lmorroni opened this issue · comments

Hi,
Is there an easy way to override this file? I really would prefer to not modify files inside anycluster. If I could specify my own template, that would be nice.
Larry

Actually, this file is meant to be overridden. You should be able doing so by adding a template into your app directory:

/pathto/YOURAPP/templates/anycluster/clusterPopup.html

Django should now prefer this template over the one shipped with anycluster.

That worked, thanks!