3 <!-- Halcyon example embed script -->
7 <script type="text/javascript" src="swfobject.js"></script>
12 <div id="map" style="width:800px; height: 600px; border: 1px solid black">
17 function respond(event,object,id,attr) {
18 alert (event+": "+object+" "+id+", highway="+attr['highway']);
21 var fo = new SWFObject("halcyon_viewer.swf?d="+Math.round(Math.random()*1000), "map", "100%", "100%", "9", "#FFFFFF");
22 fo.addVariable("lat",51.875);
23 fo.addVariable("lon",-1.482);
24 fo.addVariable("zoom",16);
25 fo.addVariable("api","http://www.openstreetmap.org/api/0.6/");
26 fo.addVariable("policy","http://www.openstreetmap.org/api/crossdomain.xml");
27 fo.addVariable("connection","AMF");
28 fo.addVariable("responder","respond");
29 fo.addVariable("style","test.css");
30 fo.addVariable("show_debug","false");