{% extends "admin/change_form.html" %}
{% load admin_static %}
{% block extrahead %}
    {{ block.super }}
    <script type="text/javascript">
        var map;
        var marker = new Array;
        jQuery(function($) {
            map = new GMaps({
                div: '#custom-map',
                lat: 47.251038,
                lng: -2.042141,
                zoom: 11,
            });
            map.setCenter(47.251038,-2.042141);
        });
    </script>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
    <script src="{{ STATIC_URL }}js/gmaps.js" type="text/javascript"></script>

{% endblock %}

{% block content %}
    {{ block.super }}
    Aperçu des marqueurs :
    <div id="custom-map" style="height:400px !important;"></div>
{% endblock %}

