this is an example to get directions by latitude, longitude
------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="http://maps.google.com/maps?file=api&v=2&sensor=true_or_false&key=YOUR_KEY" type="text/javascript"></script>
<script type="text/javascript">
function initialize() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map"));
//gdir = new GDirections(map);
gdir = new GDirections(map, document.getElementById("directions"));
var q1 = new GLatLng(24.918822,121.140747);
var q2 = new GLatLng(25.112958,121.599426);
var a = "from: "+q1.toUrlValue(6) + " to: " + q2.toUrlValue(6);
gdir.load(a, {getPolyline:true});
}var q1 = new GLatLng(24.918822,121.140747);
var q2 = new GLatLng(25.112958,121.599426);
var a = "from: "+q1.toUrlValue(6) + " to: " + q2.toUrlValue(6);
gdir.load(a, {getPolyline:true});
}
</script>
</head>
<body onload="initialize()">
<div id="map" style="width:600px;height:600px"></div>
<div id="directions"></div>
</body>
</html>
------------------------------------------------------------------------------------------------
reference
http://econym.org.uk/gmap/example_multi2.htm
1 則留言:
It's their class that their popularity in many countries has spread. There is often a saying that with the fame come bother. This renowned brand is currently faced with the reality of the saying, as Christian Louboutin fakes, rapidly spread throughout the globe. People are getting puzzled, because it is quite difficult to identify the real Christian Louboutin along with the replicas. It is and so the quality that people get it. In addition, the price and that image personality also the most important fact of buying it.
The creators of this particular replica footwear are real geniuses they usually create the replicas so perfect that all his/her friends can crazy all around health believe that someone has bought genuine. It's really hard to believe you will find there's replica. Identify a duplicate, is difficult, but rather than impossible. A customer discover [url=http://www.christianlouboutin.bz]Christian Louboutin[/url] fakes if one travels to the store and its imperfect replica with the perfect original compares. On the other hand, a customer must get worried about the original Louboutin signature to the sole of the shoe or take a look at the print size for further inspections.
The main customers of your product are mainly the middle and upper middle school people of society, if they are not really the high asking price of the original designer shoes can afford. Having regard to the capacity of their income, it really is better to buy an imitation with the originals, when these replicas definitely not uncomfortable and they almost as long as the real time. But one who is purchasing for its perfect spiritual satisfaction by buying the original designer shoes created should consider the size conversion ahead of buying; It is available on their website.
In add-on, there are other solutions to identify if the shoes usually are not the original. Although the replicas might take several years and as comfortable since the originals, they are not made of genuine leather as an original designer shoes. In inclusion, ensures these well-known designer brand safety due to all the shoes Christian Louboutin dust bags featuring a own original logo plus [url=http://www.christianlouboutin.bz]Christian Louboutin Sale[/url] box. A person must ensure that he receives it from your seller.
In addition, fake shoes can be spotted by the key factor that the unique Christian Louboutin shoes the half stretch can but don't stretch the replicas. So in case your customer a size lower than its original buys plus the uncomfortable, it must be easily identify that it isn't the real designer boots and shoes. In addition, original shoes are not painted with chemical and doesn't have a nasty odor. An engaged customer may want to follow these instructions to receive the real class in the great brand [url=http://www.christianlouboutin.bz]Christian Louboutin shop[/url] by buying the originals.
發佈留言