revert debug vector file temporary stuff
This commit is contained in:
parent
c32319e3ba
commit
7fde9938fa
@ -16,7 +16,7 @@
|
|||||||
<div id="map"></div>
|
<div id="map"></div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var map = L.map('map', {closePopupOnClick: false})
|
var map = L.map('map')
|
||||||
.setView([51.505, -0.09], 13);
|
.setView([51.505, -0.09], 13);
|
||||||
|
|
||||||
var cloudmade = L.tileLayer('http://{s}.tile.cloudmade.com/{key}/{styleId}/256/{z}/{x}/{y}.png', {
|
var cloudmade = L.tileLayer('http://{s}.tile.cloudmade.com/{key}/{styleId}/256/{z}/{x}/{y}.png', {
|
||||||
@ -27,7 +27,7 @@
|
|||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
var marker = L.marker([51.5, -0.09])
|
var marker = L.marker([51.5, -0.09])
|
||||||
.bindPopup("<b>Hello world!</b><br /><a href='javascript:alert(15);'>I am a popup</a>.")
|
.bindPopup("<b>Hello world!</b><br />I am a popup.")
|
||||||
.addTo(map)
|
.addTo(map)
|
||||||
.openPopup();
|
.openPopup();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user