feat: Add native Android driver tracking app and real-time backend/frontend bus tracking system
This commit is contained in:
907
telegram-bot/map_pages/map01.html
Normal file
907
telegram-bot/map_pages/map01.html
Normal file
@@ -0,0 +1,907 @@
|
||||
<!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" xml:lang="en">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
|
||||
|
||||
<title>RIT New Routes from 24 Aug 2011
|
||||
|
||||
|
||||
</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
/* Always set the map height explicitly to define the size of the div
|
||||
* element that contains the map. */
|
||||
#map {
|
||||
height: 100%;
|
||||
}
|
||||
/* Optional: Makes the sample page fill the window. */
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
<script src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=AIzaSyB8Ojz11pTXQZX4TnDxsmQ_tZax3APVG9Y" type="text/javascript"></script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
var icon0;
|
||||
var newpoints =new Array();
|
||||
|
||||
function addLoadEvent(func) {
|
||||
var oldonload = window.onload;
|
||||
if (typeof window.onload != 'function'){
|
||||
window.onload = func
|
||||
} else {
|
||||
window.onload = function() {
|
||||
oldonload();
|
||||
func();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
addLoadEvent(loadMap);
|
||||
addLoadEvent(addPoints);
|
||||
|
||||
function loadMap() {
|
||||
map =new GMap2(document.getElementById("map"));
|
||||
map.setUIToDefault();
|
||||
map.setCenter(new GLatLng(13.134463,80.292914), 14);
|
||||
map.setMapType(G_NORMAL_MAP);
|
||||
|
||||
//13.0828430,80.198565
|
||||
|
||||
px1 =new GIcon();
|
||||
px1.image = "1px.png";
|
||||
px1.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
px1.iconSize =new GSize(1, 1);
|
||||
px1.shadowSize =new GSize(1, 1);
|
||||
px1.iconAnchor =new GPoint(1, 1);
|
||||
px1.infoWindowAnchor =new GPoint(1, 1);
|
||||
px1.infoShadowAnchor =new GPoint(1, 1);
|
||||
|
||||
|
||||
rmark1 =new GIcon();
|
||||
rmark1.image= "ricon01.png";
|
||||
rmark1.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark1.iconSize =new GSize(20, 34);
|
||||
rmark1.shadowSize =new GSize(37, 34);
|
||||
rmark1.iconAnchor =new GPoint(9, 34);
|
||||
rmark1.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark1.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark2 =new GIcon();
|
||||
rmark2.image= "ricon02.png";
|
||||
rmark2.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark2.iconSize =new GSize(20, 34);
|
||||
rmark2.shadowSize =new GSize(37, 34);
|
||||
rmark2.iconAnchor =new GPoint(9, 34);
|
||||
rmark2.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark2.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark3 =new GIcon();
|
||||
rmark3.image= "ricon03.png";
|
||||
rmark3.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark3.iconSize =new GSize(20, 34);
|
||||
rmark3.shadowSize =new GSize(37, 34);
|
||||
rmark3.iconAnchor =new GPoint(9, 34);
|
||||
rmark3.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark3.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark4 =new GIcon();
|
||||
rmark4.image= "ricon04.png";
|
||||
rmark4.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark4.iconSize =new GSize(20, 34);
|
||||
rmark4.shadowSize =new GSize(37, 34);
|
||||
rmark4.iconAnchor =new GPoint(9, 34);
|
||||
rmark4.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark4.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark5 =new GIcon();
|
||||
rmark5.image= "ricon05.png";
|
||||
rmark5.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark5.iconSize =new GSize(20, 34);
|
||||
rmark5.shadowSize =new GSize(37, 34);
|
||||
rmark5.iconAnchor =new GPoint(9, 34);
|
||||
rmark5.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark5.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark6 =new GIcon();
|
||||
rmark6.image= "ricon06.png";
|
||||
rmark6.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark6.iconSize =new GSize(20, 34);
|
||||
rmark6.shadowSize =new GSize(37, 34);
|
||||
rmark6.iconAnchor =new GPoint(9, 34);
|
||||
rmark6.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark6.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark7 =new GIcon();
|
||||
rmark7.image= "ricon07.png";
|
||||
rmark7.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark7.iconSize =new GSize(20, 34);
|
||||
rmark7.shadowSize =new GSize(37, 34);
|
||||
rmark7.iconAnchor =new GPoint(9, 34);
|
||||
rmark7.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark7.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark8 =new GIcon();
|
||||
rmark8.image= "ricon08.png";
|
||||
rmark8.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark8.iconSize =new GSize(20, 34);
|
||||
rmark8.shadowSize =new GSize(37, 34);
|
||||
rmark8.iconAnchor =new GPoint(9, 34);
|
||||
rmark8.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark8.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
rmark9 =new GIcon();
|
||||
rmark9.image= "ricon09.png";
|
||||
rmark9.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark9.iconSize =new GSize(20, 34);
|
||||
rmark9.shadowSize =new GSize(37, 34);
|
||||
rmark9.iconAnchor =new GPoint(9, 34);
|
||||
rmark9.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark9.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark10 =new GIcon();
|
||||
rmark10.image= "ricon10.png";
|
||||
rmark10.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark10.iconSize =new GSize(24, 34);
|
||||
rmark10.shadowSize =new GSize(37, 34);
|
||||
rmark10.iconAnchor =new GPoint(12, 34);
|
||||
rmark10.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark10.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark11 =new GIcon();
|
||||
rmark11.image= "ricon11.png";
|
||||
rmark11.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark11.iconSize =new GSize(24, 34);
|
||||
rmark11.shadowSize =new GSize(37, 34);
|
||||
rmark11.iconAnchor =new GPoint(12, 34);
|
||||
rmark11.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark11.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark12 =new GIcon();
|
||||
rmark12.image= "ricon12.png";
|
||||
rmark12.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark12.iconSize =new GSize(24, 34);
|
||||
rmark12.shadowSize =new GSize(37, 34);
|
||||
rmark12.iconAnchor =new GPoint(12, 34);
|
||||
rmark12.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark12.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark13 =new GIcon();
|
||||
rmark13.image= "ricon13.png";
|
||||
rmark13.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark13.iconSize =new GSize(24, 34);
|
||||
rmark13.shadowSize =new GSize(37, 34);
|
||||
rmark13.iconAnchor =new GPoint(12, 34);
|
||||
rmark13.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark13.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark14 =new GIcon();
|
||||
rmark14.image= "ricon14.png";
|
||||
rmark14.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark14.iconSize =new GSize(24, 34);
|
||||
rmark14.shadowSize =new GSize(37, 34);
|
||||
rmark14.iconAnchor =new GPoint(12, 34);
|
||||
rmark14.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark14.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark15 =new GIcon();
|
||||
rmark15.image= "ricon15.png";
|
||||
rmark15.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark15.iconSize =new GSize(24, 34);
|
||||
rmark15.shadowSize =new GSize(37, 34);
|
||||
rmark15.iconAnchor =new GPoint(12, 34);
|
||||
rmark15.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark15.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark16 =new GIcon();
|
||||
rmark16.image= "ricon16.png";
|
||||
rmark16.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark16.iconSize =new GSize(24, 34);
|
||||
rmark16.shadowSize =new GSize(37, 34);
|
||||
rmark16.iconAnchor =new GPoint(12, 34);
|
||||
rmark16.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark16.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark17 =new GIcon();
|
||||
rmark17.image= "ricon17.png";
|
||||
rmark17.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark17.iconSize =new GSize(24, 34);
|
||||
rmark17.shadowSize =new GSize(37, 34);
|
||||
rmark17.iconAnchor =new GPoint(12, 34);
|
||||
rmark17.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark17.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark18 =new GIcon();
|
||||
rmark18.image= "ricon18.png";
|
||||
rmark18.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark18.iconSize =new GSize(24, 34);
|
||||
rmark18.shadowSize =new GSize(37, 34);
|
||||
rmark18.iconAnchor =new GPoint(12, 34);
|
||||
rmark18.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark18.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
rmark19 =new GIcon();
|
||||
rmark19.image= "ricon19.png";
|
||||
rmark19.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark19.iconSize =new GSize(24, 34);
|
||||
rmark19.shadowSize =new GSize(37, 34);
|
||||
rmark19.iconAnchor =new GPoint(19, 34);
|
||||
rmark19.infoWindowAnchor =new GPoint(19, 2);
|
||||
rmark19.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark20 =new GIcon();
|
||||
rmark20.image= "ricon20.png";
|
||||
rmark20.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark20.iconSize =new GSize(24, 34);
|
||||
rmark20.shadowSize =new GSize(37, 34);
|
||||
rmark20.iconAnchor =new GPoint(12, 34);
|
||||
rmark20.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark20.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark21 =new GIcon();
|
||||
rmark21.image= "ricon21.png";
|
||||
rmark21.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark21.iconSize =new GSize(24, 34);
|
||||
rmark21.shadowSize =new GSize(37, 34);
|
||||
rmark21.iconAnchor =new GPoint(12, 34);
|
||||
rmark21.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark21.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark22 =new GIcon();
|
||||
rmark22.image= "ricon22.png";
|
||||
rmark22.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark22.iconSize =new GSize(24, 34);
|
||||
rmark22.shadowSize =new GSize(37, 34);
|
||||
rmark22.iconAnchor =new GPoint(12, 34);
|
||||
rmark22.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark22.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark23 =new GIcon();
|
||||
rmark23.image= "ricon23.png";
|
||||
rmark23.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark23.iconSize =new GSize(24, 34);
|
||||
rmark23.shadowSize =new GSize(37, 34);
|
||||
rmark23.iconAnchor =new GPoint(12, 34);
|
||||
rmark23.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark23.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark24 =new GIcon();
|
||||
rmark24.image= "ricon24.png";
|
||||
rmark24.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark24.iconSize =new GSize(24, 34);
|
||||
rmark24.shadowSize =new GSize(37, 34);
|
||||
rmark24.iconAnchor =new GPoint(12, 34);
|
||||
rmark24.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark24.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark25 =new GIcon();
|
||||
rmark25.image= "ricon25.png";
|
||||
rmark25.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark25.iconSize =new GSize(24, 34);
|
||||
rmark25.shadowSize =new GSize(37, 34);
|
||||
rmark25.iconAnchor =new GPoint(12, 34);
|
||||
rmark25.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark25.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark26 =new GIcon();
|
||||
rmark26.image= "ricon26.png";
|
||||
rmark26.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark26.iconSize =new GSize(24, 34);
|
||||
rmark26.shadowSize =new GSize(37, 34);
|
||||
rmark26.iconAnchor =new GPoint(12, 34);
|
||||
rmark26.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark26.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark27 =new GIcon();
|
||||
rmark27.image= "ricon27.png";
|
||||
rmark27.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark27.iconSize =new GSize(24, 34);
|
||||
rmark27.shadowSize =new GSize(37, 34);
|
||||
rmark27.iconAnchor =new GPoint(12, 34);
|
||||
rmark27.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark27.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
rmark28 =new GIcon();
|
||||
rmark28.image= "ricon28.png";
|
||||
rmark28.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark28.iconSize =new GSize(24, 34);
|
||||
rmark28.shadowSize =new GSize(37, 34);
|
||||
rmark28.iconAnchor =new GPoint(12, 34);
|
||||
rmark28.infoWindowAnchor =new GPoint(9, 2);
|
||||
rmark28.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
rmark29 =new GIcon();
|
||||
rmark29.image= "ricon29.png";
|
||||
rmark29.shadow = "http://www.google.com/mapfiles/shadow50.png";
|
||||
rmark29.iconSize =new GSize(24, 34);
|
||||
rmark29.shadowSize =new GSize(37, 34);
|
||||
rmark29.iconAnchor =new GPoint(19, 34);
|
||||
rmark29.infoWindowAnchor =new GPoint(19, 2);
|
||||
rmark29.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
|
||||
route1 =new GIcon();
|
||||
route1.image = "01-enno.gif";
|
||||
route1.shadow = "shadow-flag.png";
|
||||
route1.iconSize =new GSize(100, 16);
|
||||
route1.shadowSize =new GSize(80, 10);
|
||||
route1.iconAnchor =new GPoint(0, 80);
|
||||
route1.infoWindowAnchor =new GPoint(9, 2);
|
||||
route1.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
route2 =new GIcon();
|
||||
route2.image = "2.png";
|
||||
route2.shadow = "shadow-flag.png";
|
||||
route2.iconSize =new GSize(80, 16);
|
||||
route2.shadowSize =new GSize(80, 10);
|
||||
route2.iconAnchor =new GPoint(0, 42);
|
||||
route2.infoWindowAnchor =new GPoint(9, 2);
|
||||
route2.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
route3 =new GIcon();
|
||||
route3.image = "3.png";
|
||||
route3.shadow = "shadow-flag.png";
|
||||
route3.iconSize =new GSize(80, 16);
|
||||
route3.shadowSize =new GSize(80, 10);
|
||||
route3.iconAnchor =new GPoint(0, 42);
|
||||
route3.infoWindowAnchor =new GPoint(9, 2);
|
||||
route3.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
route4 =new GIcon();
|
||||
route4.image = "4.png";
|
||||
route4.shadow = "shadow-flag.png";
|
||||
route4.iconSize =new GSize(80, 16);
|
||||
route4.shadowSize =new GSize(80, 10);
|
||||
route4.iconAnchor =new GPoint(0, 42);
|
||||
route4.infoWindowAnchor =new GPoint(9, 2);
|
||||
route4.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
route5 =new GIcon();
|
||||
route5.image = "5.png";
|
||||
route5.shadow = "shadow-flag.png";
|
||||
route5.iconSize =new GSize(80, 16);
|
||||
route5.shadowSize =new GSize(80, 10);
|
||||
route5.iconAnchor =new GPoint(0, 42);
|
||||
route5.infoWindowAnchor =new GPoint(9, 2);
|
||||
route5.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
route6 =new GIcon();
|
||||
route6.image = "6.png";
|
||||
route6.shadow = "shadow-flag.png";
|
||||
route6.iconSize =new GSize(80, 16);
|
||||
route6.shadowSize =new GSize(10, 80);
|
||||
route6.iconAnchor =new GPoint(81, 42);
|
||||
route6.infoWindowAnchor =new GPoint(9, 2);
|
||||
route6.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
route7 =new GIcon();
|
||||
route7.image = "7.png";
|
||||
route7.shadow = "shadow-flag.png";
|
||||
route7.iconSize =new GSize(80, 16);
|
||||
route7.shadowSize =new GSize(80, 10);
|
||||
route7.iconAnchor =new GPoint(0, 42);
|
||||
route7.infoWindowAnchor =new GPoint(9, 2);
|
||||
route7.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
route8 =new GIcon();
|
||||
route8.image = "8.png";
|
||||
route8.shadow = "shadow-flag.png";
|
||||
route8.iconSize =new GSize(80, 16);
|
||||
route8.shadowSize =new GSize(10, 80);
|
||||
route8.iconAnchor =new GPoint(81, 42);
|
||||
route8.infoWindowAnchor =new GPoint(9, 2);
|
||||
route8.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
route9 =new GIcon();
|
||||
route9.image = "9.png";
|
||||
route9.shadow = "shadow-flag.png";
|
||||
route9.iconSize =new GSize(80, 16);
|
||||
route9.shadowSize =new GSize(80, 10);
|
||||
route9.iconAnchor =new GPoint(0, 42);
|
||||
route9.infoWindowAnchor =new GPoint(9, 2);
|
||||
route9.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
|
||||
route10 =new GIcon();
|
||||
route10.image = "10.png";
|
||||
route10.shadow = "shadow-flag.png";
|
||||
route10.iconSize =new GSize(80, 16);
|
||||
route10.shadowSize =new GSize(80, 10);
|
||||
route10.iconAnchor =new GPoint(0, 42);
|
||||
route10.infoWindowAnchor =new GPoint(9, 2);
|
||||
route10.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
route11 =new GIcon();
|
||||
route11.image = "11.png";
|
||||
route11.shadow = "shadow-flag.png";
|
||||
route11.iconSize =new GSize(80, 16);
|
||||
route11.shadowSize =new GSize(80, 10);
|
||||
route11.iconAnchor =new GPoint(0, 42);
|
||||
route11.infoWindowAnchor =new GPoint(9, 2);
|
||||
route11.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
route12 =new GIcon();
|
||||
route12.image = "12.png";
|
||||
route12.shadow = "shadow-flag.png";
|
||||
route12.iconSize =new GSize(80, 16);
|
||||
route12.shadowSize =new GSize(80, 10);
|
||||
route12.iconAnchor =new GPoint(0, 42);
|
||||
route12.infoWindowAnchor =new GPoint(9, 2);
|
||||
route12.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
route13 =new GIcon();
|
||||
route13.image = "13.png";
|
||||
route13.shadow = "shadow-flag.png";
|
||||
route13.iconSize =new GSize(80, 16);
|
||||
route13.shadowSize =new GSize(80, 10);
|
||||
route13.iconAnchor =new GPoint(0, 42);
|
||||
route13.infoWindowAnchor =new GPoint(9, 2);
|
||||
route13.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
route14 =new GIcon();
|
||||
route14.image = "14.png";
|
||||
route14.shadow = "shadow-flag.png";
|
||||
route14.iconSize =new GSize(80, 16);
|
||||
route14.shadowSize =new GSize(80, 10);
|
||||
route14.iconAnchor =new GPoint(0, 42);
|
||||
route14.infoWindowAnchor =new GPoint(9, 2);
|
||||
route14.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
|
||||
route15 =new GIcon();
|
||||
route15.image = "15.png";
|
||||
route15.shadow = "shadow-flag.png";
|
||||
route15.iconSize =new GSize(80, 16);
|
||||
route15.shadowSize =new GSize(80, 10);
|
||||
route15.iconAnchor =new GPoint(0, 42);
|
||||
route15.infoWindowAnchor =new GPoint(9, 2);
|
||||
route15.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
route16 =new GIcon();
|
||||
route16.image = "16.png";
|
||||
route16.shadow = "shadow-flag.png";
|
||||
route16.iconSize =new GSize(80, 16);
|
||||
route16.shadowSize =new GSize(10, 80);
|
||||
route16.iconAnchor =new GPoint(81, 42);
|
||||
route16.infoWindowAnchor =new GPoint(9, 2);
|
||||
route16.infoShadowAnchor =new GPoint(18, 25);
|
||||
|
||||
|
||||
|
||||
iconpost =new GIcon();
|
||||
iconpost.image = "0post.png";
|
||||
iconpost.shadow = "shadow-flag.png";
|
||||
iconpost.iconSize =new GSize(3, 42);
|
||||
iconpost.shadowSize =new GSize(3, 42);
|
||||
iconpost.iconAnchor =new GPoint(2, 42);
|
||||
iconpost.infoWindowAnchor =new GPoint(9, 2);
|
||||
iconpost.infoShadowAnchor =new GPoint(2, 60);
|
||||
|
||||
ritwflag= new GIcon();
|
||||
ritwflag.image = "RITFlagFlag.gif";
|
||||
ritwflag.shadow = "";
|
||||
ritwflag.iconSize = new GSize(400,300);
|
||||
ritwflag.shadowSize = new GSize(0,0);
|
||||
ritwflag.iconAnchor = new GPoint(143,400)
|
||||
ritwflag.infoWindowAnchor = new GPoint(9, 2);
|
||||
ritwflag.infoShadowAnchor = new GPoint(18, 25);
|
||||
|
||||
pole= new GIcon();
|
||||
pole.image = "pole1.png";
|
||||
pole.shadow = "";
|
||||
pole.iconSize = new GSize(7, 300);
|
||||
pole.shadowSize = new GSize(4, 300);
|
||||
pole.iconAnchor = new GPoint(4, 300);
|
||||
pole.infoWindowAnchor = new GPoint(9, 2);
|
||||
pole.infoShadowAnchor = new GPoint(2, 60);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function addPoints() {
|
||||
newpoints[0]= new Array(13.184827, 80.312050, rmark1, '1.0', 'Route no:1 - Lift Gate ');
|
||||
newpoints[1]= new Array(13.179165, 80.307261, rmark1, '1.0', 'Route no:1 - Wimco Nagar ');
|
||||
newpoints[2]= new Array(13.172113, 80.305322, rmark1, '1.0', 'Route no:1 - Ajax ');
|
||||
newpoints[3]= new Array(13.169485, 80.304614, rmark1, '1.0', 'Route no:1 - Akkash Hospital ');
|
||||
newpoints[4]= new Array(13.168503, 80.304384, rmark1, '1.0', 'Route no:1 - Periyar Nagar ');
|
||||
newpoints[5]= new Array(13.164220, 80.303431, rmark1, '1.0', 'Route no:1 - Thiruvortiyur Market ');
|
||||
newpoints[6]= new Array(13.161326, 80.302739, rmark1, '1.0', 'Route no:1 - Theradi ');
|
||||
newpoints[7]= new Array(13.160067, 80.302417, rmark1, '1.0', 'Route no:1 - Raja Kadai ');
|
||||
newpoints[8]= new Array(13.157257, 80.301541, rmark1, '1.0', 'Route no:1 - Ellaimman Koil ');
|
||||
newpoints[9]= new Array(13.153836, 80.300457, px1, '1.0', 'Route no:1 - Thiruvottiyur Police Station ');
|
||||
newpoints[10]= new Array(13.151344, 80.299674, px1, '1.0', 'Route no:1 - kaladipet market ');
|
||||
newpoints[11]= new Array(13.150425, 80.299277, rmark1, '1.0', 'Route no:1 - Rajakadai Bus stop ');
|
||||
newpoints[12]= new Array(13.147914, 80.298241, px1, '1.0', 'Route no:1 - Thangal ');
|
||||
newpoints[13]= new Array(13.144184, 80.296728, px1, '1.0', 'Route no:1 - TollGate ');
|
||||
newpoints[14]= new Array(13.142404, 80.295985, px1, '1.0', 'Route no:1 - Thangam Maligai ');
|
||||
newpoints[15]= new Array(13.139279, 80.294770, px1, '1.0', 'Route no:1 - Cross Raod ');
|
||||
newpoints[16]= new Array(13.135248, 80.293299, px1, '1.0', 'Route no:1 - Lakshmi Amman Koil ');
|
||||
newpoints[17]= new Array(13.132127, 80.292081, px1, '1.0', 'Route no:1 - Tondiarpet Bus Stop ');
|
||||
newpoints[18]= new Array(13.128881, 80.290792, px1, '1.0', 'Route no:1 - Apollo Hospital Tondiarpet ');
|
||||
newpoints[19]= new Array(13.126201, 80.289499, px1, '1.0', 'Route no:1 - M.M. Theater ');
|
||||
newpoints[20]= new Array(13.125305, 80.289121, rmark1, '1.0', 'Route no:1 - Mani Cycle Shop ');
|
||||
newpoints[21]= new Array(13.124613, 80.288705, px1, '1.0', 'Route no:1 - Agasthya Theater ');
|
||||
newpoints[22]= new Array(13.122296, 80.286953, px1, '1.0', 'Route no:1 - Clock Tower ');
|
||||
newpoints[23]= new Array(13.118464, 80.285028, px1, '1.0', 'Route no:1 - Thiyagaraya Park Old Washermanpet ');
|
||||
newpoints[24]= new Array(13.117266, 80.284234, rmark1, '1.0', 'Route no:1 - Maharani ');
|
||||
newpoints[25]= new Array(13.116707, 80.283885, px1, '1.0', 'Route no:1 - Sir Theagaraya College ');
|
||||
newpoints[26]= new Array(13.112431, 80.281609, px1, '1.0', 'Route no:1 - Pandian Theatre ');
|
||||
newpoints[27]= new Array(13.110425, 80.281266, rmark1, '1.0', 'Route no:1 - Cemetery Road ');
|
||||
newpoints[28]= new Array(13.105871, 80.279952, rmark1, '1.0', 'Route no:1 - Mint ');
|
||||
newpoints[29]= new Array(13.105086, 80.284147, rmark1, '1.0', 'Route no:1 - Stanley Hospital ');
|
||||
newpoints[30]= new Array(13.104114, 80.287579, px1, '1.0', 'Route no:1 - Bharathi Womens College ');
|
||||
newpoints[31]= new Array(13.102950, 80.290206, px1, '1.0', 'Route no:1 - Thambu Chetty Street ');
|
||||
newpoints[32]= new Array(13.106094, 80.292389, rmark1, '1.0', 'Route no:1 - Royapuram Bridge ');
|
||||
newpoints[33]= new Array(13.105456, 80.294709, px1, '1.0', 'Route no:1 - Royapuram Railway station ');
|
||||
newpoints[34]= new Array(13.099043, 80.293835, px1, '1.0', 'Route no:1 - Clive Battery Bus Stop ');
|
||||
newpoints[35]= new Array(13.096629, 80.293020, px1, '1.0', 'Route no:1 - Mannadi ');
|
||||
newpoints[36]= new Array(13.094549, 80.292339, rmark1, '1.0', 'Route no:1 - Beach Station ');
|
||||
newpoints[37]= new Array(13.088831, 80.290349, px1, '1.0', 'Route no:1 - Parrys Corner ');
|
||||
newpoints[38]= new Array(13.085861, 80.289404, px1, '1.0', 'Route no:1 - Beach Park Station ');
|
||||
newpoints[39]= new Array(13.085451, 80.284543, px1, '1.0', 'Route no:1 - High Cout ');
|
||||
newpoints[40]= new Array(13.083121, 80.282192, px1, '1.0', 'Route no:1 - Fort Station ');
|
||||
newpoints[41]= new Array(13.081970, 80.277147, px1, '1.0', 'Route no:1 - MMC ');
|
||||
newpoints[42]= new Array(13.081747, 80.275750, px1, '1.0', 'Route no:1 - GH ');
|
||||
newpoints[43]= new Array(13.080950, 80.270760, rmark1, '1.0', 'Route no:1 - Periyamedu ');
|
||||
newpoints[44]= new Array(13.080754, 80.267478, px1, '1.0', 'Route no:1 - Everest Hotel ');
|
||||
newpoints[45]= new Array(13.080177, 80.262284, px1, '1.0', 'Route no:1 - Thinathandhi ');
|
||||
newpoints[46]= new Array(13.079477, 80.259688, px1, '1.0', 'Route no:1 - YWCA ');
|
||||
newpoints[47]= new Array(13.078818, 80.253607, rmark1, '1.0', 'Route no:1 - Dasprakash ');
|
||||
newpoints[48]= new Array(13.078810, 80.250860, px1, '1.0', 'Route no:1 - Nehru park ');
|
||||
newpoints[49]= new Array(13.077886, 80.243979, px1, '1.0', 'Route no:1 - KMC Hospital ');
|
||||
newpoints[50]= new Array(13.077117, 80.239812, rmark1, '1.0', 'Route no:1 - Eaga Theatre ');
|
||||
newpoints[51]= new Array(13.075592, 80.233225, px1, '1.0', 'Route no:1 - Pachaiyappas College ');
|
||||
newpoints[52]= new Array(13.074846, 80.230702, px1, '1.0', 'Route no:1 - Amjikarai ');
|
||||
newpoints[53]= new Array(13.073934, 80.226749, rmark1, '1.0', 'Route no:1 - Amjikarai Market ');
|
||||
newpoints[54]= new Array(13.038938,80.045016, ritwflag, '1.15', ' RIT Flag ');
|
||||
newpoints[55]= new Array(13.038938,80.045016, pole, '1.15', ' RIT Pole ');
|
||||
|
||||
|
||||
|
||||
|
||||
//Route 1 Ennore to aminjikarai
|
||||
|
||||
|
||||
|
||||
var poly =new GPolyline([
|
||||
|
||||
new GLatLng(13.184827,80.312050),
|
||||
new GLatLng(13.185465,80.309200),
|
||||
new GLatLng(13.179165,80.307261),
|
||||
new GLatLng(13.172113,80.305322),
|
||||
new GLatLng(13.169485,80.304614),
|
||||
new GLatLng(13.168503,80.304384),
|
||||
new GLatLng(13.164220,80.303431),
|
||||
new GLatLng(13.161326,80.302739),
|
||||
new GLatLng(13.160067,80.302417),
|
||||
new GLatLng(13.157257,80.301541),
|
||||
new GLatLng(13.153836,80.300457),
|
||||
new GLatLng(13.151344,80.299674),
|
||||
new GLatLng(13.150425,80.299277),
|
||||
new GLatLng(13.147914,80.298241),
|
||||
new GLatLng(13.144184,80.296728),
|
||||
new GLatLng(13.142404,80.295985),
|
||||
new GLatLng(13.139279,80.294770),
|
||||
new GLatLng(13.135248,80.293299),
|
||||
new GLatLng(13.132127,80.292081),
|
||||
new GLatLng(13.128881,80.290792),
|
||||
new GLatLng(13.126201,80.289499),
|
||||
new GLatLng(13.125305,80.289121),
|
||||
new GLatLng(13.124613,80.288705),
|
||||
new GLatLng(13.122296,80.286953),
|
||||
new GLatLng(13.118464,80.285028),
|
||||
new GLatLng(13.117266,80.284234),
|
||||
new GLatLng(13.116707,80.283885),
|
||||
new GLatLng(13.112431,80.281609),
|
||||
new GLatLng(13.110425,80.281266),
|
||||
new GLatLng(13.105871,80.279952),
|
||||
new GLatLng(13.105086,80.284147),
|
||||
new GLatLng(13.104114,80.287579),
|
||||
new GLatLng(13.102950,80.290206),
|
||||
new GLatLng(13.106094,80.292389),
|
||||
new GLatLng(13.105456,80.294709),
|
||||
new GLatLng(13.099043,80.293835),
|
||||
new GLatLng(13.096629,80.293020),
|
||||
new GLatLng(13.094549,80.292339),
|
||||
new GLatLng(13.088831,80.290349),
|
||||
new GLatLng(13.085861,80.289404),
|
||||
new GLatLng(13.085451,80.284543),
|
||||
new GLatLng(13.083121,80.282192),
|
||||
new GLatLng(13.081970,80.277147),
|
||||
new GLatLng(13.081747,80.275750),
|
||||
new GLatLng(13.080950,80.270760),
|
||||
new GLatLng(13.080754,80.267478),
|
||||
new GLatLng(13.080177,80.262284),
|
||||
new GLatLng(13.079477,80.259688),
|
||||
new GLatLng(13.078818,80.253607),
|
||||
new GLatLng(13.078810,80.250860),
|
||||
new GLatLng(13.077886,80.243979),
|
||||
new GLatLng(13.077117,80.239812),
|
||||
new GLatLng(13.075592,80.233225),
|
||||
new GLatLng(13.074846,80.230702),
|
||||
new GLatLng(13.073934,80.226749),], "#ff0000" , 3 ,1.0, 100);map.addOverlay(poly);
|
||||
|
||||
|
||||
|
||||
|
||||
// Amincjikarai to koyambedu
|
||||
var poly = new GPolyline([new GLatLng(13.074015, 80.227218),
|
||||
new GLatLng(13.073920, 80.226264),
|
||||
new GLatLng(13.074019, 80.224915),
|
||||
new GLatLng(13.074171, 80.223080),
|
||||
new GLatLng(13.074355, 80.221502),
|
||||
new GLatLng(13.074460, 80.220851),
|
||||
new GLatLng(13.074753, 80.219462),
|
||||
new GLatLng(13.074915, 80.218116),
|
||||
new GLatLng(13.075114, 80.216694),
|
||||
new GLatLng(13.075281, 80.215267),
|
||||
new GLatLng(13.075528, 80.214376),
|
||||
new GLatLng(13.076022, 80.213312),
|
||||
new GLatLng(13.076612, 80.212464),
|
||||
new GLatLng(13.076904, 80.211981),
|
||||
new GLatLng(13.077024, 80.211584),
|
||||
new GLatLng(13.077202, 80.210350),
|
||||
new GLatLng(13.077254, 80.209717),
|
||||
new GLatLng(13.077149, 80.208403),
|
||||
new GLatLng(13.077081, 80.206960),
|
||||
new GLatLng(13.076767, 80.204680),
|
||||
new GLatLng(13.076297, 80.202647),
|
||||
new GLatLng(13.076255, 80.202186),
|
||||
new GLatLng(13.076318, 80.201328),
|
||||
new GLatLng(13.076417, 80.200454),
|
||||
new GLatLng(13.076130, 80.198963),
|
||||
new GLatLng(13.075743, 80.197740),
|
||||
new GLatLng(13.075434, 80.196521),
|
||||
new GLatLng(13.075188, 80.195609),
|
||||
new GLatLng(13.074937, 80.195051),
|
||||
new GLatLng(13.074451, 80.194482),
|
||||
new GLatLng(13.074216, 80.194031),
|
||||
new GLatLng(13.074143, 80.193698),
|
||||
new GLatLng(13.074148, 80.192647), ], "#ff0000" , 3 ,1.0, 100);map.addOverlay(poly);
|
||||
|
||||
// koyambedu Roundtana to Mdhuravoil Roundatana
|
||||
// maduravoil New5C
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(13.0756583, 80.19772),
|
||||
new GLatLng(13.075286,80.196301),
|
||||
new GLatLng(13.075092,80.195625),
|
||||
new GLatLng(13.075022,80.195421),
|
||||
new GLatLng(13.074883,80.195172),
|
||||
new GLatLng(13.074309,80.194512),
|
||||
new GLatLng(13.074128,80.194080),
|
||||
new GLatLng(13.074081,80.193943),
|
||||
new GLatLng(13.074037,80.193686),
|
||||
new GLatLng(13.074084,80.191848),
|
||||
new GLatLng(13.074045,80.191180),
|
||||
new GLatLng(13.074003,80.191044),
|
||||
new GLatLng(13.073951,80.190936),
|
||||
new GLatLng(13.073235,80.190089),
|
||||
new GLatLng(13.072987,80.189767),
|
||||
new GLatLng(13.072856,80.189531),
|
||||
new GLatLng(13.072548,80.188871),
|
||||
new GLatLng(13.071691,80.187010),
|
||||
new GLatLng(13.071510,80.186508),
|
||||
new GLatLng(13.071401,80.186173),
|
||||
new GLatLng(13.071150,80.185194),
|
||||
new GLatLng(13.070828,80.183845),
|
||||
new GLatLng(13.070450,80.182868),
|
||||
new GLatLng(13.069955,80.181927),
|
||||
new GLatLng(13.069757,80.181685),
|
||||
new GLatLng(13.068088,80.179194),
|
||||
new GLatLng(13.067824,80.178802),
|
||||
new GLatLng(13.067625,80.178469),
|
||||
new GLatLng(13.067549,80.178292),
|
||||
new GLatLng(13.067471,80.178072),
|
||||
new GLatLng(13.067414,80.177826),
|
||||
new GLatLng(13.067390,80.177598),
|
||||
new GLatLng(13.067401,80.176729),
|
||||
new GLatLng(13.067367,80.176477),
|
||||
new GLatLng(13.067262,80.176072),
|
||||
new GLatLng(13.066962,80.175506),
|
||||
new GLatLng(13.066065,80.174167),
|
||||
new GLatLng(13.065323,80.173084),
|
||||
new GLatLng(13.064333,80.171624),
|
||||
new GLatLng(13.064226,80.171367),
|
||||
new GLatLng(13.064158,80.171174),
|
||||
new GLatLng(13.064061,80.170597),
|
||||
new GLatLng(13.064043,80.170334),
|
||||
new GLatLng(13.064095,80.169396),
|
||||
new GLatLng(13.064095,80.169055),
|
||||
new GLatLng(13.064064,80.168746),
|
||||
new GLatLng(13.063907,80.168290),
|
||||
new GLatLng(13.063761,80.168028),
|
||||
new GLatLng(13.063651,80.167843),
|
||||
new GLatLng(13.062975,80.167000),
|
||||
new GLatLng(13.062358,80.166271),
|
||||
new GLatLng(13.061647,80.165584),
|
||||
new GLatLng(13.061498,80.165378),
|
||||
new GLatLng(13.061396,80.165176),
|
||||
new GLatLng(13.061315,80.164964),
|
||||
new GLatLng(13.061247,80.164637),
|
||||
new GLatLng(13.061195,80.164278),
|
||||
new GLatLng(13.061190,80.163916),
|
||||
new GLatLng(13.061200,80.163535),
|
||||
new GLatLng(13.061203,80.162824),
|
||||
], "#ff0000" , 3 ,1.0, 80); map.addOverlay(poly);
|
||||
|
||||
// Mdhuravoil Roundatana to Poonamalle bypass bigining
|
||||
// maduravoil New5C
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(13.061203,80.162824),
|
||||
new GLatLng(13.061285,80.160509),
|
||||
new GLatLng(13.061567,80.158031),
|
||||
new GLatLng(13.061520,80.157666),
|
||||
new GLatLng(13.061358,80.157237),
|
||||
new GLatLng(13.060699,80.155987),
|
||||
new GLatLng(13.060574,80.155574),
|
||||
new GLatLng(13.060522,80.155225),
|
||||
new GLatLng(13.060513,80.154633),
|
||||
new GLatLng(13.060799,80.153037),
|
||||
new GLatLng(13.060976,80.152420),
|
||||
new GLatLng(13.061854,80.150639),
|
||||
new GLatLng(13.061964,80.150365),
|
||||
new GLatLng(13.062022,80.149968),
|
||||
new GLatLng(13.061933,80.147136),
|
||||
new GLatLng(13.061567,80.143853),
|
||||
new GLatLng(13.061295,80.140350),
|
||||
new GLatLng(13.061076,80.136740),
|
||||
new GLatLng(13.060888,80.135817),
|
||||
new GLatLng(13.060438,80.134529),
|
||||
new GLatLng(13.059571,80.132614),
|
||||
new GLatLng(13.058844,80.131005),
|
||||
new GLatLng(13.058442,80.130216),
|
||||
new GLatLng(13.057925,80.129036),
|
||||
new GLatLng(13.057517,80.128371),
|
||||
new GLatLng(13.057313,80.128076),
|
||||
new GLatLng(13.055108,80.125389),
|
||||
new GLatLng(13.054920,80.125040),
|
||||
new GLatLng(13.054815,80.124686),
|
||||
new GLatLng(13.054653,80.123897),
|
||||
], "#ff0000" , 3 ,1.0, 80); map.addOverlay(poly);
|
||||
|
||||
// Poonamalle bypass uo to ORR junction
|
||||
// maduravoil New5C
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(13.054653,80.123897),
|
||||
new GLatLng(13.054491,80.123200),
|
||||
new GLatLng(13.054638,80.121859),
|
||||
new GLatLng(13.055228,80.120040),
|
||||
new GLatLng(13.055923,80.117803),
|
||||
new GLatLng(13.056378,80.116269),
|
||||
new GLatLng(13.056691,80.114960),
|
||||
new GLatLng(13.056759,80.114365),
|
||||
new GLatLng(13.056660,80.110770),
|
||||
new GLatLng(13.056989,80.106533),
|
||||
new GLatLng(13.057223,80.101817),
|
||||
new GLatLng(13.057193,80.101275),
|
||||
new GLatLng(13.057057,80.100498),
|
||||
new GLatLng(13.056665,80.098894),
|
||||
new GLatLng(13.056446,80.097697),
|
||||
new GLatLng(13.056252,80.095509),
|
||||
new GLatLng(13.056200,80.095106),
|
||||
new GLatLng(13.056080,80.094683),
|
||||
new GLatLng(13.054956,80.092043),
|
||||
new GLatLng(13.054538,80.091426),
|
||||
new GLatLng(13.053958,80.090863),
|
||||
new GLatLng(13.052662,80.090144),
|
||||
new GLatLng(13.051251,80.089452),
|
||||
new GLatLng(13.050541,80.089077),
|
||||
new GLatLng(13.049819,80.088583),
|
||||
new GLatLng(13.049412,80.088261),
|
||||
new GLatLng(13.049187,80.087934),
|
||||
new GLatLng(13.049041,80.087425),
|
||||
new GLatLng(13.048973,80.087033),
|
||||
new GLatLng(13.048842,80.085740),
|
||||
new GLatLng(13.048685,80.084876),
|
||||
new GLatLng(13.048476,80.084249),
|
||||
new GLatLng(13.048367,80.083959),
|
||||
new GLatLng(13.048367,80.083959),
|
||||
new GLatLng(13.048252,80.083680),
|
||||
new GLatLng(13.047990,80.082983),
|
||||
new GLatLng(13.047478,80.081427),
|
||||
], "#ff0000" , 3 , 1.0 , 80); map.addOverlay(poly);
|
||||
|
||||
// ORR junction to college
|
||||
// maduravoil New5C
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(13.048367,80.083959),
|
||||
new GLatLng(13.048252,80.083680),
|
||||
new GLatLng(13.047990,80.082983),
|
||||
new GLatLng(13.047478,80.081427),
|
||||
new GLatLng(13.047076,80.079678),
|
||||
new GLatLng(13.047008,80.079040),
|
||||
new GLatLng(13.046877,80.075237),
|
||||
new GLatLng(13.046768,80.074636),
|
||||
new GLatLng(13.046167,80.073252),
|
||||
new GLatLng(13.046010,80.072629),
|
||||
new GLatLng(13.045895,80.071546),
|
||||
new GLatLng(13.043554,80.063719),
|
||||
new GLatLng(13.042158,80.060838),
|
||||
new GLatLng(13.041944,80.060447),
|
||||
new GLatLng(13.040120,80.056069),
|
||||
new GLatLng(13.039796,80.055479),
|
||||
new GLatLng(13.038625,80.052652),
|
||||
new GLatLng(13.037606,80.049793),
|
||||
new GLatLng(13.035944,80.043705),
|
||||
|
||||
|
||||
], "#ff0000" , 3 ,1.0, 100); map.addOverlay(poly);
|
||||
|
||||
// Poonamalle High Road to RIT
|
||||
//
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(13.035942,80.043670),
|
||||
new GLatLng(13.036249,80.043609),
|
||||
new GLatLng(13.036645,80.043639),
|
||||
new GLatLng(13.036896,80.043730),
|
||||
new GLatLng(13.037868,80.044148),
|
||||
new GLatLng(13.037560,80.044867),
|
||||
new GLatLng(13.037524,80.045127),
|
||||
new GLatLng(13.037578,80.045164),
|
||||
new GLatLng(13.037907,80.045167),
|
||||
new GLatLng(13.038589,80.045140),
|
||||
new GLatLng(13.038680,80.045138),
|
||||
], "#ff0000" , 3 ,1.0, 100); map.addOverlay(poly);
|
||||
|
||||
|
||||
|
||||
for(var i = 0; i < newpoints.length; i++) {
|
||||
var point =new GPoint(newpoints[i][1],newpoints[i][0]);
|
||||
var popuphtml =newpoints[i][4] ;
|
||||
var marker = createMarker(point,newpoints[i][2],popuphtml);
|
||||
map.addOverlay(marker);
|
||||
}
|
||||
}
|
||||
|
||||
function createMarker(point, icon, popuphtml) {
|
||||
var popuphtml = "<div id=\"popup\">" + popuphtml + "<\/div>";
|
||||
var marker =new GMarker(point, icon);
|
||||
GEvent.addListener(marker, "click", function() {
|
||||
marker.openInfoWindowHtml(popuphtml);
|
||||
});
|
||||
return marker;
|
||||
}
|
||||
|
||||
//mouseover
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
div#popup {
|
||||
background:#EFEFEF;
|
||||
border:1px solid #999999;
|
||||
margin:0px;
|
||||
padding:7px;
|
||||
width:270px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="map"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user