mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-04-03 09:31:46 +01:00
enabled gps marker layer in map
updated pguidemap.png HGbled GPS: Enter commit message. Lines beginning with 'HG:' are removed.
This commit is contained in:
parent
9d3d3201bc
commit
b1595e5cd5
@ -7,8 +7,8 @@
|
|||||||
<meta http-equiv="content-style-type" content="text/css" />
|
<meta http-equiv="content-style-type" content="text/css" />
|
||||||
<meta http-equiv="content-language" content="en" />
|
<meta http-equiv="content-language" content="en" />
|
||||||
|
|
||||||
<script src="http://www.openlayers.org/api/OpenLayers.js"></script>
|
<script src="/javascript/openlayers/OpenLayers.js"></script>
|
||||||
<script src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script>
|
<script src="/javascript/openlayers/OpenStreetMap.js"></script>
|
||||||
<script src="util.js"></script>
|
<script src="util.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -56,10 +56,10 @@ icons[0] = new Array('http://openlayers.org/api/img/marker.png','21','25','0.5',
|
|||||||
|
|
||||||
// Display layers
|
// Display layers
|
||||||
|
|
||||||
//layer_markers = new OpenLayers.Layer.Markers("Marker", { projection: new OpenLayers.Projection("EPSG:4326"),visibility: true, displayInLayerSwitcher: false });
|
layer_markers = new OpenLayers.Layer.Markers("Marker", { projection: new OpenLayers.Projection("EPSG:4326"),visibility: true, displayInLayerSwitcher: false });
|
||||||
//layer_vectors = new OpenLayers.Layer.Vector("Zeichnungen", { displayInLayerSwitcher: true } );
|
//layer_vectors = new OpenLayers.Layer.Vector("Zeichnungen", { displayInLayerSwitcher: true } );
|
||||||
//map.addLayer(layer_vectors);
|
//map.addLayer(layer_vectors);
|
||||||
//map.addLayer(layer_markers)
|
map.addLayer(layer_markers)
|
||||||
//layers = new Array();
|
//layers = new Array();
|
||||||
//layer_layerMapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik");
|
//layer_layerMapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik");
|
||||||
//map.addLayer(layer_layerMapnik);
|
//map.addLayer(layer_layerMapnik);
|
||||||
@ -79,7 +79,7 @@ layers.push(new Array(layerMapnik,'layerMapnik'));
|
|||||||
layers.push(new Array(layerCycleMap,'layerCycleMap'));
|
layers.push(new Array(layerCycleMap,'layerCycleMap'));
|
||||||
|
|
||||||
//this isn't right yet - GPX points are not appearing
|
//this isn't right yet - GPX points are not appearing
|
||||||
/*map.addLayer(
|
map.addLayer(
|
||||||
new OpenLayers.Layer.Markers("Entrances","ents.gpx",
|
new OpenLayers.Layer.Markers("Entrances","ents.gpx",
|
||||||
{format: OpenLayers.Format.GPX({extractWaypoints: true}),
|
{format: OpenLayers.Format.GPX({extractWaypoints: true}),
|
||||||
styleMap: new OpenLayers.StyleMap(
|
styleMap: new OpenLayers.StyleMap(
|
||||||
@ -88,7 +88,7 @@ layers.push(new Array(layerCycleMap,'layerCycleMap'));
|
|||||||
projection: new OpenLayers.Projection("EPSG:4326")
|
projection: new OpenLayers.Projection("EPSG:4326")
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
);*/
|
);
|
||||||
|
|
||||||
var gpxStyles = new OpenLayers.StyleMap({
|
var gpxStyles = new OpenLayers.StyleMap({
|
||||||
"default": new OpenLayers.Style({
|
"default": new OpenLayers.Style({
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 701 KiB After Width: | Height: | Size: 663 KiB |
Loading…
x
Reference in New Issue
Block a user