1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Federico Brega <charon.66@gmail.com>
Subject: Use the javascript from the openlayers package in Debian.
--- a/cyclograph/map.html
+++ b/cyclograph/map.html
@@ -31,7 +31,7 @@
<div id="map" class="smallmap"></div>
-<script type="text/javascript" src="http://www.openlayers.org/api/OpenLayers.js"></script>
+<script type="text/javascript" src="file:///usr/share/javascript/openlayers/OpenLayers.js"></script>
<script type="text/javascript">
vectorlayer = new OpenLayers.Layer.Vector("Vector Layer", {style: {strokeColor: "blue", strokeWidth: 5, strokeOpacity: 0.6}});
--- a/cyclograph/openlayers.html
+++ b/cyclograph/openlayers.html
@@ -24,7 +24,7 @@
}*/
</style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.3&sensor=false"></script>
- <script type="text/javascript" src="http://www.openlayers.org/api/OpenLayers.js"></script>
+ <script type="text/javascript" src="file:///usr/share/javascript/openlayers/OpenLayers.js"></script>
<script type="text/javascript" src="draw_on_map.js"></script>
<script type="text/javascript" src="file://./draw_on_map.js"></script>
</head>
|