Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Création de template tags pour les champs géographiques #17

Open
Nimn opened this issue Oct 17, 2011 · 2 comments
Open

Création de template tags pour les champs géographiques #17

Nimn opened this issue Oct 17, 2011 · 2 comments
Labels

Comments

@Nimn
Copy link
Member

Nimn commented Oct 17, 2011

No description provided.

@domguard
Copy link
Member

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

@domguard
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants