> I think you just want something like:
> {% for p in precinct_list %}
> point = new GLatLng({{p.precinct_lat}}, p.precinct_lng{});
> map.addOverlay(createMarker(point, "{{p}}"));
> {% endfor %}
Oops, brain fade on my part -- I didn't read your question carefully
enough. Baxter is correct.
One thing to note: if {{p.precinct_lat}} is a string then it needs to
be inside quotes or you'll get a JS error.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---