|
@ -35,13 +35,13 @@ output = """ |
|
|
<tr> |
|
|
<tr> |
|
|
<td><center><div id="map" style="width: 600px; height: 400px"></div></center></td> |
|
|
<td><center><div id="map" style="width: 600px; height: 400px"></div></center></td> |
|
|
<script> |
|
|
<script> |
|
|
var map = L.map('map').setView([23.505, -3.09], 18); |
|
|
var map = L.map('map').setView(["""+xmlLongitude+""", """+xmlLatitude+"""], 14); |
|
|
L.tileLayer('Border Check', { |
|
|
L.tileLayer('Border Check', { |
|
|
maxZoom: 18, |
|
|
maxZoom: 18, |
|
|
attribution: 'Map: <a href="http://openstreetmap.org">OpenStreetMap</a>' |
|
|
attribution: 'Map: <a href="http://openstreetmap.org">OpenStreetMap</a>' |
|
|
}).addTo(map); |
|
|
}).addTo(map); |
|
|
|
|
|
|
|
|
L.marker([51.5, -0.09]).addTo(map) |
|
|
L.marker(["""+xmlLongitude+""", """+xmlLatitude+"""]).addTo(map) |
|
|
.bindPopup("<b>"""+xmlMeta+"""</b><br />").openPopup(); |
|
|
.bindPopup("<b>"""+xmlMeta+"""</b><br />").openPopup(); |
|
|
|
|
|
|
|
|
var popup = L.popup(); |
|
|
var popup = L.popup(); |
|
|