Created
July 11, 2012 12:16
-
-
Save amercader/3090006 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% ckan_extends 'package/read.html' %} | |
{% block styles %} | |
{{ super() }} | |
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/spatial/css/dataset_map.css" /> | |
{% endblock %} | |
{% block scripts %} | |
{{ super () }} | |
<script type="text/javascript" src="/base/javascript/vendor/jquery.js"></script>' | |
<script type="text/javascript" src="/ckanext/spatial/js/openlayers/OpenLayers_dataset_map.js"></script>' | |
<script type="text/javascript" src="/ckanext/spatial/js/dataset_map.js"></script> | |
<script type="text/javascript"> | |
//<![CDATA[ | |
$(document).ready(function(){ | |
CKAN.DatasetMap.extent = '{ "type": "Polygon", "coordinates": [ [ [-0.3715, 50.8168],[-0.3715, 50.8747], [-0.2155, 50.8747], [-0.2155, 50.8168], [-0.3715, 50.8168] ] ] }'; | |
CKAN.DatasetMap.setup(); | |
}) | |
//]]> | |
</script> | |
{% endblock %} | |
{% block actions_content %} | |
{{ super () }} | |
<li><a class="btn" href=""><i class="icon-large icon-flag"></i> Report Issue</a></li> | |
{% endblock %} | |
{% block primary_content %} | |
{{ super() }} | |
{#% snippet "snippets/spatial/dataset_map.html" %#} | |
{% endblock %} | |
{% block secondary_content %} | |
{{ super() }} | |
{% snippet "snippets/subscribe.html" %} | |
{% snippet "snippets/disqus_trackback.html" %} | |
{% snippet "snippets/spatial/dataset_map_secondary.html" %} | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment