Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: c8ca9a8e6b
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (34 sloc) 1.495 kB
{% extends 'base.html' %}
{% load helpertags %}
{% load humanize %}
{% block title %}Census Map {% endblock title %}
{% block content %}
<link rel="stylesheet" href="{{ MEDIA_URL }}leaflet/leaflet.css" type="text/css" charset="utf-8">
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
<script type="text/javascript" src="{{ MEDIA_URL }}leaflet/leaflet.js"></script>
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.geocodify.min.js"></script>
<script type="text/javascript" src="{{ MEDIA_URL }}js/map.js"></script>
<script id="popup-template" type="text/x-js-template" charset="utf-8">
<h3><%= geojson.name %> (<%= geojson.kind %>)</h3>
<h4>geoid: <%= geojson.external_id %></h4>
<a href="/data/<%= geojson.external_id %>.html">Census Data</a>
</script>
<script id="legend-template" type="text/x-js-template" charset="utf-8">
<div id='legend-<%= geojson.external_id %>'>
<h3><%= geojson.name %> (<%= geojson.kind %>)</h3>
</div>
</script>
<div id="forms">
<select id="types">
<option value="">all geographies</option>
<option value="tracts">census tract</option>
<option value="county-subdivisions">county subdivision</option>
<option value="counties">county</option>
<option value="places">place</option>
<option value="states">state</option>
</select> containing
<form id="geocoder">
</form>
</div>
<div id="map" style="height: 500px"></div>
{% endblock %}
Jump to Line
Something went wrong with that request. Please try again.