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/1977446/' + '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: 37.2775, west: -6.00392, north: 37.97369, east: -5.65965}); 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/19/1977446.elevation2.profile.js" }; new MTK.ElevationProfile(elevationParams); //0 // ? new ElevationProfile2Empty(elevationParams) // : new MapToolkit.ElevationProfile2(elevationParams); }); //]]>Source: http://www.bikemap.net/route/1977446
rihanna and chris brown back together pebble beach clive davis
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.