hm
0
1
2
3
4
100
200
200
400
'; // gmap.getContainer().appendChild(container); // return container; // }; // that.getDefaultPosition = function() { // return new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(3, 17)); // }; // that.selectable = function() { return true }; // // add to map // setTimeout(function() { params.map.gmap.addControl(that) }, 1000); // } // ElevationProfile2Empty.prototype = new GControl(); function updateEmbedLink() { var w = parseInt($('embed_width').value); var h = parseInt($('embed_height').value); var t = map().getMapTypeId(); //... allocate space in the iframe for the "powered by text" var hf = h + 115; var frame_start = ''; var frame_src = 'http://www.bikemap.net/route/1703747/' + 'widget?width=' + w + '&height=' + h + '&maptype=' + t + '&extended=true&unit=km&redirect=no' ; $('embed_link').value = frame_start + frame_src + frame_end ; } function reverseRoute(reverse) { if (reverse) { kmPoints = kmPointsBackward; Route.drawStartEndMarkers(vertices.last(), vertices.first()); } else { kmPoints = kmPointsForward; Route.drawStartEndMarkers(vertices.first(), vertices.last()); } Route.resetKmMarkers(); } function zoomOut() { map().map.setCenter(map().map.getCenter(), map().map.getZoom() - 3); showZoomIn(); } function showZoomIn() { $('zoomout').hide(); $('zoomin').show(); } function zoomIn() { var bounds = new $B({south: 48.85623, west: -0.12417, north: 51.53189, east: 3.02722}); map().map.zoomToExtent(bounds); $('zoomout').show(); $('zoomin').hide(); } //]]> \n \n\n", width: 400, height: 300 }); setTimeout('create_info_modal.open()', 10); } // show zoomin button if (location.hash) showZoomIn(); MTK.event.addListener(map, "idle", showZoomIn); // create elevation profile var elevationParams = { map: map, opacity: 0.65, unit: unit.name, icon: new MTK.Icon(Icons.route()), style: { marginBottom: 15 }, reverse: true, onmouseover: function() { Route.kmMarkersOn(map) }, onmouseout: function() { Route.kmMarkersOff(map) }, onreverse: function(is_reverse) { if (is_reverse) { kmPoints = kmPointsBackward; Route.drawStartEndMarkers(vertices.last(), vertices.first()); } else { kmPoints = kmPointsForward; Route.drawStartEndMarkers(vertices.first(), vertices.last()); } Route.resetKmMarkers(); }, i8n: { clickAndDrag: "Click and drag to select section", title: "Elevation Profile", reverse: "Show reverse profile" }, js: "http://mtk2.toursprung.com/static/custom/bikemap/17/1703747.elevation2.profile.js" }; new MTK.ElevationProfile(elevationParams); //0 // ? new ElevationProfile2Empty(elevationParams) // : new MapToolkit.ElevationProfile2(elevationParams); }); //]]>Source: http://www.bikemap.net/route/1703747
google stock google stock gawker hayden panettiere china gdp looper dont trust the b in apartment 23
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.