2013-08-27 10:23:53 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2013-08-30 13:40:26 +00:00
|
|
|
<template id="google_map">
|
2013-08-27 10:23:53 +00:00
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
|
|
<title>World wide map</title>
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-family: Helvetica, Arial, sans-serif !important;
|
|
|
|
}
|
|
|
|
.marker {
|
|
|
|
font-size: 12px !important;
|
|
|
|
}
|
|
|
|
.marker b {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
.marker pre {
|
|
|
|
font-size: 10px !important;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script>var partner_url = '<t t-raw="partner_url or ''"/>';</script>
|
|
|
|
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
|
2013-08-30 13:40:26 +00:00
|
|
|
<script type="text/javascript" t-attf-src="/google_map/partners.json?partner_ids=#{ partner_ids }"></script>
|
|
|
|
<script type="text/javascript" src="/website_google_map/static/src/js/markerclusterer_compiled.js"></script>
|
2013-08-27 10:23:53 +00:00
|
|
|
<script src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
|
2013-08-30 13:40:26 +00:00
|
|
|
<script type="text/javascript" src="/website_google_map/static/src/js/google_map.js"></script>
|
2013-08-27 10:23:53 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="map" t-attf-style="width: #{ width }px; height: #{ height }px"></div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</data>
|
|
|
|
</openerp>
|