summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/templates/chimere/blocks/map.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/chimere/templates/chimere/blocks/map.html b/chimere/templates/chimere/blocks/map.html
index 10e3143..830a782 100644
--- a/chimere/templates/chimere/blocks/map.html
+++ b/chimere/templates/chimere/blocks/map.html
@@ -89,6 +89,19 @@ $("#{{map_id}}").show();
$('#{{map_id}}').chimere('update_permalink', '{{map_id}}');
};
+ setTimeout(
+ function(){
+ $("#{{map_id}}").chimere("zoomIn");
+ $("#{{map_id}}").chimere("refresh");
+ }, 500
+ );
+ setTimeout(
+ function(){
+ $("#{{map_id}}").chimere("zoomOut");
+ $("#{{map_id}}").chimere("refresh");
+ }, 600
+ );
+
</script>
<div id='marker_hover'><div id='marker_hover_content'></div></div>
<div class="modal fade" id="cluster_list" tabindex="-1" role="dialog" aria-labelledby="cluster-label" aria-hidden="true">