// JavaScript Document // Rochford // Deadwood Bicycles
180 Sherman Street
Deadwood, SD 57732
605.578.1345
DeadwoodBicycles.com
Deadwood Bicycles Rides Page
Ride Start
A large opening, for snow mobile parking provides a good starting point for this ride, a 1/4 mile from the US85 turnoff.
"; var Point01_Lat = 44.304411; ////44.304411,-103.801146 var Point01_Long = -103.801146; var Point01 = new GMarker(new GLatLng(Point01_Lat,Point01_Long),ICOgreen); GEvent.addListener(Point01, "click", function() { Point01.openInfoWindowHtml(Point01_Text); }); //Point02 var Point02_Text = "Rochford
A great little Living Ghost town in the heart of the Black Hills. Food and Beverge available at the Moonshine Gulch.
"; var Point02_Lat = 44.122808; var Point02_Long = -103.700724; var Point02 = new GMarker(new GLatLng(Point02_Lat,Point02_Long),ICOred); GEvent.addListener(Point02, "click", function() { Point02.openInfoWindowHtml(Point02_Text); }); //Point03 var Point03_Text = "Dumont Trailhead
Water is available here at the Dumont Trailhead of the Mickelson Trail
"; var Point03_Lat = 44.227; var Point03_Long = -103.7857; var Point03 = new GMarker(new GLatLng(Point03_Lat,Point03_Long),ICOblue); GEvent.addListener(Point03, "click", function() { Point03.openInfoWindowHtml(Point03_Text); }); function onLoad() { map = new GMap2(document.getElementById("map")); map.enableDoubleClickZoom(); map.enableScrollWheelZoom(); map.addControl(new GLargeMapControl()); map.addControl(new GMapTypeControl()); map.addControl(new GScaleControl()); map.setCenter(new GLatLng(center_lat, center_lon), zoom, G_HYBRID_MAP); map.addControl(new GOverviewMapControl(new GSize(iWidthOV,iHeightOV))); map.addOverlay(Point01); map.addOverlay(Point02); map.addOverlay(Point03); map.addOverlay(PointDBS); // Load Topo Map Overlay var topoCopyright = new GCopyright(1, new GLatLngBounds(new GLatLng(18,-169),new GLatLng(72,-66) ), 5, "Copyright USGS"); var topoCopyrightCollection = new GCopyrightCollection('Topo Maps'); topoCopyrightCollection.addCopyright(topoCopyright); var topoTileSize = 256; var topoURL = 'http://terraservice.net/ogcmap6.ashx?version=1.1.1&request=GetMap&styles=&srs=EPSG:4326&format=image/jpeg&bgcolor=0xCCCCCC&exceptions=INIMAGE&layers=DRG'; topoGetTileURL=function(tile, zoom){ var southWestPixel = new GPoint(tile.x*topoTileSize,(tile.y+1)*topoTileSize); var northEastPixel = new GPoint((tile.x+1)*topoTileSize,tile.y*topoTileSize); var southWestCoords = G_SATELLITE_MAP.getProjection().fromPixelToLatLng(southWestPixel,zoom); var northEastCoords = G_SATELLITE_MAP.getProjection().fromPixelToLatLng(northEastPixel,zoom); var bbox = southWestCoords.lng()+','+southWestCoords.lat()+','+northEastCoords.lng()+','+northEastCoords.lat(); return topoURL+'&bbox='+bbox+'&width='+topoTileSize+'&height='+topoTileSize; } var topoTileLayers = [new GTileLayer(topoCopyrightCollection,5,17)]; topoTileLayers[0].getTileUrl = topoGetTileURL; var topoMap = new GMapType(topoTileLayers, G_SATELLITE_MAP.getProjection(), "Topo", {errorMessage:"Data Not Available", tileSize:topoTileSize}); map.addMapType(topoMap); var plRochRd = new GPolyline.fromEncoded({ color: "#ff0000", weight: 2, opacity: 0.7, points: "i}kmGbspxRpy@{@vSpG|WbHzL?vN~EbN{ChZfQ~VOxVaKvDmEp]}H`Kk@zP}[xGiCrlAhN`LvF`HvIrHk@`K{@rHcPhKuLzFeTtAmLxRg`@~Cqh@jNuWj]uAvWqN~q@aVnAoFtn@aZjDsGlCkH~Ci@nw@YlHeE``@sDfHyF?_J}EgNzAgFtFwB`Ik@`V{ODa]xCqKrR_FjI_JtLqVxLiC|UqRtPkDfMeIlWoB|S}DzLj@bFwBtQwBtLgFxHuHdIyC~Ma@tLsK`HXnKcArGQbK?fD_RfGoTdDcHJcLuEkDb@qC`CmEPqRiF_JQoF", levels: "P?FGHFGIFGHGEJEHFIEFGFHEGIKGHIDHEFDJEGEHEFEFGIEGEHFLFGHFGEIFEGFHEFGJFGEFEDHFEP", zoomFactor: 2, numLevels: 18 }); map.addOverlay(plRochRd); // Add Ridge Rders Logo function ctrlLogo() {} ctrlLogo.prototype = new GControl(); ctrlLogo.prototype.initialize = function() { var contents = document.createElement("div"); contents.style.width="150px"; // Fixed Width of the Logo, do not change contents.style.height="100px"; // Fixed Height of the Logo, do not change contents.innerHTML=""; document.getElementById('map').appendChild(contents); return contents; } ctrlLogo.prototype.printable=function(){return true}; ctrlLogo.prototype.selectable=function(){return true}; ctrlLogo.prototype.getDefaultPosition=function(){ return new GControlPosition(G_ANCHOR_BOTTOM_RIGHT,new GSize(iRightLogo,15)) } map.addControl(new ctrlLogo()); } //]]>