Open Nimn opened 12 years ago
En français, il faut un templatetag qui appelle un objet et va exploiter ses relations génériques "Located" et "AreaLink" pour afficher les objets points et polygone
idealement :
{% simplemap 200x300 orga %} là, par exemple c'est un objet Organization qui est passé
L'idée est de pouvoir ré-exploiter le templatetag avec d'autres objets ensuite (Event, Exchange) pourvu qu'on leur attache des relations génériques Located et/ou AreaLink
In the actual demo, we have for each organization a GoogleMaps API jpeg showing the different points we need a template to display this little map, along with the interest zones (arealink polygon) of this organization