revert debug vector file temporary stuff

This commit is contained in:
Vladimir Agafonkin 2012-07-16 14:53:58 +03:00
parent c32319e3ba
commit 7fde9938fa

View File

@ -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();