|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<HEAD>
<script src="http://maps.google.com/maps?file=api&v=2&key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" type="text/javascript"></script>
<script type="text/javascript">
var theaddress='';
initialize = function() {
if (GBrowserIsCompatible()) {
// Points to be plotted
var points = new Array();
var theaddress;
// Initialize Map
map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(37.4319,-122.1419), 4);
geocoder = new GClientGeocoder();
// Which Map Control to Use
map.addControl(new GLargeMapControl());
// Add a scale control ?
map.addControl(new GScaleControl());
// Which Map Types
map.addControl(new GMapTypeControl());
// Add Overview Map Control
map.addControl(new GOverviewMapControl());
function getAddress(overlay, latlng) {
if (latlng != null) {
address = latlng;
var theaddress='';
geocoder.getLocations(latlng, showAddress);
}
}
function showAddress(response) {
// map.clearOverlays();
if (!response || response.Status.code != 200) {
alert("Status Code:" + response.Status.code);
theaddress = 'Unable to locate address.';
}
else {
place = response.Placemark[0];
point = new GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);
// marker.openInfoWindowHtml( '<b>orig latlng:</b>' + response.name + '<br/>' + '<b>latlng:</b>' + place.Point.coordinates[1] + "," + place.Point.coordinates[0] + '<br>' + '<b>Status Code:</b>' + response.Status.code + '<br>' + '<b>Status Request:</b>' + response.Status.request + '<br>' + '<b>Address:</b>' + place.address + '<br>' + '<b>Accuracy:</b>' + place.AddressDetails.Accuracy + '<br>' + '<b>Country code:</b> ' + place.AddressDetails.Country.CountryNameCode);
theaddress = '<b>Address:</b> ' + place.address + '<br><b>coord:</b> ' + place.Point.coordinates[1] + "," + place.Point.coordinates[0] + ' ' + '(stat ' + response.Status.code + ') (accur:' + place.AddressDetails.Accuracy + ')<br>';
}
}
// If we have coordinates, use those
point = new GLatLng(37.4349, -122.1219);
marker1 = new GMarker(point);
points.push(point);
// Calculate current address and add into floater
GEvent.addListener(marker1, "click",
function() {
// theaddress = 'hi';
point = new GLatLng(37.4349, -122.1219);
// alert('theaddress1: ' + theaddress);
getAddress(map, point);
// alert(null);
marker1.openInfoWindowHtml('03/27/2009 11:58<BR>This is point 1.<BR>'+ theaddress );
});
map.addOverlay(marker1);
// If we have coordinates, use those
point = new GLatLng(37.3239, -121.9299);
marker10 = new GMarker(point);
points.push(point);
// Calculate current address and add into floater
GEvent.addListener(marker10, "click",
function() {
point = new GLatLng(37.3239, -121.9299);
getAddress(map, point);
marker10.openInfoWindowHtml('03/27/2009 11:58<BR>This is point 10.<BR>'+ theaddress );
});
map.addOverlay(marker10);
var polyline = new GPolyline( [
new GLatLng(37.4349, -122.1219), new GLatLng(37.4269, -122.0819), new GLatLng(37.4179, -122.0489),
new GLatLng(37.3979, -122.0399), new GLatLng(37.3889, -122.0249), new GLatLng(37.3809, -122.0009),
new GLatLng(37.3679, -121.9899), new GLatLng(37.3509, -121.9809), new GLatLng(37.3349, -121.9569),
new GLatLng(37.3239, -121.9299)
], "#ff0000", 10);
map.addOverlay(polyline);
// Scale the zoom level to the points on the map and center between the points.
var bounds = new GLatLngBounds();
for (var i=0; i< points.length; i++) {
bounds.extend(points[i]);
}
map.setZoom(map.getBoundsZoomLevel(bounds));
map.setCenter(bounds.getCenter());
}
}
</script>
</HEAD>
<body onload="initialize();" onunload="GUnload()">
<style>
body,td {font-family: arial; font-size: 10pt;}
</style>
<div id="map_canvas" style="width: 700px; height: 500px"></div>
</body>
</HTML>
|
Advertisement
| Hall of Fame |