feat: Add native Android driver tracking app and real-time backend/frontend bus tracking system
This commit is contained in:
943
telegram-bot/map_pages/map15.html
Normal file
943
telegram-bot/map_pages/map15.html
Normal file
@@ -0,0 +1,943 @@
|
||||
<!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>
|
||||
<!-- //Change the following line to use your own key available from http://www.google.com/apis/maps/signup.html -->
|
||||
<script src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=AIzaSyB8Ojz11pTXQZX4TnDxsmQ_tZax3APVG9Y" type="text/javascript"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
// Google Map Maker script v.1.1
|
||||
// (c) 2006 Richard Stephenson http://www.donkeymagic.co.uk
|
||||
// Email: donkeymagic@gmail.com
|
||||
// http://mapmaker.donkeymagic.co.uk
|
||||
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(12.848713, 79.705930), 13);
|
||||
map.setMapType(G_NORMAL_MAP);
|
||||
|
||||
//13.0828430,80.198565
|
||||
//13.074463,80.182914
|
||||
|
||||
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 = "1.png";
|
||||
route1.shadow = "shadow-flag.png";
|
||||
route1.iconSize =new GSize(80, 16);
|
||||
route1.shadowSize =new GSize(80, 10);
|
||||
route1.iconAnchor =new GPoint(0, 42);
|
||||
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(12.819204,79.729338, rmark15, '1.0', 'Route no:15 - Toll Gate ');
|
||||
newpoints[1] = new Array(12.820486,79.723831, rmark15, '1.0', 'Route no:15 - Varadharaja Perumal Kovil Street ');
|
||||
newpoints[2] = new Array(12.824196,79.710264, rmark15, '1.0', 'Route no:15 - Rangasamy Kulam ');
|
||||
newpoints[3] = new Array(12.822976,79.699642, rmark15, '1.0', 'Route no:15 - Collectorate Office ');
|
||||
newpoints[4] = new Array(12.819216,79.694355, rmark15, '1.0', 'Route no:15 - Housing Board ');
|
||||
newpoints[5] = new Array(12.810240,79.705209, rmark15, '1.0', 'Route no:15 - Orikkai ');
|
||||
newpoints[6] = new Array(12.810421,79.706409, rmark15, '1.0', 'Route no:15 - Arasu Nagar ');
|
||||
newpoints[7] = new Array(12.823610,79.703783, rmark15, '1.0', 'Route no:15 - Kil Gate ');
|
||||
newpoints[8] = new Array(12.827190,79.703785, rmark15, '1.0', 'Route no:15 - Keerai Mandapam ');
|
||||
newpoints[9] = new Array(12.962859,79.945093, rmark15, '1.0', 'Route no:15 - Sriperumbattur (Bye Pass) ');
|
||||
newpoints[10]= new Array(12.968612,79.950846, rmark15, '1.0', 'Route no:15 - Sriperumbattur ');
|
||||
newpoints[11]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:15 - RIT Flag ');
|
||||
newpoints[12]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:15 - RIT Pole ');
|
||||
|
||||
|
||||
|
||||
|
||||
// Route No:15 kanchipuram to Vellaigate
|
||||
var poly = new GPolyline([new GLatLng(12.819204, 79.729338),
|
||||
new GLatLng(12.819204, 79.729338),
|
||||
new GLatLng(12.820361, 79.726860),
|
||||
new GLatLng(12.820486, 79.723831),
|
||||
new GLatLng(12.820497, 79.721299),
|
||||
new GLatLng(12.819821, 79.721206),
|
||||
new GLatLng(12.819322, 79.721061),
|
||||
new GLatLng(12.820918, 79.717379),
|
||||
new GLatLng(12.821410, 79.716134),
|
||||
new GLatLng(12.822165, 79.713888),
|
||||
new GLatLng(12.822322, 79.713594),
|
||||
new GLatLng(12.822553, 79.713245),
|
||||
new GLatLng(12.823681, 79.711047),
|
||||
new GLatLng(12.823814, 79.710875),
|
||||
new GLatLng(12.824217, 79.710446),
|
||||
new GLatLng(12.824196, 79.710264),
|
||||
new GLatLng(12.823653, 79.710057),
|
||||
new GLatLng(12.823589, 79.709981),
|
||||
new GLatLng(12.823552, 79.709874),
|
||||
new GLatLng(12.823568, 79.709292),
|
||||
new GLatLng(12.823558, 79.709013),
|
||||
new GLatLng(12.823568, 79.708200),
|
||||
new GLatLng(12.823979, 79.706552),
|
||||
new GLatLng(12.824189, 79.705102),
|
||||
new GLatLng(12.824219, 79.703737),
|
||||
new GLatLng(12.824114, 79.703780),
|
||||
new GLatLng(12.824240, 79.702611),
|
||||
new GLatLng(12.824409, 79.701831),
|
||||
new GLatLng(12.824368, 79.701708),
|
||||
new GLatLng(12.824339, 79.701625),
|
||||
new GLatLng(12.824454, 79.701316),
|
||||
new GLatLng(12.823259, 79.699990),
|
||||
new GLatLng(12.822976, 79.699642),
|
||||
new GLatLng(12.822072, 79.698563),
|
||||
new GLatLng(12.820356, 79.696651),
|
||||
new GLatLng(12.819739, 79.695653),
|
||||
new GLatLng(12.819216, 79.694355),
|
||||
new GLatLng(12.819216, 79.694355),
|
||||
new GLatLng(12.819216, 79.694355),
|
||||
new GLatLng(12.818326, 79.693155),
|
||||
new GLatLng(12.816769, 79.691722),
|
||||
new GLatLng(12.814088, 79.689964),
|
||||
new GLatLng(12.811289, 79.688130),
|
||||
new GLatLng(12.811021, 79.689170),
|
||||
new GLatLng(12.811311, 79.690653),
|
||||
new GLatLng(12.810776, 79.692930),
|
||||
new GLatLng(12.810818, 79.694164),
|
||||
new GLatLng(12.810734, 79.694958),
|
||||
new GLatLng(12.810639, 79.695677),
|
||||
new GLatLng(12.810261, 79.697326),
|
||||
new GLatLng(12.810198, 79.698141),
|
||||
new GLatLng(12.810083, 79.700523),
|
||||
new GLatLng(12.810114, 79.701715),
|
||||
new GLatLng(12.810003, 79.703629),
|
||||
new GLatLng(12.810065, 79.704559),
|
||||
new GLatLng(12.810119, 79.704791),
|
||||
new GLatLng(12.810240, 79.705209),
|
||||
new GLatLng(12.810421, 79.706409),
|
||||
new GLatLng(12.810314, 79.705449),
|
||||
new GLatLng(12.810374, 79.705851),
|
||||
new GLatLng(12.810414, 79.706398),
|
||||
new GLatLng(12.812431, 79.705963),
|
||||
new GLatLng(12.814115, 79.705598),
|
||||
new GLatLng(12.815570, 79.705248),
|
||||
new GLatLng(12.820135, 79.704614),
|
||||
new GLatLng(12.820484, 79.704245),
|
||||
new GLatLng(12.820644, 79.704142),
|
||||
new GLatLng(12.820801, 79.704110),
|
||||
new GLatLng(12.821684, 79.704175),
|
||||
new GLatLng(12.822012, 79.704033),
|
||||
new GLatLng(12.822012, 79.704033),
|
||||
new GLatLng(12.823610, 79.703783),
|
||||
new GLatLng(12.824132, 79.703761),
|
||||
new GLatLng(12.825024, 79.703761),
|
||||
new GLatLng(12.825629, 79.703774),
|
||||
new GLatLng(12.826307, 79.703843),
|
||||
new GLatLng(12.826716, 79.703827),
|
||||
new GLatLng(12.827190, 79.703785),
|
||||
new GLatLng(12.829782, 79.703651),
|
||||
new GLatLng(12.830394, 79.703556),
|
||||
new GLatLng(12.831681, 79.703463),
|
||||
new GLatLng(12.832333, 79.703419),
|
||||
new GLatLng(12.834946, 79.703787),
|
||||
new GLatLng(12.837295, 79.704142),
|
||||
new GLatLng(12.838771, 79.701630),
|
||||
new GLatLng(12.839035, 79.701459),
|
||||
new GLatLng(12.841121, 79.701239),
|
||||
new GLatLng(12.843446, 79.701144),
|
||||
new GLatLng(12.843852, 79.700280),
|
||||
new GLatLng(12.844888, 79.696782),
|
||||
new GLatLng(12.845924, 79.695759),
|
||||
new GLatLng(12.846740, 79.695438),
|
||||
new GLatLng(12.847237, 79.694215),
|
||||
new GLatLng(12.847812, 79.693759),
|
||||
new GLatLng(12.848591, 79.693732),
|
||||
new GLatLng(12.849187, 79.693491),
|
||||
new GLatLng(12.849637, 79.693142),
|
||||
new GLatLng(12.850123, 79.693319),
|
||||
new GLatLng(12.852142, 79.693437),
|
||||
new GLatLng(12.854579, 79.693072),
|
||||
new GLatLng(12.855076, 79.693088),
|
||||
new GLatLng(12.856237, 79.693340),
|
||||
new GLatLng(12.858638, 79.693705),
|
||||
new GLatLng(12.861075, 79.693941),
|
||||
new GLatLng(12.862232, 79.694147),
|
||||
new GLatLng(12.863286, 79.694408),
|
||||
new GLatLng(12.863840, 79.694462),
|
||||
new GLatLng(12.865440, 79.694398),
|
||||
new GLatLng(12.866496, 79.694076),
|
||||
new GLatLng(12.866998, 79.694073),
|
||||
new GLatLng(12.871331, 79.692038),
|
||||
new GLatLng(12.874228, 79.690675),], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
|
||||
//vellai gate to Meenakshi College
|
||||
var poly = new GPolyline([new GLatLng(12.874217, 79.690748),
|
||||
new GLatLng(12.874228, 79.690675),
|
||||
new GLatLng(12.873209, 79.699870),
|
||||
new GLatLng(12.873230, 79.701393),
|
||||
new GLatLng(12.873136, 79.701876),
|
||||
new GLatLng(12.872396, 79.705240),
|
||||
new GLatLng(12.871288, 79.708417),
|
||||
new GLatLng(12.871173, 79.708879),
|
||||
new GLatLng(12.871149, 79.709393),], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
//Meenakshi College to Pillai chthram
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(12.871165, 79.708643),
|
||||
new GLatLng(12.871153, 79.709214),
|
||||
new GLatLng(12.871322, 79.712328),
|
||||
new GLatLng(12.871416, 79.713669),
|
||||
new GLatLng(12.871301, 79.714906),
|
||||
new GLatLng(12.871188, 79.716037),
|
||||
new GLatLng(12.870904, 79.718034),
|
||||
new GLatLng(12.870941, 79.719944),
|
||||
new GLatLng(12.871087, 79.721510),
|
||||
new GLatLng(12.871213, 79.722272),
|
||||
new GLatLng(12.871924, 79.726413),
|
||||
new GLatLng(12.872593, 79.730147),
|
||||
new GLatLng(12.872913, 79.732786),
|
||||
new GLatLng(12.873154, 79.738097),
|
||||
new GLatLng(12.873313, 79.741606),
|
||||
new GLatLng(12.873888, 79.747378),
|
||||
new GLatLng(12.874463, 79.752742),
|
||||
new GLatLng(12.874756, 79.757173),
|
||||
new GLatLng(12.875028, 79.762838),
|
||||
new GLatLng(12.875174, 79.765113),
|
||||
new GLatLng(12.875258, 79.765821),
|
||||
new GLatLng(12.876137, 79.769136),
|
||||
new GLatLng(12.877193, 79.773352),
|
||||
new GLatLng(12.877685, 79.775219),
|
||||
new GLatLng(12.878051, 79.776099),
|
||||
new GLatLng(12.880446, 79.780541),
|
||||
new GLatLng(12.883479, 79.785884),
|
||||
new GLatLng(12.884222, 79.787000),
|
||||
new GLatLng(12.887730, 79.791441),
|
||||
new GLatLng(12.889445, 79.793608),
|
||||
new GLatLng(12.891767, 79.795357),
|
||||
new GLatLng(12.892146, 79.795746),
|
||||
new GLatLng(12.892366, 79.796112),
|
||||
new GLatLng(12.894069, 79.799834),
|
||||
new GLatLng(12.895533, 79.802916),
|
||||
new GLatLng(12.896757, 79.804622),
|
||||
new GLatLng(12.899643, 79.809203),
|
||||
new GLatLng(12.901484, 79.812894),
|
||||
new GLatLng(12.902938, 79.815812),
|
||||
new GLatLng(12.903775, 79.817486),
|
||||
new GLatLng(12.904183, 79.819932),
|
||||
new GLatLng(12.904706, 79.823000),
|
||||
new GLatLng(12.905187, 79.825210),
|
||||
new GLatLng(12.907341, 79.831250),
|
||||
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//pillaichathram to sunguvarchatram bypass
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(12.907341, 79.831250),
|
||||
new GLatLng(12.907841, 79.832793),
|
||||
new GLatLng(12.908761, 79.835464),
|
||||
new GLatLng(12.909639, 79.838715),
|
||||
new GLatLng(12.910486, 79.842610),
|
||||
new GLatLng(12.911479, 79.847813),
|
||||
new GLatLng(12.911782, 79.850474),
|
||||
new GLatLng(12.911960, 79.851322),
|
||||
new GLatLng(12.912378, 79.852470),
|
||||
new GLatLng(12.914219, 79.856322),
|
||||
new GLatLng(12.915233, 79.858071),
|
||||
new GLatLng(12.916624, 79.860496),
|
||||
new GLatLng(12.918851, 79.866912),
|
||||
new GLatLng(12.919980, 79.869895),
|
||||
new GLatLng(12.920785, 79.871483),
|
||||
new GLatLng(12.921820, 79.872974),
|
||||
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
//sunguvar bypass
|
||||
var poly = new GPolyline([new GLatLng(12.921914, 79.873216),
|
||||
new GLatLng(12.922348, 79.873983),
|
||||
new GLatLng(12.922543, 79.874775),
|
||||
new GLatLng(12.922573, 79.875619),
|
||||
new GLatLng(12.922442, 79.876415),
|
||||
new GLatLng(12.922273, 79.876884),
|
||||
new GLatLng(12.922009, 79.877461),
|
||||
new GLatLng(12.921597, 79.878199),
|
||||
new GLatLng(12.921116, 79.879143),
|
||||
new GLatLng(12.920906, 79.880044),
|
||||
new GLatLng(12.920896, 79.880709),
|
||||
new GLatLng(12.921011, 79.881353),
|
||||
new GLatLng(12.921178, 79.881868),
|
||||
new GLatLng(12.921345, 79.882265),
|
||||
new GLatLng(12.921648, 79.882673),
|
||||
new GLatLng(12.923060, 79.884647),
|
||||
new GLatLng(12.925653, 79.888123),
|
||||
new GLatLng(12.927969, 79.891308),
|
||||
new GLatLng(12.929639, 79.893569),
|
||||
new GLatLng(12.929974, 79.894148),
|
||||
new GLatLng(12.931041, 79.896315),
|
||||
new GLatLng(12.932013, 79.898675),
|
||||
new GLatLng(12.932944, 79.901304),
|
||||
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
|
||||
|
||||
// sunguvarchatram bypass to sriperumbattur
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(12.931132, 79.896386),
|
||||
new GLatLng(12.931906, 79.898355),
|
||||
new GLatLng(12.932878, 79.901048),
|
||||
new GLatLng(12.933432, 79.902759),
|
||||
new GLatLng(12.933537, 79.903510),
|
||||
new GLatLng(12.933532, 79.904170),
|
||||
new GLatLng(12.933297, 79.905806),
|
||||
new GLatLng(12.933213, 79.906584),
|
||||
new GLatLng(12.933239, 79.907088),
|
||||
new GLatLng(12.933328, 79.907592),
|
||||
new GLatLng(12.933485, 79.908096),
|
||||
new GLatLng(12.933830, 79.908756),
|
||||
new GLatLng(12.935289, 79.910435),
|
||||
new GLatLng(12.936936, 79.912216),
|
||||
new GLatLng(12.938886, 79.914383),
|
||||
new GLatLng(12.941782, 79.918033),
|
||||
new GLatLng(12.944804, 79.921992),
|
||||
new GLatLng(12.945306, 79.922582),
|
||||
new GLatLng(12.946801, 79.924106),
|
||||
new GLatLng(12.948202, 79.925447),
|
||||
new GLatLng(12.949895, 79.927430),
|
||||
new GLatLng(12.952070, 79.930745),
|
||||
new GLatLng(12.954538, 79.934183),
|
||||
new GLatLng(12.954914, 79.935106),
|
||||
new GLatLng(12.955029, 79.936705),
|
||||
new GLatLng(12.955123, 79.937950),
|
||||
new GLatLng(12.955722, 79.941646),
|
||||
new GLatLng(12.956067, 79.942492),
|
||||
new GLatLng(12.956663, 79.943093),
|
||||
new GLatLng(12.957312, 79.943547),
|
||||
new GLatLng(12.959712, 79.944165),
|
||||
new GLatLng(12.961204, 79.944488),
|
||||
new GLatLng(12.961972, 79.944880),
|
||||
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
|
||||
|
||||
// Sunguvar chathram to sripeumbattur
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(12.978083, 79.961522),
|
||||
new GLatLng(12.979463, 79.963239),
|
||||
new GLatLng(12.979996, 79.964022),
|
||||
new GLatLng(12.980498, 79.965588),
|
||||
new GLatLng(12.981209, 79.967240),
|
||||
new GLatLng(12.982934, 79.971081),
|
||||
new GLatLng(12.984251, 79.974139),
|
||||
new GLatLng(12.984889, 79.975373),
|
||||
new GLatLng(12.985424, 79.976229),
|
||||
new GLatLng(12.987891, 79.979716),
|
||||
new GLatLng(12.990902, 79.983686),
|
||||
new GLatLng(12.993411, 79.987205),
|
||||
new GLatLng(12.994185, 79.987935),
|
||||
new GLatLng(12.995094, 79.988632),
|
||||
new GLatLng(12.995868, 79.989029),
|
||||
new GLatLng(12.998001, 79.989920),
|
||||
new GLatLng(12.999684, 79.990703),
|
||||
new GLatLng(13.002674, 79.992752),
|
||||
new GLatLng(13.007117, 79.995767),
|
||||
new GLatLng(13.010640, 79.998160),
|
||||
new GLatLng(13.011591, 79.998943),
|
||||
new GLatLng(13.012438, 79.999866),
|
||||
|
||||
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
|
||||
// Poonamalle High Road to RIT
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(13.012570, 80.000018),
|
||||
new GLatLng(13.015154, 80.003802),
|
||||
new GLatLng(13.015593, 80.004535),
|
||||
new GLatLng(13.015927, 80.005254),
|
||||
new GLatLng(13.017045, 80.008033),
|
||||
new GLatLng(13.018278, 80.010458),
|
||||
new GLatLng(13.018853, 80.011381),
|
||||
new GLatLng(13.020009, 80.013264),
|
||||
new GLatLng(13.021922, 80.016193),
|
||||
new GLatLng(13.022277, 80.016869),
|
||||
new GLatLng(13.022479, 80.018203),
|
||||
new GLatLng(13.022542, 80.019362),
|
||||
new GLatLng(13.022797, 80.020594),
|
||||
new GLatLng(13.023297, 80.021814),
|
||||
new GLatLng(13.025335, 80.025161),
|
||||
new GLatLng(13.028022, 80.029391),
|
||||
new GLatLng(13.030813, 80.034069),
|
||||
new GLatLng(13.033144, 80.038114),
|
||||
new GLatLng(13.035025, 80.041365),
|
||||
new GLatLng(13.035020, 80.041349),
|
||||
new GLatLng(13.035548, 80.042494),
|
||||
new GLatLng(13.035942,80.043670),
|
||||
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Route No:15 vellai gate to Sunkuvarpet
|
||||
var poly = new GPolyline([], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
// Route No:15 Sunkuvarpet to Sripurumbatur
|
||||
var poly = new GPolyline([], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||
|
||||
// Route No:15 Sripurumbatur to RIT
|
||||
var poly = new GPolyline([
|
||||
new GLatLng(12.961272, 79.944531),
|
||||
new GLatLng(12.962121, 79.944913),
|
||||
new GLatLng(12.962859, 79.945093),
|
||||
new GLatLng(12.965054, 79.945370),
|
||||
new GLatLng(12.966924, 79.945435),
|
||||
new GLatLng(12.967144, 79.948471),
|
||||
new GLatLng(12.967123, 79.949351),
|
||||
new GLatLng(12.967060, 79.950574),
|
||||
new GLatLng(12.968098, 79.950802),
|
||||
new GLatLng(12.968612, 79.950846),
|
||||
new GLatLng(12.969236, 79.950890),
|
||||
new GLatLng(12.970617, 79.951336),
|
||||
new GLatLng(12.971164, 79.951744),
|
||||
new GLatLng(12.971938, 79.952597),
|
||||
new GLatLng(12.973004, 79.953922),
|
||||
new GLatLng(12.973920, 79.955055),
|
||||
new GLatLng(12.974464, 79.955768),
|
||||
new GLatLng(12.975049, 79.956760),
|
||||
new GLatLng(12.975431, 79.957565),
|
||||
new GLatLng(12.975737, 79.957887),
|
||||
new GLatLng(12.976338, 79.958772),
|
||||
], "#ff00ff" , 3 ,0.8, 80); 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),
|
||||
], "#ff00ff" , 3 ,0.8, 80); 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" style="width:100%;height:850px"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user