Révision af81ae55
Ajouté par Jocelyn Delande il y a presque 11 ans
show_capline.php | ||
---|---|---|
26 | 26 |
echo <<< EOS |
27 | 27 |
<script src="http://maps.google.com/maps/api/js?v=3&sensor=false"></script> |
28 | 28 |
<script src="http://openlayers.org/api/OpenLayers.js"></script> |
29 |
<script> |
|
30 |
zoom = 12; |
|
29 |
<script> |
|
31 | 30 |
var get_lon_lat = false; |
32 | 31 |
var scale_line = true; |
33 | 32 |
|
... | ... | |
82 | 81 |
</script> |
83 | 82 |
<script src="js/utils_osm.js"> |
84 | 83 |
</script> |
84 |
<script src="js/pano.js"> |
|
85 |
</script> |
|
86 |
|
|
85 | 87 |
EOS; |
86 | 88 |
} |
87 | 89 |
?> |
88 | 90 |
<script> |
89 | 91 |
window.onload = function() { |
90 |
var map = draw_cap_map();
|
|
92 |
var map = draw_cap_map(12);//zoom
|
|
91 | 93 |
all_refpoints = mk_all_refpoints_layer() |
92 | 94 |
map.addLayer(all_refpoints); |
93 | 95 |
add_refpoint_control(all_refpoints, map); |
Formats disponibles : Unified diff
Can now Load the pano.js in the view_cap.php