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:
expo 2016-06-09 04:19:40 +01:00
parent 9d3d3201bc
commit b1595e5cd5
2 changed files with 6 additions and 6 deletions

View File

@ -7,8 +7,8 @@
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="en" />
<script src="http://www.openlayers.org/api/OpenLayers.js"></script>
<script src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script>
<script src="/javascript/openlayers/OpenLayers.js"></script>
<script src="/javascript/openlayers/OpenStreetMap.js"></script>
<script src="util.js"></script>
<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
//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 } );
//map.addLayer(layer_vectors);
//map.addLayer(layer_markers)
map.addLayer(layer_markers)
//layers = new Array();
//layer_layerMapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik");
//map.addLayer(layer_layerMapnik);
@ -79,7 +79,7 @@ layers.push(new Array(layerMapnik,'layerMapnik'));
layers.push(new Array(layerCycleMap,'layerCycleMap'));
//this isn't right yet - GPX points are not appearing
/*map.addLayer(
map.addLayer(
new OpenLayers.Layer.Markers("Entrances","ents.gpx",
{format: OpenLayers.Format.GPX({extractWaypoints: true}),
styleMap: new OpenLayers.StyleMap(
@ -88,7 +88,7 @@ layers.push(new Array(layerCycleMap,'layerCycleMap'));
projection: new OpenLayers.Projection("EPSG:4326")
}
)
);*/
);
var gpxStyles = new OpenLayers.StyleMap({
"default": new OpenLayers.Style({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 701 KiB

After

Width:  |  Height:  |  Size: 663 KiB