source: subversion/applications/editors/potlatch2/resources/potlatch2.html @ 18915

Last change on this file since 18915 was 18765, checked in by gravitystorm, 11 years ago

Avoid flashplayer caching, for now

File size: 1.3 KB
Line 
1<html>
2
3<!-- Potlatch 2 script -->
4
5<head>
6<title>Potlatch TWO</title>
7<script type="text/javascript" src="swfobject.js"></script>
8</head>
9
10<body>
11
12<div id="map" style="width:100%; height: 100%; border: 1px solid black">
13</div>
14
15<script>
16        var fo = new SWFObject("potlatch2.swf?d="+Math.round(Math.random()*1000), "map", "100%", "100%", "9", "#FFFFFF");
17        fo.addVariable("lat",51.875);
18        fo.addVariable("lon",-1.492);
19        fo.addVariable("zoom",16);
20        fo.addVariable("api","http://api06.dev.openstreetmap.org/api/0.6/");
21        fo.addVariable("policy","http://api06.dev.openstreetmap.org/api/crossdomain.xml");
22        fo.addVariable("connection","XML");
23        fo.addVariable("oauth_policy", "http://api06.dev.openstreetmap.org/oauth/crossdomain.xml");
24        fo.addVariable("oauth_request_url", "http://api06.dev.openstreetmap.org/oauth/request_token");
25        fo.addVariable("oauth_access_url", "http://api06.dev.openstreetmap.org/oauth/access_token");
26        fo.addVariable("oauth_auth_url", "http://api06.dev.openstreetmap.org/oauth/authorize");
27        fo.addVariable("oauth_consumer_key", "fiM1IoqnKJk4JCfcl63DA");
28        fo.addVariable("oauth_consumer_secret", "7fYgJK9M4vB1CvBZ6jEsPGxYK9UD1hEnI6NqTxNGs");
29        fo.addVariable("serverName", "api06 Test On Dev");
30        fo.addVariable("style","potlatch.css?d="+Math.round(Math.random()*1000));
31        fo.write("map");
32
33
34</script>
35
36</body>
37</html>
38
Note: See TracBrowser for help on using the repository browser.