feat: Add native Android driver tracking app and real-time backend/frontend bus tracking system
This commit is contained in:
13
.gitignore
vendored
13
.gitignore
vendored
@@ -26,3 +26,16 @@ dist-ssr
|
|||||||
*.sw?
|
*.sw?
|
||||||
*.db
|
*.db
|
||||||
*.exe
|
*.exe
|
||||||
|
|
||||||
|
# Maven & Java
|
||||||
|
target/
|
||||||
|
.mvn/
|
||||||
|
|
||||||
|
# Android & Gradle
|
||||||
|
.gradle/
|
||||||
|
build/
|
||||||
|
app/build/
|
||||||
|
*.apk
|
||||||
|
*.aar
|
||||||
|
*.log
|
||||||
|
__pycache__/
|
||||||
|
|||||||
@@ -33,8 +33,10 @@ public class DataInitializer implements CommandLineRunner {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run(String... args) throws Exception {
|
public void run(String... args) throws Exception {
|
||||||
// Clear all previous mock data from the database
|
// Clear all previous mock data from the database to force re-seeding with geocoded values
|
||||||
noteRepository.deleteAll();
|
noteRepository.deleteAll();
|
||||||
|
busRouteRepository.deleteAll();
|
||||||
|
|
||||||
// Run initial scan to populate database with whatever is currently in /uploads
|
// Run initial scan to populate database with whatever is currently in /uploads
|
||||||
try {
|
try {
|
||||||
notePyqController.syncUploads();
|
notePyqController.syncUploads();
|
||||||
@@ -44,50 +46,65 @@ public class DataInitializer implements CommandLineRunner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Seed Bus Routes
|
// Seed Bus Routes
|
||||||
if (busRouteRepository.count() == 0) {
|
try {
|
||||||
try {
|
ObjectMapper mapper = new ObjectMapper();
|
||||||
ObjectMapper mapper = new ObjectMapper();
|
InputStream is = getClass().getResourceAsStream("/bus_routes.json");
|
||||||
InputStream is = getClass().getResourceAsStream("/bus_routes.json");
|
if (is != null) {
|
||||||
if (is != null) {
|
List<Map<String, Object>> routesList = mapper.readValue(is, new TypeReference<List<Map<String, Object>>>() {});
|
||||||
List<Map<String, Object>> routesList = mapper.readValue(is, new TypeReference<List<Map<String, Object>>>() {});
|
List<BusRoute> routesToSave = new ArrayList<>();
|
||||||
List<BusRoute> routesToSave = new ArrayList<>();
|
|
||||||
|
for (Map<String, Object> routeMap : routesList) {
|
||||||
for (Map<String, Object> routeMap : routesList) {
|
List<List<Double>> polyList = (List<List<Double>>) routeMap.get("polyline");
|
||||||
BusRoute br = BusRoute.builder()
|
String polyJson = null;
|
||||||
.number((String) routeMap.get("number"))
|
if (polyList != null) {
|
||||||
.name((String) routeMap.get("name"))
|
try {
|
||||||
.from((String) routeMap.get("from"))
|
polyJson = mapper.writeValueAsString(polyList);
|
||||||
.to((String) routeMap.get("to"))
|
} catch (Exception e) {
|
||||||
.departureTime((String) routeMap.get("departureTime"))
|
System.err.println("⚠️ Failed to serialize polyline: " + e.getMessage());
|
||||||
.arrivalTime((String) routeMap.get("arrivalTime"))
|
|
||||||
.color((String) routeMap.get("color"))
|
|
||||||
.build();
|
|
||||||
|
|
||||||
List<Map<String, String>> stopsList = (List<Map<String, String>>) routeMap.get("stops");
|
|
||||||
List<BusStop> stops = new ArrayList<>();
|
|
||||||
if (stopsList != null) {
|
|
||||||
for (int i = 0; i < stopsList.size(); i++) {
|
|
||||||
Map<String, String> stopMap = stopsList.get(i);
|
|
||||||
stops.add(BusStop.builder()
|
|
||||||
.route(br)
|
|
||||||
.name(stopMap.get("name"))
|
|
||||||
.time(stopMap.get("time"))
|
|
||||||
.stopOrder(i + 1)
|
|
||||||
.build());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
br.setStops(stops);
|
|
||||||
routesToSave.add(br);
|
|
||||||
}
|
}
|
||||||
busRouteRepository.saveAll(routesToSave);
|
|
||||||
System.out.println("🌱 Database successfully seeded with " + routesToSave.size() + " Bus Routes and stops!");
|
BusRoute br = BusRoute.builder()
|
||||||
} else {
|
.number((String) routeMap.get("number"))
|
||||||
System.err.println("⚠️ Could not find bus_routes.json in resources!");
|
.name((String) routeMap.get("name"))
|
||||||
|
.from((String) routeMap.get("from"))
|
||||||
|
.to((String) routeMap.get("to"))
|
||||||
|
.departureTime((String) routeMap.get("departureTime"))
|
||||||
|
.arrivalTime((String) routeMap.get("arrivalTime"))
|
||||||
|
.color((String) routeMap.get("color"))
|
||||||
|
.fromLat(routeMap.get("from_lat") != null ? ((Number) routeMap.get("from_lat")).doubleValue() : null)
|
||||||
|
.fromLng(routeMap.get("from_lng") != null ? ((Number) routeMap.get("from_lng")).doubleValue() : null)
|
||||||
|
.toLat(routeMap.get("to_lat") != null ? ((Number) routeMap.get("to_lat")).doubleValue() : null)
|
||||||
|
.toLng(routeMap.get("to_lng") != null ? ((Number) routeMap.get("to_lng")).doubleValue() : null)
|
||||||
|
.polyline(polyJson)
|
||||||
|
.build();
|
||||||
|
|
||||||
|
List<Map<String, Object>> stopsList = (List<Map<String, Object>>) routeMap.get("stops");
|
||||||
|
List<BusStop> stops = new ArrayList<>();
|
||||||
|
if (stopsList != null) {
|
||||||
|
for (int i = 0; i < stopsList.size(); i++) {
|
||||||
|
Map<String, Object> stopMap = stopsList.get(i);
|
||||||
|
stops.add(BusStop.builder()
|
||||||
|
.route(br)
|
||||||
|
.name((String) stopMap.get("name"))
|
||||||
|
.time((String) stopMap.get("time"))
|
||||||
|
.lat(stopMap.get("lat") != null ? ((Number) stopMap.get("lat")).doubleValue() : null)
|
||||||
|
.lng(stopMap.get("lng") != null ? ((Number) stopMap.get("lng")).doubleValue() : null)
|
||||||
|
.stopOrder(i + 1)
|
||||||
|
.build());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
br.setStops(stops);
|
||||||
|
routesToSave.add(br);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
busRouteRepository.saveAll(routesToSave);
|
||||||
System.err.println("❌ Failed to seed bus routes: " + e.getMessage());
|
System.out.println("🌱 Database successfully seeded with " + routesToSave.size() + " Bus Routes and stops!");
|
||||||
e.printStackTrace();
|
} else {
|
||||||
|
System.err.println("⚠️ Could not find bus_routes.json in resources!");
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
System.err.println("❌ Failed to seed bus routes: " + e.getMessage());
|
||||||
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,53 @@
|
|||||||
|
package com.rit.portal.controller;
|
||||||
|
|
||||||
|
import com.rit.portal.dto.DriverLocationUpdate;
|
||||||
|
import com.rit.portal.model.BusLocation;
|
||||||
|
import com.rit.portal.service.BusLocationService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/api/bus-locations")
|
||||||
|
@CrossOrigin(originPatterns = "*")
|
||||||
|
public class BusLocationController {
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private BusLocationService busLocationService;
|
||||||
|
|
||||||
|
private static final String REQUIRED_PIN = "RITDRIVER";
|
||||||
|
|
||||||
|
@PostMapping("/{routeNumber}")
|
||||||
|
public ResponseEntity<Map<String, String>> updateLocation(
|
||||||
|
@PathVariable String routeNumber,
|
||||||
|
@RequestBody DriverLocationUpdate update) {
|
||||||
|
|
||||||
|
if (update == null || update.getLatitude() == null || update.getLongitude() == null) {
|
||||||
|
return ResponseEntity.badRequest().body(Map.of("error", "Invalid coordinates"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!REQUIRED_PIN.equals(update.getPin())) {
|
||||||
|
return ResponseEntity.status(HttpStatus.UNAUTHORIZED).body(Map.of("error", "Invalid driver PIN"));
|
||||||
|
}
|
||||||
|
|
||||||
|
busLocationService.updateLocation(routeNumber, update.getLatitude(), update.getLongitude());
|
||||||
|
return ResponseEntity.ok(Map.of("status", "success", "message", "Location updated successfully"));
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping
|
||||||
|
public ResponseEntity<List<BusLocation>> getActiveLocations() {
|
||||||
|
return ResponseEntity.ok(busLocationService.getActiveLocations());
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/{routeNumber}")
|
||||||
|
public ResponseEntity<BusLocation> getLocation(@PathVariable String routeNumber) {
|
||||||
|
BusLocation loc = busLocationService.getLocation(routeNumber);
|
||||||
|
if (loc == null) {
|
||||||
|
return ResponseEntity.notFound().build();
|
||||||
|
}
|
||||||
|
return ResponseEntity.ok(loc);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
package com.rit.portal.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class DriverLocationUpdate {
|
||||||
|
private Double latitude;
|
||||||
|
private Double longitude;
|
||||||
|
private String pin;
|
||||||
|
}
|
||||||
@@ -39,6 +39,22 @@ public class BusRoute {
|
|||||||
@Column(name = "color_code")
|
@Column(name = "color_code")
|
||||||
private String color;
|
private String color;
|
||||||
|
|
||||||
|
@Column(name = "from_lat")
|
||||||
|
private Double fromLat;
|
||||||
|
|
||||||
|
@Column(name = "from_lng")
|
||||||
|
private Double fromLng;
|
||||||
|
|
||||||
|
@Column(name = "to_lat")
|
||||||
|
private Double toLat;
|
||||||
|
|
||||||
|
@Column(name = "to_lng")
|
||||||
|
private Double toLng;
|
||||||
|
|
||||||
|
@Column(name = "polyline_data", columnDefinition = "TEXT")
|
||||||
|
@com.fasterxml.jackson.annotation.JsonRawValue
|
||||||
|
private String polyline;
|
||||||
|
|
||||||
@OneToMany(mappedBy = "route", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
|
@OneToMany(mappedBy = "route", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
|
||||||
@OrderBy("stopOrder ASC")
|
@OrderBy("stopOrder ASC")
|
||||||
@Builder.Default
|
@Builder.Default
|
||||||
|
|||||||
@@ -28,6 +28,12 @@ public class BusStop {
|
|||||||
@Column(name = "arrival_time", nullable = false)
|
@Column(name = "arrival_time", nullable = false)
|
||||||
private String time;
|
private String time;
|
||||||
|
|
||||||
|
@Column(name = "latitude")
|
||||||
|
private Double lat;
|
||||||
|
|
||||||
|
@Column(name = "longitude")
|
||||||
|
private Double lng;
|
||||||
|
|
||||||
@Column(name = "stop_order", nullable = false)
|
@Column(name = "stop_order", nullable = false)
|
||||||
private Integer stopOrder;
|
private Integer stopOrder;
|
||||||
}
|
}
|
||||||
|
|||||||
16
backend/src/main/java/com/rit/portal/model/BusLocation.java
Normal file
16
backend/src/main/java/com/rit/portal/model/BusLocation.java
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
package com.rit.portal.model;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import java.time.Instant;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class BusLocation {
|
||||||
|
private String routeNumber;
|
||||||
|
private Double latitude;
|
||||||
|
private Double longitude;
|
||||||
|
private Instant lastUpdated;
|
||||||
|
}
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
package com.rit.portal.service;
|
||||||
|
|
||||||
|
import com.rit.portal.model.BusLocation;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import java.time.Instant;
|
||||||
|
import java.time.Duration;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class BusLocationService {
|
||||||
|
|
||||||
|
private final Map<String, BusLocation> locationCache = new ConcurrentHashMap<>();
|
||||||
|
private static final Duration STALE_DURATION = Duration.ofMinutes(2);
|
||||||
|
|
||||||
|
public void updateLocation(String routeNumber, Double latitude, Double longitude) {
|
||||||
|
locationCache.put(routeNumber, new BusLocation(
|
||||||
|
routeNumber,
|
||||||
|
latitude,
|
||||||
|
longitude,
|
||||||
|
Instant.now()
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
public BusLocation getLocation(String routeNumber) {
|
||||||
|
BusLocation loc = locationCache.get(routeNumber);
|
||||||
|
if (loc != null) {
|
||||||
|
if (Instant.now().isAfter(loc.getLastUpdated().plus(STALE_DURATION))) {
|
||||||
|
locationCache.remove(routeNumber);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return loc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<BusLocation> getActiveLocations() {
|
||||||
|
Instant threshold = Instant.now().minus(STALE_DURATION);
|
||||||
|
// Clean up stale entries on read
|
||||||
|
locationCache.entrySet().removeIf(entry -> entry.getValue().getLastUpdated().isBefore(threshold));
|
||||||
|
return List.copyOf(locationCache.values());
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# ─── DATABASE CONNECTION CONFIGURATION ───
|
# ─── DATABASE CONNECTION CONFIGURATION ───
|
||||||
spring.datasource.url=jdbc:postgresql://localhost:5432/rit_freshers_hub?sslmode=disable
|
spring.datasource.url=jdbc:postgresql://localhost:5432/rit_freshers_hub?sslmode=disable
|
||||||
spring.datasource.username=postgres
|
spring.datasource.username=postgres
|
||||||
spring.datasource.password=${DB_PASSWORD:Anbukathir@#$2006}
|
spring.datasource.password=${DB_PASSWORD:jouganxd1011}
|
||||||
|
|
||||||
# ─── JPA / HIBERNATE SETTINGS ───
|
# ─── JPA / HIBERNATE SETTINGS ───
|
||||||
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
|
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
|
||||||
@@ -10,4 +10,4 @@ spring.jpa.show-sql=true
|
|||||||
spring.jpa.properties.hibernate.format_sql=true
|
spring.jpa.properties.hibernate.format_sql=true
|
||||||
|
|
||||||
# ─── SERVER PORT ───
|
# ─── SERVER PORT ───
|
||||||
server.port=8080
|
server.port=8085
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,26 @@
|
|||||||
com\rit\portal\config\DataInitializer.class
|
com\rit\portal\controller\BusLocationController.class
|
||||||
com\rit\portal\entity\CommunityQuestion$CommunityQuestionBuilder.class
|
com\rit\portal\config\DataInitializer$1.class
|
||||||
com\rit\portal\entity\NotePyq$NotePyqBuilder.class
|
|
||||||
com\rit\portal\repository\CommunityAnswerRepository.class
|
com\rit\portal\repository\CommunityAnswerRepository.class
|
||||||
com\rit\portal\entity\CommunityAnswer$CommunityAnswerBuilder.class
|
com\rit\portal\entity\CommunityAnswer$CommunityAnswerBuilder.class
|
||||||
com\rit\portal\controller\NotePyqController.class
|
|
||||||
com\rit\portal\entity\CommunityQuestion.class
|
com\rit\portal\entity\CommunityQuestion.class
|
||||||
|
com\rit\portal\controller\BusRouteController.class
|
||||||
com\rit\portal\entity\NotePyq.class
|
com\rit\portal\entity\NotePyq.class
|
||||||
com\rit\portal\repository\NotePyqRepository.class
|
|
||||||
com\rit\portal\entity\CommunityAnswer.class
|
com\rit\portal\entity\CommunityAnswer.class
|
||||||
com\rit\portal\controller\CommunityQuestionController.class
|
com\rit\portal\controller\CommunityQuestionController.class
|
||||||
com\rit\portal\repository\CommunityQuestionRepository.class
|
com\rit\portal\dto\DriverLocationUpdate.class
|
||||||
com\rit\portal\config\WebConfig.class
|
com\rit\portal\config\WebConfig.class
|
||||||
|
com\rit\portal\repository\BusStopRepository.class
|
||||||
|
com\rit\portal\config\DataInitializer.class
|
||||||
|
com\rit\portal\entity\BusStop.class
|
||||||
|
com\rit\portal\entity\BusStop$BusStopBuilder.class
|
||||||
|
com\rit\portal\repository\BusRouteRepository.class
|
||||||
|
com\rit\portal\entity\CommunityQuestion$CommunityQuestionBuilder.class
|
||||||
|
com\rit\portal\entity\NotePyq$NotePyqBuilder.class
|
||||||
|
com\rit\portal\entity\BusRoute$BusRouteBuilder.class
|
||||||
|
com\rit\portal\controller\NotePyqController.class
|
||||||
|
com\rit\portal\service\BusLocationService.class
|
||||||
|
com\rit\portal\repository\NotePyqRepository.class
|
||||||
|
com\rit\portal\model\BusLocation.class
|
||||||
|
com\rit\portal\entity\BusRoute.class
|
||||||
|
com\rit\portal\repository\CommunityQuestionRepository.class
|
||||||
com\rit\portal\PortalApplication.class
|
com\rit\portal\PortalApplication.class
|
||||||
|
|||||||
@@ -1,16 +1,20 @@
|
|||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\config\DataInitializer.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\config\DataInitializer.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\config\WebConfig.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\config\WebConfig.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\controller\BusRouteController.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\controller\BusLocationController.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\controller\CommunityQuestionController.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\controller\BusRouteController.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\controller\NotePyqController.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\controller\CommunityQuestionController.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\BusRoute.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\controller\NotePyqController.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\BusStop.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\dto\DriverLocationUpdate.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\CommunityAnswer.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\BusRoute.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\CommunityQuestion.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\BusStop.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\NotePyq.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\CommunityAnswer.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\PortalApplication.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\CommunityQuestion.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\BusRouteRepository.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\entity\NotePyq.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\BusStopRepository.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\model\BusLocation.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\CommunityAnswerRepository.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\PortalApplication.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\CommunityQuestionRepository.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\BusRouteRepository.java
|
||||||
D:\projects\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\NotePyqRepository.java
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\BusStopRepository.java
|
||||||
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\CommunityAnswerRepository.java
|
||||||
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\CommunityQuestionRepository.java
|
||||||
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\repository\NotePyqRepository.java
|
||||||
|
F:\fresher\Freshers-Hub\backend\src\main\java\com\rit\portal\service\BusLocationService.java
|
||||||
|
|||||||
21681
public/bus_routes.json
Normal file
21681
public/bus_routes.json
Normal file
File diff suppressed because it is too large
Load Diff
33
rit-driver-app/app/build.gradle
Normal file
33
rit-driver-app/app/build.gradle
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
plugins {
|
||||||
|
id 'com.android.application'
|
||||||
|
}
|
||||||
|
|
||||||
|
android {
|
||||||
|
namespace 'com.rit.driver'
|
||||||
|
compileSdk 34
|
||||||
|
|
||||||
|
defaultConfig {
|
||||||
|
applicationId "com.rit.driver"
|
||||||
|
minSdk 21
|
||||||
|
targetSdk 34
|
||||||
|
versionCode 1
|
||||||
|
versionName "1.0"
|
||||||
|
}
|
||||||
|
|
||||||
|
buildTypes {
|
||||||
|
release {
|
||||||
|
minifyEnabled false
|
||||||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
compileOptions {
|
||||||
|
sourceCompatibility JavaVersion.VERSION_17
|
||||||
|
targetCompatibility JavaVersion.VERSION_17
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||||||
|
implementation 'com.google.android.material:material:1.11.0'
|
||||||
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||||
|
}
|
||||||
43
rit-driver-app/app/src/main/AndroidManifest.xml
Normal file
43
rit-driver-app/app/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<!-- Location Permissions -->
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
||||||
|
|
||||||
|
<!-- Foreground Service Permissions -->
|
||||||
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||||
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
|
||||||
|
|
||||||
|
<!-- Wakelock and Network Permissions -->
|
||||||
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
|
||||||
|
<application
|
||||||
|
android:allowBackup="true"
|
||||||
|
android:icon="@drawable/ic_launcher"
|
||||||
|
android:label="@string/app_name"
|
||||||
|
android:supportsRtl="true"
|
||||||
|
android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
|
||||||
|
android:usesCleartextTraffic="true">
|
||||||
|
|
||||||
|
<activity
|
||||||
|
android:name=".MainActivity"
|
||||||
|
android:exported="true">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
</intent-filter>
|
||||||
|
</activity>
|
||||||
|
|
||||||
|
<service
|
||||||
|
android:name=".TrackingService"
|
||||||
|
android:enabled="true"
|
||||||
|
android:exported="false"
|
||||||
|
android:foregroundServiceType="location" />
|
||||||
|
|
||||||
|
</application>
|
||||||
|
|
||||||
|
</manifest>
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
package com.rit.driver;
|
||||||
|
|
||||||
|
public class Config {
|
||||||
|
// Replace this with your VPS public IP address or production domain name
|
||||||
|
public static final String BACKEND_URL = "http://15.206.182.201:8085";
|
||||||
|
|
||||||
|
// Default driver security PIN
|
||||||
|
public static final String DEFAULT_PIN = "RITDRIVER";
|
||||||
|
}
|
||||||
@@ -0,0 +1,202 @@
|
|||||||
|
package com.rit.driver;
|
||||||
|
|
||||||
|
import android.Manifest;
|
||||||
|
import android.content.BroadcastReceiver;
|
||||||
|
import android.content.Context;
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.content.IntentFilter;
|
||||||
|
import android.content.pm.PackageManager;
|
||||||
|
import android.os.Build;
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.view.View;
|
||||||
|
import android.widget.Button;
|
||||||
|
import android.widget.EditText;
|
||||||
|
import android.widget.LinearLayout;
|
||||||
|
import android.widget.TextView;
|
||||||
|
import android.widget.Toast;
|
||||||
|
import androidx.annotation.NonNull;
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
import androidx.core.app.ActivityCompat;
|
||||||
|
import androidx.core.content.ContextCompat;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class MainActivity extends AppCompatActivity {
|
||||||
|
|
||||||
|
private static final int PERMISSION_REQUEST_CODE = 888;
|
||||||
|
|
||||||
|
private EditText etRouteNumber;
|
||||||
|
private EditText etDriverPin;
|
||||||
|
private Button btnStartSharing;
|
||||||
|
private Button btnStopSharing;
|
||||||
|
private TextView tvStatusHeader;
|
||||||
|
private TextView tvStatusLogs;
|
||||||
|
private LinearLayout statusCard;
|
||||||
|
|
||||||
|
private boolean isServiceRunning = false;
|
||||||
|
|
||||||
|
// Receive tracking updates from Foreground Service
|
||||||
|
private final BroadcastReceiver locationReceiver = new BroadcastReceiver() {
|
||||||
|
@Override
|
||||||
|
public void onReceive(Context context, Intent intent) {
|
||||||
|
if (intent != null) {
|
||||||
|
if (intent.hasExtra(TrackingService.EXTRA_STATUS)) {
|
||||||
|
String status = intent.getStringExtra(TrackingService.EXTRA_STATUS);
|
||||||
|
tvStatusHeader.setText("STATUS: " + (isServiceRunning ? "ACTIVE" : "INACTIVE"));
|
||||||
|
logStatus(status);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (intent.hasExtra(TrackingService.EXTRA_LATITUDE) && intent.hasExtra(TrackingService.EXTRA_LONGITUDE)) {
|
||||||
|
double lat = intent.getDoubleExtra(TrackingService.EXTRA_LATITUDE, 0.0);
|
||||||
|
double lng = intent.getDoubleExtra(TrackingService.EXTRA_LONGITUDE, 0.0);
|
||||||
|
float accuracy = intent.getFloatExtra(TrackingService.EXTRA_ACCURACY, 0.0f);
|
||||||
|
|
||||||
|
String gpsInfo = String.format("GPS Coords: %.6f, %.6f\nAccuracy: ±%.1fm", lat, lng, accuracy);
|
||||||
|
logStatus(gpsInfo);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
setContentView(R.layout.activity_main);
|
||||||
|
|
||||||
|
// Bind Views
|
||||||
|
etRouteNumber = findViewById(R.id.etRouteNumber);
|
||||||
|
etDriverPin = findViewById(R.id.etDriverPin);
|
||||||
|
etDriverPin.setText(Config.DEFAULT_PIN);
|
||||||
|
btnStartSharing = findViewById(R.id.btnStartSharing);
|
||||||
|
btnStopSharing = findViewById(R.id.btnStopSharing);
|
||||||
|
tvStatusHeader = findViewById(R.id.tvStatusHeader);
|
||||||
|
tvStatusLogs = findViewById(R.id.tvStatusLogs);
|
||||||
|
statusCard = findViewById(R.id.statusCard);
|
||||||
|
|
||||||
|
btnStartSharing.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View v) {
|
||||||
|
if (checkAndRequestPermissions()) {
|
||||||
|
startTracking();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
btnStopSharing.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View v) {
|
||||||
|
stopTracking();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onResume() {
|
||||||
|
super.onResume();
|
||||||
|
// Register receiver for service communication
|
||||||
|
IntentFilter filter = new IntentFilter(TrackingService.ACTION_LOCATION_BROADCAST);
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||||
|
registerReceiver(locationReceiver, filter, Context.RECEIVER_NOT_EXPORTED);
|
||||||
|
} else {
|
||||||
|
registerReceiver(locationReceiver, filter);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onPause() {
|
||||||
|
// Unregister receiver
|
||||||
|
unregisterReceiver(locationReceiver);
|
||||||
|
super.onPause();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void startTracking() {
|
||||||
|
String serverUrl = Config.BACKEND_URL;
|
||||||
|
String routeNumber = etRouteNumber.getText().toString().trim();
|
||||||
|
String driverPin = etDriverPin.getText().toString().trim();
|
||||||
|
if (routeNumber.isEmpty()) {
|
||||||
|
Toast.makeText(this, "Enter bus route number", Toast.LENGTH_SHORT).show();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (driverPin.isEmpty()) {
|
||||||
|
Toast.makeText(this, "Enter security driver PIN", Toast.LENGTH_SHORT).show();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Intent serviceIntent = new Intent(this, TrackingService.class);
|
||||||
|
serviceIntent.putExtra("server_url", serverUrl);
|
||||||
|
serviceIntent.putExtra("route_number", routeNumber);
|
||||||
|
serviceIntent.putExtra("driver_pin", driverPin);
|
||||||
|
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||||
|
startForegroundService(serviceIntent);
|
||||||
|
} else {
|
||||||
|
startService(serviceIntent);
|
||||||
|
}
|
||||||
|
|
||||||
|
isServiceRunning = true;
|
||||||
|
btnStartSharing.setVisibility(View.GONE);
|
||||||
|
btnStopSharing.setVisibility(View.VISIBLE);
|
||||||
|
tvStatusHeader.setText("STATUS: ACTIVE");
|
||||||
|
logStatus("Foreground tracking service started.");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void stopTracking() {
|
||||||
|
Intent serviceIntent = new Intent(this, TrackingService.class);
|
||||||
|
stopService(serviceIntent);
|
||||||
|
|
||||||
|
isServiceRunning = false;
|
||||||
|
btnStartSharing.setVisibility(View.VISIBLE);
|
||||||
|
btnStopSharing.setVisibility(View.GONE);
|
||||||
|
tvStatusHeader.setText("STATUS: INACTIVE");
|
||||||
|
logStatus("Tracking stopped by driver.");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void logStatus(String msg) {
|
||||||
|
String currentText = tvStatusLogs.getText().toString();
|
||||||
|
tvStatusLogs.setText(msg + "\n\n" + currentText);
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean checkAndRequestPermissions() {
|
||||||
|
boolean hasFine = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED;
|
||||||
|
boolean hasCoarse = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED;
|
||||||
|
|
||||||
|
List<String> listPermissionsNeeded = new ArrayList<>();
|
||||||
|
|
||||||
|
if (!hasFine && !hasCoarse) {
|
||||||
|
listPermissionsNeeded.add(Manifest.permission.ACCESS_FINE_LOCATION);
|
||||||
|
listPermissionsNeeded.add(Manifest.permission.ACCESS_COARSE_LOCATION);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||||
|
if (ContextCompat.checkSelfPermission(this, Manifest.permission.POST_NOTIFICATIONS) != PackageManager.PERMISSION_GRANTED) {
|
||||||
|
listPermissionsNeeded.add(Manifest.permission.POST_NOTIFICATIONS);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!listPermissionsNeeded.isEmpty()) {
|
||||||
|
ActivityCompat.requestPermissions(
|
||||||
|
this,
|
||||||
|
listPermissionsNeeded.toArray(new String[0]),
|
||||||
|
PERMISSION_REQUEST_CODE
|
||||||
|
);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
|
||||||
|
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
|
||||||
|
if (requestCode == PERMISSION_REQUEST_CODE) {
|
||||||
|
boolean hasFine = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED;
|
||||||
|
boolean hasCoarse = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED;
|
||||||
|
|
||||||
|
if (hasFine || hasCoarse) {
|
||||||
|
startTracking();
|
||||||
|
} else {
|
||||||
|
Toast.makeText(this, "Location permission (Precise or Approximate) is required to track the bus.", Toast.LENGTH_LONG).show();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
package com.rit.driver;
|
||||||
|
|
||||||
|
import android.util.Log;
|
||||||
|
import java.io.OutputStream;
|
||||||
|
import java.net.HttpURLConnection;
|
||||||
|
import java.net.URL;
|
||||||
|
import java.nio.charset.StandardCharsets;
|
||||||
|
|
||||||
|
public class NetworkHelper {
|
||||||
|
|
||||||
|
private static final String TAG = "NetworkHelper";
|
||||||
|
|
||||||
|
public interface Callback {
|
||||||
|
void onSuccess();
|
||||||
|
void onFailure(String error);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void postLocation(final String serverUrl, final String routeNumber, final double lat, final double lng, final String pin, final Callback callback) {
|
||||||
|
new Thread(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
HttpURLConnection conn = null;
|
||||||
|
try {
|
||||||
|
// Clean URL trailing slash and route mapping
|
||||||
|
String cleanUrl = serverUrl;
|
||||||
|
if (cleanUrl.endsWith("/")) {
|
||||||
|
cleanUrl = cleanUrl.substring(0, cleanUrl.length() - 1);
|
||||||
|
}
|
||||||
|
String targetUrl = cleanUrl + "/api/bus-locations/" + routeNumber;
|
||||||
|
|
||||||
|
URL url = new URL(targetUrl);
|
||||||
|
conn = (HttpURLConnection) url.openConnection();
|
||||||
|
conn.setRequestMethod("POST");
|
||||||
|
conn.setRequestProperty("Content-Type", "application/json");
|
||||||
|
conn.setDoOutput(true);
|
||||||
|
conn.setConnectTimeout(8000);
|
||||||
|
conn.setReadTimeout(8000);
|
||||||
|
|
||||||
|
// Build JSON string payload
|
||||||
|
String jsonInputString = String.format(
|
||||||
|
"{\"latitude\": %f, \"longitude\": %f, \"pin\": \"%s\"}",
|
||||||
|
lat, lng, pin
|
||||||
|
);
|
||||||
|
|
||||||
|
try (OutputStream os = conn.getOutputStream()) {
|
||||||
|
byte[] input = jsonInputString.getBytes(StandardCharsets.UTF_8);
|
||||||
|
os.write(input, 0, input.length);
|
||||||
|
}
|
||||||
|
|
||||||
|
int code = conn.getResponseCode();
|
||||||
|
if (code == 200 || code == 201) {
|
||||||
|
Log.d(TAG, "Location uploaded successfully: " + code);
|
||||||
|
if (callback != null) {
|
||||||
|
callback.onSuccess();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
String errMsg = "HTTP error code " + code;
|
||||||
|
Log.w(TAG, errMsg);
|
||||||
|
if (callback != null) {
|
||||||
|
callback.onFailure(errMsg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
String errMsg = "Upload failed: " + e.getMessage();
|
||||||
|
Log.e(TAG, errMsg, e);
|
||||||
|
if (callback != null) {
|
||||||
|
callback.onFailure(errMsg);
|
||||||
|
}
|
||||||
|
} finally {
|
||||||
|
if (conn != null) {
|
||||||
|
conn.disconnect();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}).start();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,194 @@
|
|||||||
|
package com.rit.driver;
|
||||||
|
|
||||||
|
import android.annotation.SuppressLint;
|
||||||
|
import android.app.Notification;
|
||||||
|
import android.app.NotificationChannel;
|
||||||
|
import android.app.NotificationManager;
|
||||||
|
import android.app.PendingIntent;
|
||||||
|
import android.app.Service;
|
||||||
|
import android.content.Context;
|
||||||
|
import android.content.Intent;
|
||||||
|
import android.location.Location;
|
||||||
|
import android.location.LocationListener;
|
||||||
|
import android.location.LocationManager;
|
||||||
|
import android.os.Build;
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.os.IBinder;
|
||||||
|
import android.os.PowerManager;
|
||||||
|
import android.util.Log;
|
||||||
|
import androidx.annotation.Nullable;
|
||||||
|
import androidx.core.app.NotificationCompat;
|
||||||
|
|
||||||
|
public class TrackingService extends Service {
|
||||||
|
|
||||||
|
private static final String TAG = "TrackingService";
|
||||||
|
private static final String CHANNEL_ID = "TrackingServiceChannel";
|
||||||
|
private static final int NOTIFICATION_ID = 444;
|
||||||
|
|
||||||
|
private LocationManager locationManager;
|
||||||
|
private PowerManager.WakeLock wakeLock;
|
||||||
|
|
||||||
|
private String serverUrl = "";
|
||||||
|
private String routeNumber = "";
|
||||||
|
private String driverPin = "";
|
||||||
|
|
||||||
|
// Broadcast action for MainActivity to update UI coordinates
|
||||||
|
public static final String ACTION_LOCATION_BROADCAST = "com.rit.driver.LOCATION_BROADCAST";
|
||||||
|
public static final String EXTRA_LATITUDE = "extra_latitude";
|
||||||
|
public static final String EXTRA_LONGITUDE = "extra_longitude";
|
||||||
|
public static final String EXTRA_ACCURACY = "extra_accuracy";
|
||||||
|
public static final String EXTRA_STATUS = "extra_status";
|
||||||
|
|
||||||
|
private final LocationListener locationListener = new LocationListener() {
|
||||||
|
@Override
|
||||||
|
public void onLocationChanged(Location location) {
|
||||||
|
double lat = location.getLatitude();
|
||||||
|
double lng = location.getLongitude();
|
||||||
|
float accuracy = location.getAccuracy();
|
||||||
|
|
||||||
|
Log.d(TAG, "Location updated: " + lat + ", " + lng + " (Accuracy: " + accuracy + "m)");
|
||||||
|
|
||||||
|
// Broadcast updates locally to MainActivity UI
|
||||||
|
Intent broadcastIntent = new Intent(ACTION_LOCATION_BROADCAST);
|
||||||
|
broadcastIntent.putExtra(EXTRA_LATITUDE, lat);
|
||||||
|
broadcastIntent.putExtra(EXTRA_LONGITUDE, lng);
|
||||||
|
broadcastIntent.putExtra(EXTRA_ACCURACY, accuracy);
|
||||||
|
broadcastIntent.putExtra(EXTRA_STATUS, "Broadcasting Location...");
|
||||||
|
sendBroadcast(broadcastIntent);
|
||||||
|
|
||||||
|
// Upload location to backend
|
||||||
|
NetworkHelper.postLocation(serverUrl, routeNumber, lat, lng, driverPin, new NetworkHelper.Callback() {
|
||||||
|
@Override
|
||||||
|
public void onSuccess() {
|
||||||
|
Log.d(TAG, "Uploaded location successfully");
|
||||||
|
Intent statusIntent = new Intent(ACTION_LOCATION_BROADCAST);
|
||||||
|
statusIntent.putExtra(EXTRA_STATUS, "Upload Success: Location synced.");
|
||||||
|
sendBroadcast(statusIntent);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onFailure(String error) {
|
||||||
|
Log.e(TAG, "Upload failed: " + error);
|
||||||
|
Intent statusIntent = new Intent(ACTION_LOCATION_BROADCAST);
|
||||||
|
statusIntent.putExtra(EXTRA_STATUS, "Upload Failed: " + error);
|
||||||
|
sendBroadcast(statusIntent);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onStatusChanged(String provider, int status, Bundle extras) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onProviderEnabled(String provider) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onProviderDisabled(String provider) {
|
||||||
|
Intent statusIntent = new Intent(ACTION_LOCATION_BROADCAST);
|
||||||
|
statusIntent.putExtra(EXTRA_STATUS, "GPS Provider Disabled. Please turn on Location/GPS.");
|
||||||
|
sendBroadcast(statusIntent);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onCreate() {
|
||||||
|
super.onCreate();
|
||||||
|
Log.d(TAG, "onCreate: Service starting");
|
||||||
|
createNotificationChannel();
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressLint("InvalidWakeLockTag")
|
||||||
|
@Override
|
||||||
|
public int onStartCommand(Intent intent, int flags, int startId) {
|
||||||
|
Log.d(TAG, "onStartCommand: Service active");
|
||||||
|
|
||||||
|
if (intent != null) {
|
||||||
|
serverUrl = intent.getStringExtra("server_url");
|
||||||
|
routeNumber = intent.getStringExtra("route_number");
|
||||||
|
driverPin = intent.getStringExtra("driver_pin");
|
||||||
|
}
|
||||||
|
|
||||||
|
// 1. Show Foreground Notification
|
||||||
|
Intent notificationIntent = new Intent(this, MainActivity.class);
|
||||||
|
PendingIntent pendingIntent = PendingIntent.getActivity(
|
||||||
|
this, 0, notificationIntent,
|
||||||
|
PendingIntent.FLAG_IMMUTABLE
|
||||||
|
);
|
||||||
|
|
||||||
|
Notification notification = new NotificationCompat.Builder(this, CHANNEL_ID)
|
||||||
|
.setContentTitle("RIT Driver Tracker")
|
||||||
|
.setContentText("Active Journey: Route " + routeNumber + " is currently tracking...")
|
||||||
|
.setSmallIcon(android.R.drawable.ic_menu_compass)
|
||||||
|
.setContentIntent(pendingIntent)
|
||||||
|
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
||||||
|
.build();
|
||||||
|
|
||||||
|
startForeground(NOTIFICATION_ID, notification);
|
||||||
|
|
||||||
|
// 2. Acquire Power CPU WakeLock
|
||||||
|
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
|
||||||
|
if (pm != null) {
|
||||||
|
wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "TrackingService::WakeLock");
|
||||||
|
wakeLock.acquire();
|
||||||
|
Log.d(TAG, "WakeLock acquired successfully");
|
||||||
|
}
|
||||||
|
|
||||||
|
// 3. Register GPS location listener
|
||||||
|
locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
|
||||||
|
try {
|
||||||
|
if (locationManager != null) {
|
||||||
|
// Request updates every 5 seconds (5000ms) or 2 meters
|
||||||
|
locationManager.requestLocationUpdates(
|
||||||
|
LocationManager.GPS_PROVIDER,
|
||||||
|
5000,
|
||||||
|
2.0f,
|
||||||
|
locationListener
|
||||||
|
);
|
||||||
|
Log.d(TAG, "GPS Listener registered successfully");
|
||||||
|
}
|
||||||
|
} catch (SecurityException e) {
|
||||||
|
Log.e(TAG, "SecurityException: Location permissions not granted", e);
|
||||||
|
stopSelf();
|
||||||
|
}
|
||||||
|
|
||||||
|
return START_REDELIVER_INTENT;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onDestroy() {
|
||||||
|
Log.d(TAG, "onDestroy: Stopping service cleanups");
|
||||||
|
|
||||||
|
// 1. Remove GPS Listener
|
||||||
|
if (locationManager != null) {
|
||||||
|
locationManager.removeUpdates(locationListener);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 2. Release CPU WakeLock
|
||||||
|
if (wakeLock != null && wakeLock.isHeld()) {
|
||||||
|
wakeLock.release();
|
||||||
|
Log.d(TAG, "WakeLock released cleanly");
|
||||||
|
}
|
||||||
|
|
||||||
|
super.onDestroy();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
@Override
|
||||||
|
public IBinder onBind(Intent intent) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void createNotificationChannel() {
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||||
|
NotificationChannel serviceChannel = new NotificationChannel(
|
||||||
|
CHANNEL_ID,
|
||||||
|
"RIT Driver Tracker Channel",
|
||||||
|
NotificationManager.IMPORTANCE_DEFAULT
|
||||||
|
);
|
||||||
|
NotificationManager manager = getSystemService(NotificationManager.class);
|
||||||
|
if (manager != null) {
|
||||||
|
manager.createNotificationChannel(serviceChannel);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
12
rit-driver-app/app/src/main/res/drawable/ic_launcher.xml
Normal file
12
rit-driver-app/app/src/main/res/drawable/ic_launcher.xml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="108dp"
|
||||||
|
android:height="108dp"
|
||||||
|
android:viewportWidth="108"
|
||||||
|
android:viewportHeight="108">
|
||||||
|
<path
|
||||||
|
android:fillColor="#1E293B"
|
||||||
|
android:pathData="M0,0h108v108h-108z" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#F97316"
|
||||||
|
android:pathData="M54,20 C35.22,20 20,35.22 20,54 C20,72.78 35.22,88 54,88 C72.78,88 88,72.78 88,54 C88,35.22 72.78,20 54,20 Z M54,76 C41.85,76 32,66.15 32,54 C32,41.85 41.85,32 54,32 C66.15,32 76,41.85 76,54 C76,66.15 66.15,76 54,76 Z M54,40 L60,54 L54,68 L48,54 Z" />
|
||||||
|
</vector>
|
||||||
148
rit-driver-app/app/src/main/res/layout/activity_main.xml
Normal file
148
rit-driver-app/app/src/main/res/layout/activity_main.xml
Normal file
@@ -0,0 +1,148 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:fillViewport="true"
|
||||||
|
android:background="#1E293B">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:padding="24dp">
|
||||||
|
|
||||||
|
<!-- Title -->
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="RIT Driver Tracker"
|
||||||
|
android:textColor="#FFFFFF"
|
||||||
|
android:textSize="28sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:gravity="center"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
|
android:layout_marginBottom="8dp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Live Background Geolocation Broadcaster"
|
||||||
|
android:textColor="#94A3B8"
|
||||||
|
android:textSize="12sp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:layout_marginBottom="32dp" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Route Number Input -->
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="BUS ROUTE NUMBER"
|
||||||
|
android:textColor="#94A3B8"
|
||||||
|
android:textSize="11sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:layout_marginBottom="6dp" />
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/etRouteNumber"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="52dp"
|
||||||
|
android:background="@android:drawable/editbox_background"
|
||||||
|
android:hint="R01"
|
||||||
|
android:text="R01"
|
||||||
|
android:inputType="textCapCharacters"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:layout_marginBottom="20dp" />
|
||||||
|
|
||||||
|
<!-- Driver PIN Input -->
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="DRIVER SECURITY PIN"
|
||||||
|
android:textColor="#94A3B8"
|
||||||
|
android:textSize="11sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:layout_marginBottom="6dp" />
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/etDriverPin"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="52dp"
|
||||||
|
android:background="@android:drawable/editbox_background"
|
||||||
|
android:hint="Enter Security PIN"
|
||||||
|
android:text="RITDRIVER"
|
||||||
|
android:inputType="textPassword"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:layout_marginBottom="32dp" />
|
||||||
|
|
||||||
|
<!-- Start Sharing Button -->
|
||||||
|
<Button
|
||||||
|
android:id="@+id/btnStartSharing"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="56dp"
|
||||||
|
android:backgroundTint="#F97316"
|
||||||
|
android:text="START LOCATION SHARING"
|
||||||
|
android:textColor="#FFFFFF"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:layout_marginBottom="16dp" />
|
||||||
|
|
||||||
|
<!-- Stop Sharing Button -->
|
||||||
|
<Button
|
||||||
|
android:id="@+id/btnStopSharing"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="56dp"
|
||||||
|
android:backgroundTint="#EF4444"
|
||||||
|
android:text="STOP LOCATION SHARING"
|
||||||
|
android:textColor="#FFFFFF"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:visibility="gone"
|
||||||
|
android:layout_marginBottom="24dp" />
|
||||||
|
|
||||||
|
<!-- Status Card -->
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/statusCard"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:background="#0F172A"
|
||||||
|
android:padding="16dp"
|
||||||
|
android:visibility="visible">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvStatusHeader"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="STATUS: INACTIVE"
|
||||||
|
android:textColor="#94A3B8"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textSize="12sp"
|
||||||
|
android:layout_marginBottom="8dp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvStatusLogs"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Toggle location sharing to begin tracking.\nKeep phone screen turned on or off — the app will broadcast fine coordinates in the background."
|
||||||
|
android:textColor="#64748B"
|
||||||
|
android:textSize="12sp"
|
||||||
|
android:lineSpacingExtra="3dp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- Keep screen notice -->
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Notice: Once active, you can lock the screen or close the app interface. The native system foreground notification service keeps tracking alive."
|
||||||
|
android:textColor="#64748B"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
|
android:layout_marginBottom="24dp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</ScrollView>
|
||||||
3
rit-driver-app/app/src/main/res/values/strings.xml
Normal file
3
rit-driver-app/app/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<resources>
|
||||||
|
<string name="app_name">RIT Driver Tracker</string>
|
||||||
|
</resources>
|
||||||
4
rit-driver-app/build.gradle
Normal file
4
rit-driver-app/build.gradle
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
plugins {
|
||||||
|
id 'com.android.application' version '8.7.2' apply false
|
||||||
|
}
|
||||||
4
rit-driver-app/gradle.properties
Normal file
4
rit-driver-app/gradle.properties
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Project-wide Gradle settings.
|
||||||
|
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
||||||
|
android.useAndroidX=true
|
||||||
|
android.enableJetifier=true
|
||||||
BIN
rit-driver-app/gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
BIN
rit-driver-app/gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
Binary file not shown.
7
rit-driver-app/gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
7
rit-driver-app/gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#Fri Jul 24 14:49:37 IST 2026
|
||||||
|
distributionBase=GRADLE_USER_HOME
|
||||||
|
distributionPath=wrapper/dists
|
||||||
|
distributionSha256Sum=d725d707bfabd4dfdc958c624003b3c80accc03f7037b5122c4b1d0ef15cecab
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
|
||||||
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
zipStorePath=wrapper/dists
|
||||||
248
rit-driver-app/gradlew
vendored
Normal file
248
rit-driver-app/gradlew
vendored
Normal file
@@ -0,0 +1,248 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright © 2015 the original authors.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# Gradle start up script for POSIX generated by Gradle.
|
||||||
|
#
|
||||||
|
# Important for running:
|
||||||
|
#
|
||||||
|
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||||
|
# noncompliant, but you have some other compliant shell such as ksh or
|
||||||
|
# bash, then to run this script, type that shell name before the whole
|
||||||
|
# command line, like:
|
||||||
|
#
|
||||||
|
# ksh Gradle
|
||||||
|
#
|
||||||
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
|
# requires all of these POSIX shell features:
|
||||||
|
# * functions;
|
||||||
|
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||||
|
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||||
|
# * compound commands having a testable exit status, especially «case»;
|
||||||
|
# * various built-in commands including «command», «set», and «ulimit».
|
||||||
|
#
|
||||||
|
# Important for patching:
|
||||||
|
#
|
||||||
|
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||||
|
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||||
|
#
|
||||||
|
# The "traditional" practice of packing multiple parameters into a
|
||||||
|
# space-separated string is a well documented source of bugs and security
|
||||||
|
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||||
|
# options in "$@", and eventually passing that to Java.
|
||||||
|
#
|
||||||
|
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||||
|
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||||
|
# see the in-line comments for details.
|
||||||
|
#
|
||||||
|
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||||
|
# Darwin, MinGW, and NonStop.
|
||||||
|
#
|
||||||
|
# (3) This script is generated from the Groovy template
|
||||||
|
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||||
|
# within the Gradle project.
|
||||||
|
#
|
||||||
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||||
|
#
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
# Attempt to set APP_HOME
|
||||||
|
|
||||||
|
# Resolve links: $0 may be a link
|
||||||
|
app_path=$0
|
||||||
|
|
||||||
|
# Need this for daisy-chained symlinks.
|
||||||
|
while
|
||||||
|
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||||
|
[ -h "$app_path" ]
|
||||||
|
do
|
||||||
|
ls=$( ls -ld "$app_path" )
|
||||||
|
link=${ls#*' -> '}
|
||||||
|
case $link in #(
|
||||||
|
/*) app_path=$link ;; #(
|
||||||
|
*) app_path=$APP_HOME$link ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
# This is normally unused
|
||||||
|
# shellcheck disable=SC2034
|
||||||
|
APP_BASE_NAME=${0##*/}
|
||||||
|
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||||
|
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
|
||||||
|
|
||||||
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
|
MAX_FD=maximum
|
||||||
|
|
||||||
|
warn () {
|
||||||
|
echo "$*"
|
||||||
|
} >&2
|
||||||
|
|
||||||
|
die () {
|
||||||
|
echo
|
||||||
|
echo "$*"
|
||||||
|
echo
|
||||||
|
exit 1
|
||||||
|
} >&2
|
||||||
|
|
||||||
|
# OS specific support (must be 'true' or 'false').
|
||||||
|
cygwin=false
|
||||||
|
msys=false
|
||||||
|
darwin=false
|
||||||
|
nonstop=false
|
||||||
|
case "$( uname )" in #(
|
||||||
|
CYGWIN* ) cygwin=true ;; #(
|
||||||
|
Darwin* ) darwin=true ;; #(
|
||||||
|
MSYS* | MINGW* ) msys=true ;; #(
|
||||||
|
NONSTOP* ) nonstop=true ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Determine the Java command to use to start the JVM.
|
||||||
|
if [ -n "$JAVA_HOME" ] ; then
|
||||||
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||||
|
# IBM's JDK on AIX uses strange locations for the executables
|
||||||
|
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||||
|
else
|
||||||
|
JAVACMD=$JAVA_HOME/bin/java
|
||||||
|
fi
|
||||||
|
if [ ! -x "$JAVACMD" ] ; then
|
||||||
|
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||||
|
|
||||||
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
location of your Java installation."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
JAVACMD=java
|
||||||
|
if ! command -v java >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
|
||||||
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
location of your Java installation."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Increase the maximum file descriptors if we can.
|
||||||
|
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||||
|
case $MAX_FD in #(
|
||||||
|
max*)
|
||||||
|
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
||||||
|
# shellcheck disable=SC2039,SC3045
|
||||||
|
MAX_FD=$( ulimit -H -n ) ||
|
||||||
|
warn "Could not query maximum file descriptor limit"
|
||||||
|
esac
|
||||||
|
case $MAX_FD in #(
|
||||||
|
'' | soft) :;; #(
|
||||||
|
*)
|
||||||
|
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
||||||
|
# shellcheck disable=SC2039,SC3045
|
||||||
|
ulimit -n "$MAX_FD" ||
|
||||||
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Collect all arguments for the java command, stacking in reverse order:
|
||||||
|
# * args from the command line
|
||||||
|
# * the main class name
|
||||||
|
# * -classpath
|
||||||
|
# * -D...appname settings
|
||||||
|
# * --module-path (only if needed)
|
||||||
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||||
|
|
||||||
|
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||||
|
if "$cygwin" || "$msys" ; then
|
||||||
|
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||||
|
|
||||||
|
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||||
|
|
||||||
|
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||||
|
for arg do
|
||||||
|
if
|
||||||
|
case $arg in #(
|
||||||
|
-*) false ;; # don't mess with options #(
|
||||||
|
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||||
|
[ -e "$t" ] ;; #(
|
||||||
|
*) false ;;
|
||||||
|
esac
|
||||||
|
then
|
||||||
|
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||||
|
fi
|
||||||
|
# Roll the args list around exactly as many times as the number of
|
||||||
|
# args, so each arg winds up back in the position where it started, but
|
||||||
|
# possibly modified.
|
||||||
|
#
|
||||||
|
# NB: a `for` loop captures its iteration list before it begins, so
|
||||||
|
# changing the positional parameters here affects neither the number of
|
||||||
|
# iterations, nor the values presented in `arg`.
|
||||||
|
shift # remove old arg
|
||||||
|
set -- "$@" "$arg" # push replacement arg
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
|
# Collect all arguments for the java command:
|
||||||
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||||
|
# and any embedded shellness will be escaped.
|
||||||
|
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||||
|
# treated as '${Hostname}' itself on the command line.
|
||||||
|
|
||||||
|
set -- \
|
||||||
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||||
|
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
|
||||||
|
"$@"
|
||||||
|
|
||||||
|
# Stop when "xargs" is not available.
|
||||||
|
if ! command -v xargs >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
die "xargs is not available"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Use "xargs" to parse quoted args.
|
||||||
|
#
|
||||||
|
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||||
|
#
|
||||||
|
# In Bash we could simply go:
|
||||||
|
#
|
||||||
|
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||||
|
# set -- "${ARGS[@]}" "$@"
|
||||||
|
#
|
||||||
|
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||||
|
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||||
|
# character that might be a shell metacharacter, then use eval to reverse
|
||||||
|
# that process (while maintaining the separation between arguments), and wrap
|
||||||
|
# the whole thing up as a single "set" statement.
|
||||||
|
#
|
||||||
|
# This will of course break if any of these variables contains a newline or
|
||||||
|
# an unmatched quote.
|
||||||
|
#
|
||||||
|
|
||||||
|
eval "set -- $(
|
||||||
|
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||||
|
xargs -n1 |
|
||||||
|
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||||
|
tr '\n' ' '
|
||||||
|
)" '"$@"'
|
||||||
|
|
||||||
|
exec "$JAVACMD" "$@"
|
||||||
93
rit-driver-app/gradlew.bat
vendored
Normal file
93
rit-driver-app/gradlew.bat
vendored
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
@rem
|
||||||
|
@rem Copyright 2015 the original author or authors.
|
||||||
|
@rem
|
||||||
|
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@rem you may not use this file except in compliance with the License.
|
||||||
|
@rem You may obtain a copy of the License at
|
||||||
|
@rem
|
||||||
|
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
@rem
|
||||||
|
@rem Unless required by applicable law or agreed to in writing, software
|
||||||
|
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
@rem See the License for the specific language governing permissions and
|
||||||
|
@rem limitations under the License.
|
||||||
|
@rem
|
||||||
|
@rem SPDX-License-Identifier: Apache-2.0
|
||||||
|
@rem
|
||||||
|
|
||||||
|
@if "%DEBUG%"=="" @echo off
|
||||||
|
@rem ##########################################################################
|
||||||
|
@rem
|
||||||
|
@rem Gradle startup script for Windows
|
||||||
|
@rem
|
||||||
|
@rem ##########################################################################
|
||||||
|
|
||||||
|
@rem Set local scope for the variables with windows NT shell
|
||||||
|
if "%OS%"=="Windows_NT" setlocal
|
||||||
|
|
||||||
|
set DIRNAME=%~dp0
|
||||||
|
if "%DIRNAME%"=="" set DIRNAME=.
|
||||||
|
@rem This is normally unused
|
||||||
|
set APP_BASE_NAME=%~n0
|
||||||
|
set APP_HOME=%DIRNAME%
|
||||||
|
|
||||||
|
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||||
|
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||||
|
|
||||||
|
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||||
|
|
||||||
|
@rem Find java.exe
|
||||||
|
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||||
|
|
||||||
|
set JAVA_EXE=java.exe
|
||||||
|
%JAVA_EXE% -version >NUL 2>&1
|
||||||
|
if %ERRORLEVEL% equ 0 goto execute
|
||||||
|
|
||||||
|
echo. 1>&2
|
||||||
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
||||||
|
echo. 1>&2
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||||
|
echo location of your Java installation. 1>&2
|
||||||
|
|
||||||
|
goto fail
|
||||||
|
|
||||||
|
:findJavaFromJavaHome
|
||||||
|
set JAVA_HOME=%JAVA_HOME:"=%
|
||||||
|
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||||
|
|
||||||
|
if exist "%JAVA_EXE%" goto execute
|
||||||
|
|
||||||
|
echo. 1>&2
|
||||||
|
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
||||||
|
echo. 1>&2
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||||
|
echo location of your Java installation. 1>&2
|
||||||
|
|
||||||
|
goto fail
|
||||||
|
|
||||||
|
:execute
|
||||||
|
@rem Setup the command line
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@rem Execute Gradle
|
||||||
|
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
||||||
|
|
||||||
|
:end
|
||||||
|
@rem End local scope for the variables with windows NT shell
|
||||||
|
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||||
|
|
||||||
|
:fail
|
||||||
|
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||||
|
rem the _cmd.exe /c_ return code!
|
||||||
|
set EXIT_CODE=%ERRORLEVEL%
|
||||||
|
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||||
|
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||||
|
exit /b %EXIT_CODE%
|
||||||
|
|
||||||
|
:mainEnd
|
||||||
|
if "%OS%"=="Windows_NT" endlocal
|
||||||
|
|
||||||
|
:omega
|
||||||
8
rit-driver-app/local.properties
Normal file
8
rit-driver-app/local.properties
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
## This file must *NOT* be checked into Version Control Systems,
|
||||||
|
# as it contains information specific to your local configuration.
|
||||||
|
#
|
||||||
|
# Location of the SDK. This is only used by Gradle.
|
||||||
|
# For customization when using a Version Control System, please read the
|
||||||
|
# header note.
|
||||||
|
#Fri Jul 24 14:24:21 IST 2026
|
||||||
|
sdk.dir=C\:\\Users\\dorut\\AppData\\Local\\Android\\Sdk
|
||||||
17
rit-driver-app/settings.gradle
Normal file
17
rit-driver-app/settings.gradle
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
pluginManagement {
|
||||||
|
repositories {
|
||||||
|
google()
|
||||||
|
mavenCentral()
|
||||||
|
gradlePluginPortal()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
dependencyResolutionManagement {
|
||||||
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||||
|
repositories {
|
||||||
|
google()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
rootProject.name = "RIT Driver Tracker"
|
||||||
|
include ':app'
|
||||||
@@ -1,8 +1,9 @@
|
|||||||
import { useEffect, useMemo } from 'react';
|
import { useEffect, useMemo, useState } from 'react';
|
||||||
import { MapContainer, TileLayer, Marker, Popup, Polyline, useMap } from 'react-leaflet';
|
import { MapContainer, TileLayer, Marker, Popup, Polyline, useMap } from 'react-leaflet';
|
||||||
import L from 'leaflet';
|
import L from 'leaflet';
|
||||||
import 'leaflet/dist/leaflet.css';
|
import 'leaflet/dist/leaflet.css';
|
||||||
import type { BusRoute } from '@/types';
|
import type { BusRoute } from '@/types';
|
||||||
|
import { getBackendUrl } from '@/lib/utils';
|
||||||
|
|
||||||
// Standard Leaflet Icon fix for Vite
|
// Standard Leaflet Icon fix for Vite
|
||||||
import markerIcon2x from 'leaflet/dist/images/marker-icon-2x.png';
|
import markerIcon2x from 'leaflet/dist/images/marker-icon-2x.png';
|
||||||
@@ -27,6 +28,24 @@ const isValidCoordinate = (lat?: number, lng?: number): boolean => {
|
|||||||
return lat >= MIN_LAT && lat <= MAX_LAT && lng >= MIN_LNG && lng <= MAX_LNG;
|
return lat >= MIN_LAT && lat <= MAX_LAT && lng >= MIN_LNG && lng <= MAX_LNG;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const isRealStopCoordinate = (stop: { name: string; lat?: number; lng?: number }): boolean => {
|
||||||
|
if (stop.lat === undefined || stop.lng === undefined) return false;
|
||||||
|
if (!isValidCoordinate(stop.lat, stop.lng)) return false;
|
||||||
|
|
||||||
|
// Check for RIT Campus coordinate fallback (13.0118, 80.0214)
|
||||||
|
const isRITCoord = Math.abs(stop.lat - 13.0118) < 0.001 && Math.abs(stop.lng - 80.0214) < 0.001;
|
||||||
|
const isRITName = stop.name.toLowerCase().includes("rit") ||
|
||||||
|
stop.name.toLowerCase().includes("campus") ||
|
||||||
|
stop.name.toLowerCase().includes("college") ||
|
||||||
|
stop.name.toLowerCase().includes("rajalakshmi");
|
||||||
|
|
||||||
|
if (isRITCoord && !isRITName) {
|
||||||
|
return false; // Exclude defaulted RIT Campus coordinates
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
};
|
||||||
|
|
||||||
// Custom Premium DivIcons using Tailwind CSS
|
// Custom Premium DivIcons using Tailwind CSS
|
||||||
const getStartIcon = (label: string = "1") => L.divIcon({
|
const getStartIcon = (label: string = "1") => L.divIcon({
|
||||||
html: `<div class="flex items-center justify-center w-6 h-6 rounded-full bg-emerald-500 border-2 border-white shadow-md text-white text-[10px] font-extrabold hover:scale-110 transition-transform">${label}</div>`,
|
html: `<div class="flex items-center justify-center w-6 h-6 rounded-full bg-emerald-500 border-2 border-white shadow-md text-white text-[10px] font-extrabold hover:scale-110 transition-transform">${label}</div>`,
|
||||||
@@ -49,6 +68,13 @@ const campusIcon = L.divIcon({
|
|||||||
iconAnchor: [18, 18],
|
iconAnchor: [18, 18],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const liveBusIcon = L.divIcon({
|
||||||
|
html: `<div class="relative flex items-center justify-center w-9 h-9 rounded-full bg-emerald-500 border-2 border-white shadow-lg text-white text-sm font-bold"><span class="absolute inset-0 rounded-full bg-emerald-500/40 animate-ping"></span>🚌</div>`,
|
||||||
|
className: '',
|
||||||
|
iconSize: [36, 36],
|
||||||
|
iconAnchor: [18, 18],
|
||||||
|
});
|
||||||
|
|
||||||
// Helper component to auto-pan and fit the map bounds to the active route
|
// Helper component to auto-pan and fit the map bounds to the active route
|
||||||
function MapUpdater({ bounds }: { bounds: L.LatLngBoundsExpression | null }) {
|
function MapUpdater({ bounds }: { bounds: L.LatLngBoundsExpression | null }) {
|
||||||
const map = useMap();
|
const map = useMap();
|
||||||
@@ -68,27 +94,76 @@ interface BusRouteMapProps {
|
|||||||
const DEFAULT_CENTER = [13.0118, 80.0214]; // RIT Campus default
|
const DEFAULT_CENTER = [13.0118, 80.0214]; // RIT Campus default
|
||||||
|
|
||||||
export default function BusRouteMap({ selectedRoute, allRoutes }: BusRouteMapProps) {
|
export default function BusRouteMap({ selectedRoute, allRoutes }: BusRouteMapProps) {
|
||||||
|
const [allLiveLocations, setAllLiveLocations] = useState<Record<String, { latitude: number; longitude: number }>>({});
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const fetchLiveLocations = () => {
|
||||||
|
fetch(getBackendUrl('/api/bus-locations'))
|
||||||
|
.then((res) => {
|
||||||
|
if (res.ok) return res.json();
|
||||||
|
return [];
|
||||||
|
})
|
||||||
|
.then((data: Array<{ routeNumber: string; latitude: number; longitude: number }>) => {
|
||||||
|
if (Array.isArray(data)) {
|
||||||
|
const locMap: Record<string, { latitude: number; longitude: number }> = {};
|
||||||
|
data.forEach((item) => {
|
||||||
|
if (item.routeNumber && item.latitude && item.longitude) {
|
||||||
|
locMap[item.routeNumber] = { latitude: item.latitude, longitude: item.longitude };
|
||||||
|
}
|
||||||
|
});
|
||||||
|
setAllLiveLocations(locMap);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(() => {
|
||||||
|
setAllLiveLocations({});
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// Initial fetch
|
||||||
|
fetchLiveLocations();
|
||||||
|
|
||||||
|
// Poll every 3 seconds
|
||||||
|
const interval = setInterval(fetchLiveLocations, 3000);
|
||||||
|
return () => clearInterval(interval);
|
||||||
|
}, []);
|
||||||
// Collect coordinates for the polyline path, filtering out any invalid outliers
|
// Collect coordinates for the polyline path, filtering out any invalid outliers
|
||||||
const pathCoordinates = useMemo(() => {
|
const pathCoordinates = useMemo(() => {
|
||||||
if (!selectedRoute) return [];
|
if (!selectedRoute) return [];
|
||||||
|
|
||||||
const coords: [number, number][] = [];
|
// If route has pre-scraped polyline road path, use it!
|
||||||
|
if (selectedRoute.polyline && selectedRoute.polyline.length > 0) {
|
||||||
// Add start stop coords if valid
|
return selectedRoute.polyline;
|
||||||
if (isValidCoordinate(selectedRoute.from_lat, selectedRoute.from_lng)) {
|
|
||||||
coords.push([selectedRoute.from_lat!, selectedRoute.from_lng!]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add all intermediary stop coords that are valid
|
const coords: [number, number][] = [];
|
||||||
|
|
||||||
|
// Add start stop coords if valid and real
|
||||||
|
if (isValidCoordinate(selectedRoute.from_lat, selectedRoute.from_lng)) {
|
||||||
|
const isStartRIT = Math.abs(selectedRoute.from_lat! - 13.0118) < 0.001 && Math.abs(selectedRoute.from_lng! - 80.0214) < 0.001;
|
||||||
|
const isStartRITName = selectedRoute.from.toLowerCase().includes("rit") ||
|
||||||
|
selectedRoute.from.toLowerCase().includes("campus") ||
|
||||||
|
selectedRoute.from.toLowerCase().includes("college");
|
||||||
|
if (!isStartRIT || isStartRITName) {
|
||||||
|
coords.push([selectedRoute.from_lat!, selectedRoute.from_lng!]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add all intermediary stop coords that are valid and real
|
||||||
selectedRoute.stops.forEach(stop => {
|
selectedRoute.stops.forEach(stop => {
|
||||||
if (isValidCoordinate(stop.lat, stop.lng)) {
|
if (isRealStopCoordinate(stop)) {
|
||||||
coords.push([stop.lat!, stop.lng!]);
|
coords.push([stop.lat!, stop.lng!]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add end stop coords if valid
|
// Add end stop coords if valid and real
|
||||||
if (isValidCoordinate(selectedRoute.to_lat, selectedRoute.to_lng)) {
|
if (isValidCoordinate(selectedRoute.to_lat, selectedRoute.to_lng)) {
|
||||||
coords.push([selectedRoute.to_lat!, selectedRoute.to_lng!]);
|
const isEndRIT = Math.abs(selectedRoute.to_lat! - 13.0118) < 0.001 && Math.abs(selectedRoute.to_lng! - 80.0214) < 0.001;
|
||||||
|
const isEndRITName = selectedRoute.to.toLowerCase().includes("rit") ||
|
||||||
|
selectedRoute.to.toLowerCase().includes("campus") ||
|
||||||
|
selectedRoute.to.toLowerCase().includes("college");
|
||||||
|
if (!isEndRIT || isEndRITName) {
|
||||||
|
coords.push([selectedRoute.to_lat!, selectedRoute.to_lng!]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return coords;
|
return coords;
|
||||||
@@ -103,8 +178,8 @@ export default function BusRouteMap({ selectedRoute, allRoutes }: BusRouteMapPro
|
|||||||
// Determine which markers to display
|
// Determine which markers to display
|
||||||
const renderMarkers = () => {
|
const renderMarkers = () => {
|
||||||
if (selectedRoute) {
|
if (selectedRoute) {
|
||||||
// Filter out stops that do not have valid coordinates
|
// Filter out stops that do not have valid/real coordinates
|
||||||
const validStops = selectedRoute.stops.filter(stop => isValidCoordinate(stop.lat, stop.lng));
|
const validStops = selectedRoute.stops.filter(stop => isRealStopCoordinate(stop));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@@ -192,6 +267,27 @@ export default function BusRouteMap({ selectedRoute, allRoutes }: BusRouteMapPro
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
{renderMarkers()}
|
{renderMarkers()}
|
||||||
|
|
||||||
|
{Object.entries(allLiveLocations).map(([rNum, loc]) => {
|
||||||
|
if (selectedRoute && selectedRoute.number !== rNum) return null;
|
||||||
|
return (
|
||||||
|
<Marker
|
||||||
|
key={`live-bus-${rNum}`}
|
||||||
|
position={[loc.latitude, loc.longitude]}
|
||||||
|
icon={liveBusIcon}
|
||||||
|
>
|
||||||
|
<Popup>
|
||||||
|
<div className="p-1 font-sans text-center">
|
||||||
|
<span className="inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full bg-emerald-100 text-emerald-800 text-[10px] font-bold">
|
||||||
|
<span className="w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse"></span>LIVE TRACKING
|
||||||
|
</span>
|
||||||
|
<h4 className="font-bold text-slate-800 text-xs mt-1">Bus {rNum}</h4>
|
||||||
|
<p className="text-[10px] text-slate-500 mt-0.5">Broadcasting live coordinates</p>
|
||||||
|
</div>
|
||||||
|
</Popup>
|
||||||
|
</Marker>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
|
||||||
{selectedRoute && pathCoordinates.length > 1 && (
|
{selectedRoute && pathCoordinates.length > 1 && (
|
||||||
<Polyline
|
<Polyline
|
||||||
|
|||||||
@@ -20,3 +20,13 @@ export function formatTime(timeStr: string): string {
|
|||||||
export function truncate(str: string, n: number): string {
|
export function truncate(str: string, n: number): string {
|
||||||
return str.length > n ? str.substring(0, n - 1) + '…' : str;
|
return str.length > n ? str.substring(0, n - 1) + '…' : str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const getBackendUrl = (path: string = ''): string => {
|
||||||
|
const host = window.location.hostname;
|
||||||
|
return `http://${host}:8085${path}`;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getChatbotUrl = (path: string = ''): string => {
|
||||||
|
const host = window.location.hostname;
|
||||||
|
return `http://${host}:8081${path}`;
|
||||||
|
};
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { motion, AnimatePresence } from 'framer-motion';
|
|||||||
import { Bot, Send, Sparkles, RefreshCw, Mic, X, ChevronRight } from 'lucide-react';
|
import { Bot, Send, Sparkles, RefreshCw, Mic, X, ChevronRight } from 'lucide-react';
|
||||||
import { AI_SUGGESTED_PROMPTS } from '@/constants';
|
import { AI_SUGGESTED_PROMPTS } from '@/constants';
|
||||||
import type { ChatMessage } from '@/types';
|
import type { ChatMessage } from '@/types';
|
||||||
|
import { getChatbotUrl } from '@/lib/utils';
|
||||||
|
|
||||||
const INITIAL_MESSAGES: ChatMessage[] = [
|
const INITIAL_MESSAGES: ChatMessage[] = [
|
||||||
{
|
{
|
||||||
@@ -44,7 +45,7 @@ export default function AIAssistant() {
|
|||||||
setIsTyping(true); // Call the Go chatbot microservice
|
setIsTyping(true); // Call the Go chatbot microservice
|
||||||
let responseText = '';
|
let responseText = '';
|
||||||
try {
|
try {
|
||||||
const res = await fetch('http://localhost:8081/api/chat', {
|
const res = await fetch(getChatbotUrl('/api/chat'), {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify({ message: text }),
|
body: JSON.stringify({ message: text }),
|
||||||
@@ -72,7 +73,7 @@ export default function AIAssistant() {
|
|||||||
} else if (lower.includes('library')) {
|
} else if (lower.includes('library')) {
|
||||||
responseText = responses.library;
|
responseText = responses.library;
|
||||||
} else {
|
} else {
|
||||||
responseText = `Thank you for your question about **"${text}"**!\n\nI couldn't reach the chatbot API server. Please make sure the Go service is running on http://localhost:8081.`;
|
responseText = `Thank you for your question about **"${text}"**!\n\nI couldn't reach the chatbot API server. Please make sure the Go service is running on ${getChatbotUrl()}.`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ import { FACULTY_DATA, CAMPUS_LOCATIONS, DEPARTMENTS } from '@/constants';
|
|||||||
import * as LucideIcons from 'lucide-react';
|
import * as LucideIcons from 'lucide-react';
|
||||||
import { useLocation } from 'react-router-dom';
|
import { useLocation } from 'react-router-dom';
|
||||||
import type { BusRoute } from '@/types';
|
import type { BusRoute } from '@/types';
|
||||||
|
import { getBackendUrl } from '@/lib/utils';
|
||||||
|
|
||||||
interface LocationSpot {
|
interface LocationSpot {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -101,6 +102,7 @@ export default function Campus() {
|
|||||||
const [busRoutes, setBusRoutes] = useState<BusRoute[]>([]);
|
const [busRoutes, setBusRoutes] = useState<BusRoute[]>([]);
|
||||||
const [loadingBus, setLoadingBus] = useState(true);
|
const [loadingBus, setLoadingBus] = useState(true);
|
||||||
const [selectedBusRoute, setSelectedBusRoute] = useState<BusRoute | null>(null);
|
const [selectedBusRoute, setSelectedBusRoute] = useState<BusRoute | null>(null);
|
||||||
|
const [hasFetchedBus, setHasFetchedBus] = useState(false);
|
||||||
|
|
||||||
// Interactive Map State
|
// Interactive Map State
|
||||||
const [zoomLevel, setZoomLevel] = useState(1);
|
const [zoomLevel, setZoomLevel] = useState(1);
|
||||||
@@ -178,23 +180,38 @@ export default function Campus() {
|
|||||||
}, [location.search]);
|
}, [location.search]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (activeTab === 'bus' && busRoutes.length === 0) {
|
if (activeTab === 'bus' && !hasFetchedBus) {
|
||||||
setLoadingBus(true);
|
setLoadingBus(true);
|
||||||
fetch('http://localhost:8080/api/bus-routes')
|
fetch(getBackendUrl('/api/bus-routes'))
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (!res.ok) throw new Error('Failed to fetch');
|
if (!res.ok) throw new Error('Backend offline');
|
||||||
return res.json();
|
return res.json();
|
||||||
})
|
})
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
setBusRoutes(data);
|
if (data && data.length > 0) {
|
||||||
|
setBusRoutes(data);
|
||||||
|
setSelectedBusRoute(prev => prev || data[0]);
|
||||||
|
} else {
|
||||||
|
throw new Error('Empty data');
|
||||||
|
}
|
||||||
setLoadingBus(false);
|
setLoadingBus(false);
|
||||||
|
setHasFetchedBus(true);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch(() => {
|
||||||
console.error('Error fetching bus routes:', err);
|
fetch('/bus_routes.json')
|
||||||
setLoadingBus(false);
|
.then((res) => res.json())
|
||||||
|
.then((data) => {
|
||||||
|
setBusRoutes(data);
|
||||||
|
setSelectedBusRoute(prev => prev || data[0]);
|
||||||
|
})
|
||||||
|
.catch((err) => console.error('Fallback fetch error:', err))
|
||||||
|
.finally(() => {
|
||||||
|
setLoadingBus(false);
|
||||||
|
setHasFetchedBus(true);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, [activeTab, busRoutes.length]);
|
}, [activeTab, hasFetchedBus]);
|
||||||
|
|
||||||
const filteredAndSortedFaculty = useMemo(() => {
|
const filteredAndSortedFaculty = useMemo(() => {
|
||||||
const filtered = FACULTY_DATA.filter((f) => {
|
const filtered = FACULTY_DATA.filter((f) => {
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import {
|
|||||||
Shield, Lock, Smile, ChevronRight, Search, Plus, User
|
Shield, Lock, Smile, ChevronRight, Search, Plus, User
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import SectionTitle from '@/components/SectionTitle/SectionTitle';
|
import SectionTitle from '@/components/SectionTitle/SectionTitle';
|
||||||
|
import { getBackendUrl } from '@/lib/utils';
|
||||||
import { StaggerContainer, StaggerItem } from '@/components/AnimatedContainer/AnimatedContainer';
|
import { StaggerContainer, StaggerItem } from '@/components/AnimatedContainer/AnimatedContainer';
|
||||||
import AnimatedContainer from '@/components/AnimatedContainer/AnimatedContainer';
|
import AnimatedContainer from '@/components/AnimatedContainer/AnimatedContainer';
|
||||||
import { CONFESSIONS_DATA } from '@/constants';
|
import { CONFESSIONS_DATA } from '@/constants';
|
||||||
@@ -91,7 +92,7 @@ export default function Community() {
|
|||||||
const fetchQuestions = async () => {
|
const fetchQuestions = async () => {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
try {
|
try {
|
||||||
const response = await fetch(`http://localhost:8080/api/questions`);
|
const response = await fetch(getBackendUrl('/api/questions'));
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
// Backend returns oldest-first, reverse to show newest first
|
// Backend returns oldest-first, reverse to show newest first
|
||||||
@@ -193,7 +194,7 @@ export default function Community() {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (isLikedNow) {
|
if (isLikedNow) {
|
||||||
await fetch(`http://localhost:8080/api/questions/${id}/upvote`, {
|
await fetch(getBackendUrl(`/api/questions/${id}/upvote`), {
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
});
|
});
|
||||||
fetchQuestions();
|
fetchQuestions();
|
||||||
@@ -240,7 +241,7 @@ export default function Community() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch('http://localhost:8080/api/questions', {
|
const response = await fetch(getBackendUrl('/api/questions'), {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { useSearchParams } from 'react-router-dom';
|
|||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
import { Search, Download, Filter, BookOpen, FileText, ScrollText, BookMarked, ChevronRight, ArrowLeft, ExternalLink, Code, Globe, GitBranch, Cloud, Palette, Shield, DollarSign, BarChart3, Users, Megaphone, TrendingUp, UserCheck, ClipboardList, ShoppingCart, Cpu, Activity, LayoutGrid, Layers, Zap, Settings, Gauge, Radio, Wifi, Bot, Sun, Wrench, Binary, BatteryCharging, CircuitBoard, ShieldCheck, BrainCircuit, FlaskConical, Lock, Terminal, Dna, Microscope, Sparkles, Smartphone, Monitor, Server, CheckCircle2, Database, Briefcase } from 'lucide-react';
|
import { Search, Download, Filter, BookOpen, FileText, ScrollText, BookMarked, ChevronRight, ArrowLeft, ExternalLink, Code, Globe, GitBranch, Cloud, Palette, Shield, DollarSign, BarChart3, Users, Megaphone, TrendingUp, UserCheck, ClipboardList, ShoppingCart, Cpu, Activity, LayoutGrid, Layers, Zap, Settings, Gauge, Radio, Wifi, Bot, Sun, Wrench, Binary, BatteryCharging, CircuitBoard, ShieldCheck, BrainCircuit, FlaskConical, Lock, Terminal, Dna, Microscope, Sparkles, Smartphone, Monitor, Server, CheckCircle2, Database, Briefcase } from 'lucide-react';
|
||||||
import SectionTitle from '@/components/SectionTitle/SectionTitle';
|
import SectionTitle from '@/components/SectionTitle/SectionTitle';
|
||||||
|
import { getBackendUrl } from '@/lib/utils';
|
||||||
import { StaggerContainer, StaggerItem } from '@/components/AnimatedContainer/AnimatedContainer';
|
import { StaggerContainer, StaggerItem } from '@/components/AnimatedContainer/AnimatedContainer';
|
||||||
import { TOOLKIT_ITEMS, DEPARTMENTS } from '@/constants';
|
import { TOOLKIT_ITEMS, DEPARTMENTS } from '@/constants';
|
||||||
|
|
||||||
@@ -1332,7 +1333,7 @@ export default function Notes() {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const fetchNotes = async () => {
|
const fetchNotes = async () => {
|
||||||
try {
|
try {
|
||||||
const response = await fetch('http://localhost:8080/api/notes');
|
const response = await fetch(getBackendUrl('/api/notes'));
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
const mappedData = data.map((n: any) => ({
|
const mappedData = data.map((n: any) => ({
|
||||||
@@ -1361,7 +1362,7 @@ export default function Notes() {
|
|||||||
|
|
||||||
const handleDownload = async (noteId: string, downloadUrl: string) => {
|
const handleDownload = async (noteId: string, downloadUrl: string) => {
|
||||||
try {
|
try {
|
||||||
await fetch(`http://localhost:8080/api/notes/${noteId}/download`, { method: 'POST' });
|
await fetch(getBackendUrl(`/api/notes/${noteId}/download`), { method: 'POST' });
|
||||||
setNotes(prev => prev.map(n => n.id === noteId ? { ...n, downloads: n.downloads + 1 } : n));
|
setNotes(prev => prev.map(n => n.id === noteId ? { ...n, downloads: n.downloads + 1 } : n));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('Error incrementing download count:', err);
|
console.error('Error incrementing download count:', err);
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ export interface BusRoute {
|
|||||||
from_lng?: number;
|
from_lng?: number;
|
||||||
to_lat?: number;
|
to_lat?: number;
|
||||||
to_lng?: number;
|
to_lng?: number;
|
||||||
|
polyline?: [number, number][];
|
||||||
}
|
}
|
||||||
|
|
||||||
// ─── Notes / PYQs ────────────────────────────────────────────────────────────
|
// ─── Notes / PYQs ────────────────────────────────────────────────────────────
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
"helper_chat_ids": [971749136,5567776672],
|
"helper_chat_ids": [971749136,5567776672],
|
||||||
"discord_bot_token": "",
|
"discord_bot_token": "",
|
||||||
"discord_helper_user_ids": [789393727641878568],
|
"discord_helper_user_ids": [789393727641878568],
|
||||||
"spring_backend_url": "http://localhost:8080"
|
"spring_backend_url": "http://localhost:8085"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -642,5 +642,489 @@
|
|||||||
"Kasimedu": {
|
"Kasimedu": {
|
||||||
"lat": 13.1364038,
|
"lat": 13.1364038,
|
||||||
"lng": 80.2958012
|
"lng": 80.2958012
|
||||||
}
|
},
|
||||||
|
"KattanKulathur": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Kattupakkam": {
|
||||||
|
"lat": 13.0419785,
|
||||||
|
"lng": 80.1253816
|
||||||
|
},
|
||||||
|
"Kavangarai": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Kaveripakkam": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Keelkattalai Bus Stop": {
|
||||||
|
"lat": 12.9687,
|
||||||
|
"lng": 80.2014
|
||||||
|
},
|
||||||
|
"Keerai Mandapam": {
|
||||||
|
"lat": 12.82417,
|
||||||
|
"lng": 79.70369
|
||||||
|
},
|
||||||
|
"Kelambakkam - GH": {
|
||||||
|
"lat": 12.7871437,
|
||||||
|
"lng": 80.219987
|
||||||
|
},
|
||||||
|
"Kellys Signal": {
|
||||||
|
"lat": 13.082,
|
||||||
|
"lng": 80.2435
|
||||||
|
},
|
||||||
|
"Kendra vihar": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Kilpauk Garden": {
|
||||||
|
"lat": 13.0845407,
|
||||||
|
"lng": 80.2311064
|
||||||
|
},
|
||||||
|
"Kishkintha Road": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Kollumedu": {
|
||||||
|
"lat": 13.1634237,
|
||||||
|
"lng": 80.1154064
|
||||||
|
},
|
||||||
|
"Koovam Bus Stop": {
|
||||||
|
"lat": 13.0209313,
|
||||||
|
"lng": 79.8264196
|
||||||
|
},
|
||||||
|
"Korattur Bus Stop": {
|
||||||
|
"lat": 13.1103434,
|
||||||
|
"lng": 80.180364
|
||||||
|
},
|
||||||
|
"Korattur Signal": {
|
||||||
|
"lat": 13.1115484,
|
||||||
|
"lng": 80.1846272
|
||||||
|
},
|
||||||
|
"Kovarthanagiri": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Kovilampakkam": {
|
||||||
|
"lat": 12.951,
|
||||||
|
"lng": 80.1874
|
||||||
|
},
|
||||||
|
"Kovilpathagai": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Kovur": {
|
||||||
|
"lat": 13.0125315,
|
||||||
|
"lng": 80.1211467
|
||||||
|
},
|
||||||
|
"Koyambedu Metro": {
|
||||||
|
"lat": 13.0728,
|
||||||
|
"lng": 80.2019
|
||||||
|
},
|
||||||
|
"Kozhi Pannai": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Krishna Poly": {
|
||||||
|
"lat": 13.0838165,
|
||||||
|
"lng": 80.236031
|
||||||
|
},
|
||||||
|
"Krishna nagar": {
|
||||||
|
"lat": 13.0152993,
|
||||||
|
"lng": 80.1717656
|
||||||
|
},
|
||||||
|
"Krishna nagar bridge": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Kulakarai street": {
|
||||||
|
"lat": 13.1047947,
|
||||||
|
"lng": 80.207129
|
||||||
|
},
|
||||||
|
"Kumanachavadi": {
|
||||||
|
"lat": 13.1166,
|
||||||
|
"lng": 80.1013
|
||||||
|
},
|
||||||
|
"Kumananchavadi": {
|
||||||
|
"lat": 13.0446829,
|
||||||
|
"lng": 80.1189086
|
||||||
|
},
|
||||||
|
"Kundrathur": {
|
||||||
|
"lat": 13.0306501,
|
||||||
|
"lng": 80.1529176
|
||||||
|
},
|
||||||
|
"Kundrathur (theradi)": {
|
||||||
|
"lat": 13.0306501,
|
||||||
|
"lng": 80.1529176
|
||||||
|
},
|
||||||
|
"Kundrathur Thandalam": {
|
||||||
|
"lat": 12.9859139,
|
||||||
|
"lng": 80.1200716
|
||||||
|
},
|
||||||
|
"Kutchery Road": {
|
||||||
|
"lat": 13.0363893,
|
||||||
|
"lng": 80.2687004
|
||||||
|
},
|
||||||
|
"Labour officers Quarters": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Lakshman Sruthi": {
|
||||||
|
"lat": 13.0445465,
|
||||||
|
"lng": 80.2125402
|
||||||
|
},
|
||||||
|
"Lakshmi Nagar": {
|
||||||
|
"lat": 13.1278684,
|
||||||
|
"lng": 80.1987111
|
||||||
|
},
|
||||||
|
"Liberty": {
|
||||||
|
"lat": 13.0327786,
|
||||||
|
"lng": 80.2526813
|
||||||
|
},
|
||||||
|
"Lift Gate": {
|
||||||
|
"lat": 13.161,
|
||||||
|
"lng": 80.3015
|
||||||
|
},
|
||||||
|
"Loyola College": {
|
||||||
|
"lat": 13.0617032,
|
||||||
|
"lng": 80.2346118
|
||||||
|
},
|
||||||
|
"Luz Corner": {
|
||||||
|
"lat": 13.0376266,
|
||||||
|
"lng": 80.2677461
|
||||||
|
},
|
||||||
|
"M.R.Nagar": {
|
||||||
|
"lat": 13.0681064,
|
||||||
|
"lng": 80.2128066
|
||||||
|
},
|
||||||
|
"MGR Nagar": {
|
||||||
|
"lat": 12.9795827,
|
||||||
|
"lng": 80.2494441
|
||||||
|
},
|
||||||
|
"MGR University": {
|
||||||
|
"lat": 13.0337,
|
||||||
|
"lng": 80.2014
|
||||||
|
},
|
||||||
|
"MKB Nagar": {
|
||||||
|
"lat": 13.1225331,
|
||||||
|
"lng": 80.2631374
|
||||||
|
},
|
||||||
|
"MM Nagar Bus Stand": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"MM Nagar Samiyar Gate": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"MMDA 3rd Main Road": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"MMDA Cholan Street": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"MMDA Vallavan Hotel": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Madha Kovil": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Madhavaram Milk Colony": {
|
||||||
|
"lat": 13.1554081,
|
||||||
|
"lng": 80.2425246
|
||||||
|
},
|
||||||
|
"Madhavaram Roundana": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Madina masjid": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Madipakkam Koot Road Bus stop": {
|
||||||
|
"lat": 12.9738,
|
||||||
|
"lng": 80.2087
|
||||||
|
},
|
||||||
|
"Madipakkam UTI Bank": {
|
||||||
|
"lat": 12.9738,
|
||||||
|
"lng": 80.2087
|
||||||
|
},
|
||||||
|
"Maduravaoyal Ration Shop": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Maduravoyal": {
|
||||||
|
"lat": 13.0673,
|
||||||
|
"lng": 80.1627
|
||||||
|
},
|
||||||
|
"Maduravoyal Erikarai": {
|
||||||
|
"lat": 13.0673,
|
||||||
|
"lng": 80.1627
|
||||||
|
},
|
||||||
|
"Maduravoyal Ration Shop": {
|
||||||
|
"lat": 13.0665327,
|
||||||
|
"lng": 80.1748903
|
||||||
|
},
|
||||||
|
"Maduravoyal- Murugan Store": {
|
||||||
|
"lat": 13.0673,
|
||||||
|
"lng": 80.1627
|
||||||
|
},
|
||||||
|
"Madyakailash": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Maharaja traders": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Maharani": {
|
||||||
|
"lat": 13.0393037,
|
||||||
|
"lng": 80.2524686
|
||||||
|
},
|
||||||
|
"Mambakkam (Samathuvapuram)": {
|
||||||
|
"lat": 12.903574,
|
||||||
|
"lng": 80.1845624
|
||||||
|
},
|
||||||
|
"Mambakkam Kulam": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Manali Market": {
|
||||||
|
"lat": 13.1672275,
|
||||||
|
"lng": 80.2598107
|
||||||
|
},
|
||||||
|
"Manali Pudhu nagar": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Manavalanagar Railway Station": {
|
||||||
|
"lat": 13.1068902,
|
||||||
|
"lng": 79.9097083
|
||||||
|
},
|
||||||
|
"Manavalanagar Signal": {
|
||||||
|
"lat": 13.1068902,
|
||||||
|
"lng": 79.9097083
|
||||||
|
},
|
||||||
|
"Mandaveli Bus Depot": {
|
||||||
|
"lat": 13.0265149,
|
||||||
|
"lng": 80.2663081
|
||||||
|
},
|
||||||
|
"Mangadu": {
|
||||||
|
"lat": 13.0209113,
|
||||||
|
"lng": 80.1259365
|
||||||
|
},
|
||||||
|
"Mangal X Road": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Manigandapuram": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Manikandan Nagar": {
|
||||||
|
"lat": 12.9066621,
|
||||||
|
"lng": 80.1523203
|
||||||
|
},
|
||||||
|
"Mannivakkam": {
|
||||||
|
"lat": 12.8943694,
|
||||||
|
"lng": 80.0652271
|
||||||
|
},
|
||||||
|
"Mathanandapuram": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Mathur": {
|
||||||
|
"lat": 13.1678641,
|
||||||
|
"lng": 80.2436918
|
||||||
|
},
|
||||||
|
"Meadows Apprtment": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Medavakkam Koot Road": {
|
||||||
|
"lat": 12.9228538,
|
||||||
|
"lng": 80.1831282
|
||||||
|
},
|
||||||
|
"Medavakkam nilgiris": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Meersahibpet-Market": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Metha Nagar": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Mettu street Signal": {
|
||||||
|
"lat": 13.0977884,
|
||||||
|
"lng": 80.2335806
|
||||||
|
},
|
||||||
|
"Mettukuppam": {
|
||||||
|
"lat": 13.0592324,
|
||||||
|
"lng": 80.1746118
|
||||||
|
},
|
||||||
|
"Metupalayam": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Minjur Bus Stand": {
|
||||||
|
"lat": 13.2820098,
|
||||||
|
"lng": 80.2537109
|
||||||
|
},
|
||||||
|
"Minjur Railway Station": {
|
||||||
|
"lat": 13.2878195,
|
||||||
|
"lng": 80.2558605
|
||||||
|
},
|
||||||
|
"Mint": {
|
||||||
|
"lat": 13.1075,
|
||||||
|
"lng": 80.2785
|
||||||
|
},
|
||||||
|
"Mitnamalli": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Mittanemili": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Mogappair West depot": {
|
||||||
|
"lat": 13.0805,
|
||||||
|
"lng": 80.1654
|
||||||
|
},
|
||||||
|
"Moolakadai": {
|
||||||
|
"lat": 13.1291684,
|
||||||
|
"lng": 80.2416991
|
||||||
|
},
|
||||||
|
"Mugalivakkam": {
|
||||||
|
"lat": 13.0205798,
|
||||||
|
"lng": 80.1685163
|
||||||
|
},
|
||||||
|
"Murugan Kalyana mandapam": {
|
||||||
|
"lat": 12.984051,
|
||||||
|
"lng": 80.2175088
|
||||||
|
},
|
||||||
|
"Murugappa Polytechnic": {
|
||||||
|
"lat": 13.12573,
|
||||||
|
"lng": 80.1162051
|
||||||
|
},
|
||||||
|
"Muthapudupet": {
|
||||||
|
"lat": 13.1479522,
|
||||||
|
"lng": 80.0622889
|
||||||
|
},
|
||||||
|
"Muthukadai": {
|
||||||
|
"lat": 13.0118,
|
||||||
|
"lng": 80.0214
|
||||||
|
},
|
||||||
|
"Muthukumaran College": {
|
||||||
|
"lat": 13.0181602,
|
||||||
|
"lng": 80.1090485
|
||||||
|
},
|
||||||
|
"NSK": {
|
||||||
|
"lat": 13.0777508,
|
||||||
|
"lng": 80.2167134
|
||||||
|
},
|
||||||
|
"NSK Nagar": {
|
||||||
|
"lat": 13.0777508,
|
||||||
|
"lng": 80.2167134
|
||||||
|
},
|
||||||
|
"new vannarpettai": null,
|
||||||
|
"pulianthope": {
|
||||||
|
"lat": 13.0998019,
|
||||||
|
"lng": 80.2641571
|
||||||
|
},
|
||||||
|
"water tank road": {
|
||||||
|
"lat": 13.0687674,
|
||||||
|
"lng": 80.2134301
|
||||||
|
},
|
||||||
|
"thirumangalam blue star": null,
|
||||||
|
"vr mall": {
|
||||||
|
"lat": 13.079402,
|
||||||
|
"lng": 80.1978426
|
||||||
|
},
|
||||||
|
"golden flat": null,
|
||||||
|
"nolambur": {
|
||||||
|
"lat": 13.0747182,
|
||||||
|
"lng": 80.1682206
|
||||||
|
},
|
||||||
|
"madina masjid": null,
|
||||||
|
"nalli": {
|
||||||
|
"lat": 13.040472,
|
||||||
|
"lng": 80.2315653
|
||||||
|
},
|
||||||
|
"thirumangalam metro": {
|
||||||
|
"lat": 13.0853785,
|
||||||
|
"lng": 80.2013107
|
||||||
|
},
|
||||||
|
"nerkundram": {
|
||||||
|
"lat": 13.0688386,
|
||||||
|
"lng": 80.1838987
|
||||||
|
},
|
||||||
|
"olympia": {
|
||||||
|
"lat": 13.0102511,
|
||||||
|
"lng": 80.2109388
|
||||||
|
},
|
||||||
|
"porur saravana": null,
|
||||||
|
"porur saravana store": null,
|
||||||
|
"seasons": {
|
||||||
|
"lat": 13.0366716,
|
||||||
|
"lng": 80.2169684
|
||||||
|
},
|
||||||
|
"kakkan bridge": null,
|
||||||
|
"st thomas mount": {
|
||||||
|
"lat": 12.9947654,
|
||||||
|
"lng": 80.1993715
|
||||||
|
},
|
||||||
|
"maharaja traders": null,
|
||||||
|
"poonamallee": {
|
||||||
|
"lat": 13.0403526,
|
||||||
|
"lng": 80.129575
|
||||||
|
},
|
||||||
|
"thachoor": null,
|
||||||
|
"panjetty": null,
|
||||||
|
"janappanchatram bypass": null,
|
||||||
|
"karanodai bypass": null,
|
||||||
|
"vijaya nallur": null,
|
||||||
|
"toll": {
|
||||||
|
"lat": 13.1365596,
|
||||||
|
"lng": 80.1817536
|
||||||
|
},
|
||||||
|
"padianallur": {
|
||||||
|
"lat": 13.2032865,
|
||||||
|
"lng": 80.1730356
|
||||||
|
},
|
||||||
|
"chengalpattu rattinakinaru": null,
|
||||||
|
"new bus stand": {
|
||||||
|
"lat": 12.9063467,
|
||||||
|
"lng": 80.0965776
|
||||||
|
},
|
||||||
|
"old bus stand": null,
|
||||||
|
"sp kovil": null,
|
||||||
|
"mm nagar samiyar": null,
|
||||||
|
"mm nagar samiyar gate": null,
|
||||||
|
"mm nagar bus stand": null,
|
||||||
|
"thai sathya": null,
|
||||||
|
"porur bridge": {
|
||||||
|
"lat": 13.0343343,
|
||||||
|
"lng": 80.1490465
|
||||||
|
},
|
||||||
|
"iyyappanthangal": null,
|
||||||
|
"vel tech college": {
|
||||||
|
"lat": 13.18822,
|
||||||
|
"lng": 80.1061083
|
||||||
|
},
|
||||||
|
"palavedu service road": {
|
||||||
|
"lat": 13.1401135,
|
||||||
|
"lng": 80.0531019
|
||||||
|
},
|
||||||
|
"nemilichery tollgate": null,
|
||||||
|
"chithukadu blue": null,
|
||||||
|
"panimalar tollgate": null
|
||||||
}
|
}
|
||||||
203
telegram-bot/download_and_scrape_maps.py
Normal file
203
telegram-bot/download_and_scrape_maps.py
Normal file
@@ -0,0 +1,203 @@
|
|||||||
|
"""
|
||||||
|
Download all RIT Transport map pages (map00.php - map45.php) live,
|
||||||
|
parse their stops and polyline coordinates, and output map_coordinates.json.
|
||||||
|
"""
|
||||||
|
|
||||||
|
import os
|
||||||
|
import re
|
||||||
|
import json
|
||||||
|
import time
|
||||||
|
import requests
|
||||||
|
|
||||||
|
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
MAP_PAGES_DIR = os.path.join(CURRENT_DIR, "map_pages")
|
||||||
|
MAP_COORDS_OUTPUT = os.path.join(CURRENT_DIR, "map_coordinates.json")
|
||||||
|
|
||||||
|
os.makedirs(MAP_PAGES_DIR, exist_ok=True)
|
||||||
|
|
||||||
|
|
||||||
|
def download_maps():
|
||||||
|
print("Downloading RIT transport map pages live from fit25.com...")
|
||||||
|
headers = {
|
||||||
|
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
|
||||||
|
}
|
||||||
|
|
||||||
|
downloaded_count = 0
|
||||||
|
# Try downloading maps from 00 to 45
|
||||||
|
for i in range(46):
|
||||||
|
url = f"https://fit25.com/ritRouteMap/map{i:02d}.php?cb={int(time.time())}"
|
||||||
|
filepath = os.path.join(MAP_PAGES_DIR, f"map{i:02d}.html")
|
||||||
|
try:
|
||||||
|
print(f"Fetching Map {i:02d}: {url} ...")
|
||||||
|
res = requests.get(url, headers=headers, timeout=15)
|
||||||
|
if res.status_code == 200:
|
||||||
|
html = res.text
|
||||||
|
if "newpoints" in html or "GPolyline" in html:
|
||||||
|
with open(filepath, "w", encoding="utf-8") as f:
|
||||||
|
f.write(html)
|
||||||
|
print(f" -> Saved {len(html)} bytes to {os.path.basename(filepath)}")
|
||||||
|
downloaded_count += 1
|
||||||
|
else:
|
||||||
|
print(f" -> Skipped (no map data found in response)")
|
||||||
|
else:
|
||||||
|
print(f" -> Skipped (status code {res.status_code})")
|
||||||
|
|
||||||
|
# Respectful delay
|
||||||
|
time.sleep(0.5)
|
||||||
|
except Exception as e:
|
||||||
|
print(f" -> Error fetching map {i:02d}: {e}")
|
||||||
|
time.sleep(1.0)
|
||||||
|
|
||||||
|
print(f"Downloaded {downloaded_count} map page HTML files.")
|
||||||
|
|
||||||
|
|
||||||
|
def extract_stops(html_text: str) -> list:
|
||||||
|
stops = []
|
||||||
|
# Regex to capture newpoints entries, handling potential whitespace variation
|
||||||
|
pattern = re.compile(
|
||||||
|
r"new\s+Array\s*\(\s*"
|
||||||
|
r"([\d.]+)\s*,\s*([\d.]+)\s*,"
|
||||||
|
r"\s*[^,]+\s*,"
|
||||||
|
r"\s*[^,]+\s*,"
|
||||||
|
r"\s*'([^']*)'"
|
||||||
|
r"\s*\)",
|
||||||
|
re.IGNORECASE
|
||||||
|
)
|
||||||
|
for m in pattern.finditer(html_text):
|
||||||
|
try:
|
||||||
|
lat = float(m.group(1))
|
||||||
|
lng = float(m.group(2))
|
||||||
|
label = m.group(3).strip()
|
||||||
|
|
||||||
|
# Match formats like:
|
||||||
|
# - 'Route no:1 - Lift Gate'
|
||||||
|
# - 'Route no:9Vyasarpadi'
|
||||||
|
# - 'Route no: 9MKB Nagar'
|
||||||
|
# - 'Route no:13 - ICF'
|
||||||
|
# - 'Route no:14A - Kakallur'
|
||||||
|
label_match = re.search(r"Route\s+no\s*:\s*([a-zA-Z0-9]+)\s*-?\s*(.*)", label, re.IGNORECASE)
|
||||||
|
if label_match:
|
||||||
|
route_num = label_match.group(1).strip()
|
||||||
|
stop_name = label_match.group(2).strip()
|
||||||
|
# Clean up multiple spaces or hyphens in stop name
|
||||||
|
stop_name = re.sub(r'^-?\s*', '', stop_name)
|
||||||
|
stop_name = " ".join(stop_name.split())
|
||||||
|
if stop_name:
|
||||||
|
stops.append({"route_num": route_num, "name": stop_name, "lat": lat, "lng": lng})
|
||||||
|
except Exception as e:
|
||||||
|
print(f" Error parsing stop line: {m.group(0)} - {e}")
|
||||||
|
return stops
|
||||||
|
|
||||||
|
|
||||||
|
def extract_polylines(html_text: str) -> list:
|
||||||
|
polylines = []
|
||||||
|
poly_pattern = re.compile(r"GPolyline\s*\(\s*\[(.*?)\]", re.DOTALL | re.IGNORECASE)
|
||||||
|
coord_pattern = re.compile(r"GLatLng\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*\)")
|
||||||
|
for poly_match in poly_pattern.finditer(html_text):
|
||||||
|
block = poly_match.group(1)
|
||||||
|
coords = []
|
||||||
|
for coord_match in coord_pattern.finditer(block):
|
||||||
|
coords.append([float(coord_match.group(1)), float(coord_match.group(2))])
|
||||||
|
if coords:
|
||||||
|
polylines.append(coords)
|
||||||
|
return polylines
|
||||||
|
|
||||||
|
|
||||||
|
def merge_polylines(polylines):
|
||||||
|
if not polylines:
|
||||||
|
return []
|
||||||
|
merged = list(polylines[0])
|
||||||
|
for seg in polylines[1:]:
|
||||||
|
if not seg:
|
||||||
|
continue
|
||||||
|
if merged and seg:
|
||||||
|
last = merged[-1]
|
||||||
|
first = seg[0]
|
||||||
|
# Connect if close, else just extend
|
||||||
|
if abs(last[0] - first[0]) < 0.001 and abs(last[1] - first[1]) < 0.001:
|
||||||
|
seg = seg[1:]
|
||||||
|
merged.extend(seg)
|
||||||
|
return merged
|
||||||
|
|
||||||
|
|
||||||
|
def parse_and_save_coordinates():
|
||||||
|
print("\nParsing downloaded map HTML files...")
|
||||||
|
all_routes = {}
|
||||||
|
|
||||||
|
html_files = sorted([f for f in os.listdir(MAP_PAGES_DIR) if f.endswith(".html")])
|
||||||
|
if not html_files:
|
||||||
|
print("Error: No downloaded HTML files found in map_pages directory!")
|
||||||
|
return
|
||||||
|
|
||||||
|
for filename in html_files:
|
||||||
|
filepath = os.path.join(MAP_PAGES_DIR, filename)
|
||||||
|
print(f"Parsing {filename} ...")
|
||||||
|
with open(filepath, "r", encoding="utf-8") as f:
|
||||||
|
content = f.read()
|
||||||
|
|
||||||
|
stops = extract_stops(content)
|
||||||
|
polylines = extract_polylines(content)
|
||||||
|
merged_poly = merge_polylines(polylines)
|
||||||
|
|
||||||
|
if not stops and not polylines:
|
||||||
|
print(f" -> No data parsed")
|
||||||
|
continue
|
||||||
|
|
||||||
|
route_nums = set()
|
||||||
|
for s in stops:
|
||||||
|
rn = s["route_num"]
|
||||||
|
# Clean route num (e.g. '01' -> '1', '14A' -> '14A')
|
||||||
|
rn_clean = re.sub(r'^0+', '', rn)
|
||||||
|
route_nums.add(rn_clean)
|
||||||
|
key = f"R{rn_clean}"
|
||||||
|
if key not in all_routes:
|
||||||
|
all_routes[key] = {"stops": [], "polyline": []}
|
||||||
|
all_routes[key]["stops"].append({
|
||||||
|
"name": s["name"],
|
||||||
|
"lat": s["lat"],
|
||||||
|
"lng": s["lng"]
|
||||||
|
})
|
||||||
|
|
||||||
|
if merged_poly:
|
||||||
|
# If stops are all for a single route, assign the polyline to it
|
||||||
|
if len(route_nums) == 1:
|
||||||
|
rn = list(route_nums)[0]
|
||||||
|
key = f"R{rn}"
|
||||||
|
existing = all_routes.get(key, {}).get("polyline", [])
|
||||||
|
if existing:
|
||||||
|
all_routes[key]["polyline"] = merge_polylines([existing, merged_poly])
|
||||||
|
else:
|
||||||
|
all_routes[key]["polyline"] = merged_poly
|
||||||
|
# Otherwise, try parsing route number from polyline variable comments or assign to all routes found
|
||||||
|
else:
|
||||||
|
# Fallback: assign polyline to all routes mentioned in this file
|
||||||
|
for rn in sorted(route_nums):
|
||||||
|
key = f"R{rn}"
|
||||||
|
if not all_routes[key].get("polyline"):
|
||||||
|
all_routes[key]["polyline"] = merged_poly
|
||||||
|
|
||||||
|
print(f" -> Found {len(stops)} stops, {len(polylines)} polyline segments. Associated routes: {sorted(route_nums)}")
|
||||||
|
|
||||||
|
# Deduplicate stops for each route
|
||||||
|
for key, data in all_routes.items():
|
||||||
|
seen = set()
|
||||||
|
unique = []
|
||||||
|
for s in data["stops"]:
|
||||||
|
ident = (s["name"].lower().strip(), round(s["lat"], 5), round(s["lng"], 5))
|
||||||
|
if ident not in seen:
|
||||||
|
seen.add(ident)
|
||||||
|
unique.append(s)
|
||||||
|
data["stops"] = unique
|
||||||
|
|
||||||
|
with open(MAP_COORDS_OUTPUT, "w", encoding="utf-8") as f:
|
||||||
|
json.dump(all_routes, f, indent=2, ensure_ascii=False)
|
||||||
|
|
||||||
|
total_stops = sum(len(d["stops"]) for d in all_routes.values())
|
||||||
|
total_wp = sum(len(d["polyline"]) for d in all_routes.values())
|
||||||
|
print(f"\nDone! Scraped {len(all_routes)} routes, {total_stops} stops, {total_wp} polyline waypoints.")
|
||||||
|
print(f"Output saved to: {MAP_COORDS_OUTPUT}")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
download_maps()
|
||||||
|
parse_and_save_coordinates()
|
||||||
118676
telegram-bot/map_coordinates.json
Normal file
118676
telegram-bot/map_coordinates.json
Normal file
File diff suppressed because it is too large
Load Diff
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>
|
||||||
848
telegram-bot/map_pages/map02.html
Normal file
848
telegram-bot/map_pages/map02.html
Normal file
@@ -0,0 +1,848 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.134463,80.292914), 12);
|
||||||
|
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 = "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(13.100598, 80.259903, rmark2, '1.0', 'Route no:2 - PUliyanthope ');
|
||||||
|
newpoints[1]= new Array(13.099502, 80.259688, rmark2, '1.0', 'Route no:2 - Pattalam ');
|
||||||
|
newpoints[2]= new Array(13.098037, 80.259391, rmark2, '1.0', 'Route no:2 - Perambur Barracks Road ');
|
||||||
|
newpoints[3]= new Array(13.097392, 80.259269, rmark2, '1.0', 'Route no:2 - Dr. BR Ambedkar Statue ');
|
||||||
|
newpoints[4]= new Array(13.096402, 80.259112, rmark2, '1.0', 'Route no:2 - Perambur Barracks Road ');
|
||||||
|
newpoints[5]= new Array(13.094371, 80.258833, rmark2, '1.0', 'Route no:2 - Municipal Corporation Office ');
|
||||||
|
newpoints[6]= new Array(13.093513, 80.258833, rmark2, '1.0', 'Route no:2 - Ankur vasanthi Hospital ');
|
||||||
|
newpoints[7]= new Array(13.090446, 80.258661, rmark2, '1.0', 'Route no:2 - Vasanthi Theatre ');
|
||||||
|
newpoints[8]= new Array(13.087112, 80.258554, rmark2, '1.0', 'Route no:2 - Doveton Cafe ');
|
||||||
|
newpoints[9]= new Array(13.086663, 80.260721, rmark2, '1.0', 'Route no:2 - ');
|
||||||
|
newpoints[10]= new Array(13.085817, 80.262105, rmark2, '1.0', 'Route no:2 - Deputy Commissioner Office ');
|
||||||
|
newpoints[11]= new Array(13.084678, 80.262631, rmark2, '1.0', 'Route no:2 - EVK Sampth Road ');
|
||||||
|
newpoints[12]= new Array(13.083602, 80.262374, rmark2, '1.0', 'Route no:2 - Christophers College of Education ');
|
||||||
|
newpoints[13]= new Array(13.065551, 80.273764, rmark2, '1.0', 'Route no:2 - Adam Market ');
|
||||||
|
newpoints[14]= new Array(13.060577, 80.274327, rmark2, '1.0', 'Route no:2 - Triplicane High Road Post Office ');
|
||||||
|
newpoints[15]= new Array(13.058729, 80.274156, rmark2, '1.0', 'Route no:2 - Triplicane Rathna Cafe ');
|
||||||
|
newpoints[16]= new Array(13.053796, 80.273757, rmark2, '1.0', 'Route no:2 - Triplicane High road Partha Sarathi Temple ');
|
||||||
|
newpoints[17]= new Array(13.052845, 80.273714, rmark2, '1.0', 'Route no:2 - Ice House ');
|
||||||
|
newpoints[18]= new Array(13.053473, 80.268812, rmark2, '1.0', 'Route no:2 - Meersahibpet Market ');
|
||||||
|
newpoints[19]= new Array(13.054278, 80.259966, rmark2, '1.0', 'Route no:2 - Royapettah New College ');
|
||||||
|
newpoints[20]= new Array(13.054803, 80.254345, rmark2, '1.0', 'Route no:2 - Thousand Lights ');
|
||||||
|
newpoints[21]= new Array(13.062083, 80.243217, rmark2, '1.0', 'Route no:2 - Nungampakkam Police Quarters bus stop ');
|
||||||
|
newpoints[22]= new Array(13.063894, 80.235161, rmark2, '1.0', 'Route no:2 - Loyola College ');
|
||||||
|
newpoints[23]= new Array(13.065483, 80.234313, rmark2, '1.0', 'Route no:2 - Nelson manickam Road Bus Stop ');
|
||||||
|
newpoints[24]= new Array(13.066757, 80.230067, rmark2, '1.0', 'Route no:2 - Choolaimedu bus stop ');
|
||||||
|
newpoints[25]= new Array(13.067964, 80.226777, rmark2, '1.0', 'Route no:2 - Mehta Nagar ');
|
||||||
|
newpoints[26]= new Array(13.069831, 80.224494, rmark2, '1.0', 'Route no:2 - Nelson manicam Road Bata show room ');
|
||||||
|
newpoints[27]= new Array(13.073591, 80.220911, rmark2, '1.0', 'Route no:2 - Sky Walk ');
|
||||||
|
newpoints[28]= new Array(13.075127, 80.216579, rmark2, '1.0', 'Route no:2 - NSK Ngar ');
|
||||||
|
newpoints[29]= new Array(13.077174, 80.210633, rmark2, '1.0', 'Route no:2 - Arumbakkam Panchaliamman Koil ');
|
||||||
|
newpoints[30]= new Array(13.038680,80.045138, ritwflag, '1.0', 'RIT Flag ');
|
||||||
|
newpoints[31]= new Array(13.038680,80.045138, pole, '1.0', 'RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 23 Puliyanthope to RIT
|
||||||
|
|
||||||
|
var poly =new GPolyline([
|
||||||
|
new GLatLng(13.100598, 80.259903),
|
||||||
|
new GLatLng(13.099502, 80.259688),
|
||||||
|
new GLatLng(13.098631, 80.259511),
|
||||||
|
new GLatLng(13.098037, 80.259391),
|
||||||
|
new GLatLng(13.097392, 80.259269),
|
||||||
|
new GLatLng(13.096402, 80.259112),
|
||||||
|
new GLatLng(13.094371, 80.258833),
|
||||||
|
new GLatLng(13.093513, 80.258833),
|
||||||
|
new GLatLng(13.090446, 80.258661),
|
||||||
|
new GLatLng(13.087112, 80.258554),
|
||||||
|
new GLatLng(13.086663, 80.260721),
|
||||||
|
new GLatLng(13.085817, 80.262105),
|
||||||
|
new GLatLng(13.084678, 80.262631),
|
||||||
|
new GLatLng(13.083602, 80.262374),
|
||||||
|
new GLatLng(13.080645, 80.265078),
|
||||||
|
new GLatLng(13.077290, 80.265561),
|
||||||
|
new GLatLng(13.076151, 80.265303),
|
||||||
|
new GLatLng(13.074468, 80.265410),
|
||||||
|
new GLatLng(13.073601, 80.265775),
|
||||||
|
new GLatLng(13.072963, 80.266333),
|
||||||
|
new GLatLng(13.071510, 80.267706),
|
||||||
|
new GLatLng(13.070852, 80.268307),
|
||||||
|
new GLatLng(13.069715, 80.268641),
|
||||||
|
new GLatLng(13.068532, 80.268518),
|
||||||
|
new GLatLng(13.068242, 80.269852),
|
||||||
|
new GLatLng(13.068122, 80.271151),
|
||||||
|
new GLatLng(13.068456, 80.271795),
|
||||||
|
new GLatLng(13.068196, 80.272140),
|
||||||
|
new GLatLng(13.067234, 80.273191),
|
||||||
|
new GLatLng(13.066797, 80.273748),
|
||||||
|
new GLatLng(13.065551, 80.273764),
|
||||||
|
new GLatLng(13.063796, 80.274047),
|
||||||
|
new GLatLng(13.062444, 80.274216),
|
||||||
|
new GLatLng(13.060949, 80.274351),
|
||||||
|
new GLatLng(13.060577, 80.274327),
|
||||||
|
new GLatLng(13.059652, 80.274271),
|
||||||
|
new GLatLng(13.058729, 80.274156),
|
||||||
|
new GLatLng(13.053796, 80.273757),
|
||||||
|
new GLatLng(13.052845, 80.273714),
|
||||||
|
new GLatLng(13.053473, 80.268812),
|
||||||
|
new GLatLng(13.054278, 80.259966),
|
||||||
|
new GLatLng(13.054803, 80.254345),
|
||||||
|
new GLatLng(13.052383, 80.251095),
|
||||||
|
new GLatLng(13.057194, 80.248634),
|
||||||
|
new GLatLng(13.060308, 80.247504),
|
||||||
|
new GLatLng(13.061761, 80.246356),
|
||||||
|
new GLatLng(13.062252, 80.245058),
|
||||||
|
new GLatLng(13.063537, 80.243577),
|
||||||
|
new GLatLng(13.061813, 80.243180),
|
||||||
|
new GLatLng(13.059921, 80.242590),
|
||||||
|
new GLatLng(13.062083, 80.243217),
|
||||||
|
new GLatLng(13.057017, 80.242701),
|
||||||
|
new GLatLng(13.058177, 80.240751),
|
||||||
|
new GLatLng(13.061239, 80.237350),
|
||||||
|
new GLatLng(13.063894, 80.235161),
|
||||||
|
new GLatLng(13.065483, 80.234313),
|
||||||
|
new GLatLng(13.066757, 80.230067),
|
||||||
|
new GLatLng(13.067964, 80.226777),
|
||||||
|
new GLatLng(13.069831, 80.224494),
|
||||||
|
new GLatLng(13.073591, 80.220911),
|
||||||
|
new GLatLng(13.075127, 80.216579),
|
||||||
|
new GLatLng(13.075817, 80.213671),
|
||||||
|
new GLatLng(13.076956, 80.211954),
|
||||||
|
new GLatLng(13.077174, 80.210633),
|
||||||
|
], "#009900" ,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),
|
||||||
|
], "#ff8800" , 3 ,0.8, 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),
|
||||||
|
], "#ff500" , 1 ,0.8, 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),
|
||||||
|
], "#ff8800" , 3 ,0.8, 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),
|
||||||
|
|
||||||
|
|
||||||
|
], "#ff8800" , 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),
|
||||||
|
], "#ff88800" , 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" style="width:100%;height:850px"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
853
telegram-bot/map_pages/map03.html
Normal file
853
telegram-bot/map_pages/map03.html
Normal file
@@ -0,0 +1,853 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(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 = "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(13.118326,80.259780, rmark3, '1.0', 'Route no:3 - Viyasarpadi parking ');
|
||||||
|
newpoints[1] = new Array(13.105498,80.279020, rmark3, '1.0', 'Route no:3 - Mint ');
|
||||||
|
newpoints[2] = new Array(13.101613,80.270512, rmark3, '1.0', 'Route no:3 - Basin Bridge ');
|
||||||
|
newpoints[3] = new Array(13.098150,80.268407, rmark3, '1.0', 'Route no:3 - Power House ');
|
||||||
|
newpoints[4] = new Array(13.093318,80.268781, rmark3, '1.0', 'Route no:3 - Nataraj Theatre ');
|
||||||
|
newpoints[5] = new Array(13.090276,80.265585, rmark3, '1.0', 'Route no:3 - Choolai Post Office ');
|
||||||
|
newpoints[6] = new Array(13.089730,80.264834, rmark3, '1.0', 'Route no:3 - Choolai ');
|
||||||
|
newpoints[7] = new Array(13.085722,80.262355, rmark3, '1.0', 'Route no:3 - Vapari Police Station ');
|
||||||
|
newpoints[8] = new Array(13.086076,80.255534, rmark3, '1.0', 'Route no:3 - Purasaivakkam Thana St ');
|
||||||
|
newpoints[9] = new Array(13.085686,80.245234, rmark3, '1.0', 'Route no:3 - Kellys Signal ');
|
||||||
|
newpoints[10]= new Array(13.083589,80.239909, rmark3, '1.0', 'Route no:3 - Mummy Daddy ');
|
||||||
|
newpoints[11]= new Array(13.086960,80.234587, rmark3, '1.0', 'Route no:3 - Avadi Cement Road ');
|
||||||
|
newpoints[12]= new Array(13.089154,80.230054, rmark3, '1.0', 'Route no:3 - Gangaiamman Koil ');
|
||||||
|
newpoints[13]= new Array(13.085139,80.224018, rmark3, '1.0', 'Route no:3 - Chinthamani ');
|
||||||
|
newpoints[14]= new Array(13.084890,80.212886, rmark3, '1.0', 'Route no:3 - Anna Nagar Tower ');
|
||||||
|
newpoints[15]= new Array(13.066872,80.175167, rmark3, '1.0', 'Route no:3 - Maduravoyal Ration Shop ');
|
||||||
|
newpoints[16]= new Array(13.038680,80.045138, ritwflag, '1.0', 'RIT Flag ');
|
||||||
|
newpoints[17]= new Array(13.038680,80.045138, pole, '1.0', 'RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Route 3 Mint - Choolai to RIT
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.118326, 80.259780),
|
||||||
|
new GLatLng(13.117918, 80.261604),
|
||||||
|
new GLatLng(13.117709, 80.261958),
|
||||||
|
new GLatLng(13.114636, 80.263559),
|
||||||
|
new GLatLng(13.113544, 80.263678),
|
||||||
|
new GLatLng(13.111026, 80.265561),
|
||||||
|
new GLatLng(13.109523, 80.266757),
|
||||||
|
new GLatLng(13.105561, 80.270813),
|
||||||
|
new GLatLng(13.104506, 80.271317),
|
||||||
|
new GLatLng(13.104328, 80.271832),
|
||||||
|
new GLatLng(13.103826, 80.272465),
|
||||||
|
new GLatLng(13.104317, 80.275383),
|
||||||
|
new GLatLng(13.105498, 80.279020),
|
||||||
|
new GLatLng(13.105540, 80.279975),
|
||||||
|
new GLatLng(13.105561, 80.279363),
|
||||||
|
new GLatLng(13.104255, 80.275329),
|
||||||
|
new GLatLng(13.103827, 80.272733),
|
||||||
|
new GLatLng(13.104308, 80.271885),
|
||||||
|
new GLatLng(13.104507, 80.271273),
|
||||||
|
new GLatLng(13.104152, 80.270640),
|
||||||
|
new GLatLng(13.103703, 80.270501),
|
||||||
|
new GLatLng(13.101613, 80.270512),
|
||||||
|
new GLatLng(13.098150, 80.268407),
|
||||||
|
new GLatLng(13.093318, 80.268781),
|
||||||
|
new GLatLng(13.092313, 80.269452),
|
||||||
|
new GLatLng(13.090707, 80.269434),
|
||||||
|
new GLatLng(13.090540, 80.267682),
|
||||||
|
new GLatLng(13.090276, 80.265585),
|
||||||
|
new GLatLng(13.090179, 80.265295),
|
||||||
|
new GLatLng(13.089730, 80.264834),
|
||||||
|
new GLatLng(13.088523, 80.263434),
|
||||||
|
new GLatLng(13.088215, 80.263262),
|
||||||
|
new GLatLng(13.087207, 80.263015),
|
||||||
|
new GLatLng(13.085606, 80.262853),
|
||||||
|
new GLatLng(13.085722, 80.262355),
|
||||||
|
new GLatLng(13.086689, 80.260727),
|
||||||
|
new GLatLng(13.086962, 80.258453),
|
||||||
|
new GLatLng(13.086076, 80.255534),
|
||||||
|
new GLatLng(13.085658, 80.254621),
|
||||||
|
new GLatLng(13.081885, 80.254321),
|
||||||
|
new GLatLng(13.081927, 80.253216),
|
||||||
|
new GLatLng(13.081404, 80.252186),
|
||||||
|
new GLatLng(13.081364, 80.249723),
|
||||||
|
new GLatLng(13.081800, 80.249645),
|
||||||
|
new GLatLng(13.082602, 80.249803),
|
||||||
|
new GLatLng(13.083869, 80.250028),
|
||||||
|
new GLatLng(13.085916, 80.250366),
|
||||||
|
new GLatLng(13.085775, 80.246876),
|
||||||
|
new GLatLng(13.085686, 80.245234),
|
||||||
|
new GLatLng(13.082446, 80.243727),
|
||||||
|
new GLatLng(13.082265, 80.243470),
|
||||||
|
new GLatLng(13.082871, 80.241347),
|
||||||
|
new GLatLng(13.083359, 80.240661),
|
||||||
|
new GLatLng(13.083516, 80.240398),
|
||||||
|
new GLatLng(13.083589, 80.239909),
|
||||||
|
new GLatLng(13.083661, 80.239464),
|
||||||
|
new GLatLng(13.083457, 80.238451),
|
||||||
|
new GLatLng(13.083603, 80.237217),
|
||||||
|
new GLatLng(13.083676, 80.235575),
|
||||||
|
new GLatLng(13.083551, 80.233815),
|
||||||
|
new GLatLng(13.086960, 80.234587),
|
||||||
|
new GLatLng(13.086960, 80.234587),
|
||||||
|
new GLatLng(13.087786, 80.234492),
|
||||||
|
new GLatLng(13.089040, 80.230308),
|
||||||
|
new GLatLng(13.089154, 80.230054),
|
||||||
|
new GLatLng(13.089604, 80.229316),
|
||||||
|
new GLatLng(13.093100, 80.225641),
|
||||||
|
new GLatLng(13.089568, 80.229389),
|
||||||
|
new GLatLng(13.093591, 80.225054),
|
||||||
|
new GLatLng(13.092003, 80.223638),
|
||||||
|
new GLatLng(13.086245, 80.223434),
|
||||||
|
new GLatLng(13.085782, 80.223634),
|
||||||
|
new GLatLng(13.085139, 80.224018),
|
||||||
|
new GLatLng(13.084439, 80.222902),
|
||||||
|
new GLatLng(13.084650, 80.217880),
|
||||||
|
new GLatLng(13.084890, 80.212886),
|
||||||
|
new GLatLng(13.085089, 80.206266),
|
||||||
|
new GLatLng(13.085361, 80.198531),
|
||||||
|
new GLatLng(13.080929, 80.198575),
|
||||||
|
new GLatLng(13.077156, 80.198966),
|
||||||
|
],"#ff8800" ,3 ,0.8, 80);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),
|
||||||
|
], "#ff8800" , 3 ,0.8, 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),
|
||||||
|
], "#ff500" , 1 ,0.8, 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),
|
||||||
|
], "#ff8800" , 3 ,0.8, 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),
|
||||||
|
|
||||||
|
|
||||||
|
], "#ff8800" , 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),
|
||||||
|
], "#ff88800" , 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" style="width:100%;height:850px"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
736
telegram-bot/map_pages/map04.html
Normal file
736
telegram-bot/map_pages/map04.html
Normal file
@@ -0,0 +1,736 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.073388,80.172379), 15);
|
||||||
|
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 = "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(13.085333, 80.187393, rmark4, '1.0', 'Route no:4- JJ Nagar Police Station ');
|
||||||
|
newpoints[1]= new Array(13.081446, 80.187319, rmark4, '1.0', 'Route no:4- HDB Financial Services ');
|
||||||
|
newpoints[2]= new Array(13.080985, 80.183780, rmark4, '1.0', 'Route no:4- IOB Bank ');
|
||||||
|
newpoints[3]= new Array(13.080640, 80.180888, rmark4, '1.0', 'Route no:4- 7 H Bus Depot ');
|
||||||
|
newpoints[4]= new Array(13.082388, 80.169379, rmark4, '1.0', 'Route no:4- Amutha School ');
|
||||||
|
newpoints[5]= new Array(13.081754, 80.167235, rmark4, '1.0', 'Route no:4- D.R.Super Market ');
|
||||||
|
newpoints[6]= new Array(13.080417, 80.162776, rmark4, '1.0', 'Route no:4- Nolambur ');
|
||||||
|
newpoints[7]= new Array(13.075828, 80.161332, rmark4, '1.0', 'Route no:4- Meadows Apprtment ');
|
||||||
|
newpoints[8]= new Array(13.065933, 80.160962, rmark4, '1.0', 'Route no:4- MGR University ');
|
||||||
|
newpoints[9]= new Array(13.038680,80.045138, ritwflag, '1.0', 'RIT Flag ');
|
||||||
|
newpoints[10]= new Array(13.038680,80.045138, pole, '1.0', 'RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 4 Mogapair
|
||||||
|
|
||||||
|
var poly =new GPolyline([
|
||||||
|
new GLatLng(13.085333,80.187393),
|
||||||
|
new GLatLng(13.084911,80.187495),
|
||||||
|
new GLatLng(13.084122,80.187538),
|
||||||
|
new GLatLng(13.083297,80.187669),
|
||||||
|
new GLatLng(13.082776,80.187739),
|
||||||
|
new GLatLng(13.082269,80.187795),
|
||||||
|
new GLatLng(13.082026,80.187826),
|
||||||
|
new GLatLng(13.081520,80.187879),
|
||||||
|
new GLatLng(13.081446,80.187319),
|
||||||
|
new GLatLng(13.081250,80.185975),
|
||||||
|
new GLatLng(13.081063,80.184488),
|
||||||
|
new GLatLng(13.080985,80.183780),
|
||||||
|
new GLatLng(13.080818,80.182428),
|
||||||
|
new GLatLng(13.080640,80.180888),
|
||||||
|
new GLatLng(13.080556,80.180223),
|
||||||
|
new GLatLng(13.080640,80.180158),
|
||||||
|
new GLatLng(13.080513,80.179211),
|
||||||
|
new GLatLng(13.080595,80.179056),
|
||||||
|
new GLatLng(13.080915,80.178794),
|
||||||
|
new GLatLng(13.080957,80.178685),
|
||||||
|
new GLatLng(13.081176,80.177398),
|
||||||
|
new GLatLng(13.081270,80.177076),
|
||||||
|
new GLatLng(13.081707,80.176406),
|
||||||
|
new GLatLng(13.082010,80.176044),
|
||||||
|
new GLatLng(13.082256,80.175859),
|
||||||
|
new GLatLng(13.083008,80.175475),
|
||||||
|
new GLatLng(13.083627,80.175083),
|
||||||
|
new GLatLng(13.083716,80.174970),
|
||||||
|
new GLatLng(13.083700,80.174755),
|
||||||
|
new GLatLng(13.083725,80.174124),
|
||||||
|
new GLatLng(13.083714,80.173998),
|
||||||
|
new GLatLng(13.083670,80.173708),
|
||||||
|
new GLatLng(13.083583,80.173351),
|
||||||
|
new GLatLng(13.083306,80.172516),
|
||||||
|
new GLatLng(13.083154,80.171991),
|
||||||
|
new GLatLng(13.082751,80.170709),
|
||||||
|
new GLatLng(13.082388,80.169379),
|
||||||
|
new GLatLng(13.081754,80.167235),
|
||||||
|
new GLatLng(13.080955,80.164584),
|
||||||
|
new GLatLng(13.080417,80.162776),
|
||||||
|
new GLatLng(13.080448,80.161456),
|
||||||
|
new GLatLng(13.075828,80.161332),
|
||||||
|
new GLatLng(13.065933,80.160962),
|
||||||
|
new GLatLng(13.061350,80.161000),], "#9900ff" ,3,1.0, 100);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),
|
||||||
|
], "#9900ff" , 3 ,0.8, 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),
|
||||||
|
], "#9900ff" , 3 ,0.8, 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),
|
||||||
|
|
||||||
|
|
||||||
|
], "#9900ff" , 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),
|
||||||
|
], "#9900ff" , 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>
|
||||||
803
telegram-bot/map_pages/map05.html
Normal file
803
telegram-bot/map_pages/map05.html
Normal file
@@ -0,0 +1,803 @@
|
|||||||
|
<!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(13.074463,80.182914), 13);
|
||||||
|
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 = "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(13.028712,80.230861, rmark5, '1.0', 'Route no:5 - CIT Nagar ');
|
||||||
|
newpoints[1] = new Array(13.027942,80.226926, rmark5, '1.0', 'Route no:5 - Aranganathan Subway ');
|
||||||
|
newpoints[2] = new Array(13.028552,80.224051, rmark5, '1.0', 'Route no:5 - Aranganathan Subway ');
|
||||||
|
newpoints[3] = new Array(13.031188,80.224220, rmark5, '1.0', 'Route no:5 - Srinivasa Theatre ');
|
||||||
|
newpoints[4] = new Array(13.032262,80.219998, rmark5, '1.0', 'Route no:5 - Metupalayam ');
|
||||||
|
newpoints[5] = new Array(13.033434,80.219868, rmark5, '1.0', 'Route no:5 - Sangamam Hotel ');
|
||||||
|
newpoints[6] = new Array(13.040644,80.221461, rmark5, '1.0', 'Route no:5 - Aryagowda Road ');
|
||||||
|
newpoints[7] = new Array(13.047423,80.232988, rmark5, '1.0', 'Route no:5 - Vivek ');
|
||||||
|
newpoints[8] = new Array(13.050391,80.233685, rmark5, '1.0', 'Route no:5 - Usman Road ');
|
||||||
|
newpoints[9] = new Array(13.063823,80.235251, rmark5, '1.0', 'Route no:5 - Loyalo College ');
|
||||||
|
newpoints[10]= new Array(13.067024,80.214396, rmark5, '1.0', 'Route no:5 - MMDA Water Tank ');
|
||||||
|
newpoints[11]= new Array(13.062716,80.214453, rmark5, '1.0', 'Route no:5 - MMDA Bus Stand ');
|
||||||
|
newpoints[12]= new Array(13.071532,80.186055, rmark5, '1.0', 'Route no:5 - Nerkundram ');
|
||||||
|
newpoints[13]= new Array(13.069901,80.181580, rmark5, '1.0', 'Route no:5 - Vengaya Mandi ');
|
||||||
|
newpoints[14]= new Array(13.062998,80.166820, rmark5, '1.0', 'Route no:5 - Murugan Stores ');
|
||||||
|
newpoints[15]= new Array(13.061281,80.164230, rmark5, '1.0', 'Route no:5 - Maduravoyal Erikarai ');
|
||||||
|
newpoints[16]= new Array(13.060571,80.155013, rmark5, '1.0', 'Route no:5 - Vanagaram ');
|
||||||
|
newpoints[17]= new Array(13.038680,80.045138, ritwflag, '1.0', 'RIT Flag ');
|
||||||
|
newpoints[18]= new Array(13.038680,80.045138, pole, '1.0', 'RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 5 CIT Nagar
|
||||||
|
|
||||||
|
var poly =new GPolyline([new GLatLng(13.028712,80.230861),
|
||||||
|
new GLatLng(13.030788,80.230690),
|
||||||
|
new GLatLng(13.030336,80.229125),
|
||||||
|
new GLatLng(13.030484,80.227438),
|
||||||
|
new GLatLng(13.028076,80.227025),
|
||||||
|
new GLatLng(13.027942,80.226926),
|
||||||
|
new GLatLng(13.028815,80.224055),
|
||||||
|
new GLatLng(13.029163,80.224278),
|
||||||
|
new GLatLng(13.029798,80.224278),
|
||||||
|
new GLatLng(13.031188,80.224220),
|
||||||
|
new GLatLng(13.031295,80.222785),
|
||||||
|
new GLatLng(13.032022,80.221351),
|
||||||
|
new GLatLng(13.032262,80.219998),
|
||||||
|
new GLatLng(13.032813,80.219901),
|
||||||
|
new GLatLng(13.033434,80.219868),
|
||||||
|
new GLatLng(13.033428,80.220431),
|
||||||
|
new GLatLng(13.033487,80.22056),
|
||||||
|
new GLatLng(13.033605,80.220650),
|
||||||
|
new GLatLng(13.034350,80.220752),
|
||||||
|
new GLatLng(13.035134,80.220865),
|
||||||
|
new GLatLng(13.035322,80.220830),
|
||||||
|
new GLatLng(13.035907,80.220522),
|
||||||
|
new GLatLng(13.037451,80.220820),
|
||||||
|
new GLatLng(13.038577,80.221043),
|
||||||
|
new GLatLng(13.040644,80.221461),
|
||||||
|
new GLatLng(13.042898,80.222060),
|
||||||
|
new GLatLng(13.042181,80.224933),
|
||||||
|
new GLatLng(13.041377,80.228293),
|
||||||
|
new GLatLng(13.040602,80.231833),
|
||||||
|
new GLatLng(13.041014,80.232042),
|
||||||
|
new GLatLng(13.042211,80.232271),
|
||||||
|
new GLatLng(13.043536,80.232318),
|
||||||
|
new GLatLng(13.047423,80.232988),
|
||||||
|
new GLatLng(13.050391,80.233685),
|
||||||
|
new GLatLng(13.053810,80.234526),
|
||||||
|
new GLatLng(13.057414,80.234810),
|
||||||
|
new GLatLng(13.058093,80.234874),
|
||||||
|
new GLatLng(13.057968,80.237224),
|
||||||
|
new GLatLng(13.059316,80.237288),
|
||||||
|
new GLatLng(13.060450,80.237450),
|
||||||
|
new GLatLng(13.061136,80.237463),
|
||||||
|
new GLatLng(13.062281,80.236246),
|
||||||
|
new GLatLng(13.063823,80.235251),
|
||||||
|
new GLatLng(13.065416,80.234342),
|
||||||
|
new GLatLng(13.066498,80.231378),
|
||||||
|
new GLatLng(13.066772,80.230109),
|
||||||
|
new GLatLng(13.066727,80.228707),
|
||||||
|
new GLatLng(13.067138,80.227769),
|
||||||
|
new GLatLng(13.069488,80.224878),
|
||||||
|
new GLatLng(13.072487,80.221219),
|
||||||
|
new GLatLng(13.071546,80.220876),
|
||||||
|
new GLatLng(13.071776,80.219589),
|
||||||
|
new GLatLng(13.069247,80.219256),
|
||||||
|
new GLatLng(13.069234,80.219023),
|
||||||
|
new GLatLng(13.069175,80.217818),
|
||||||
|
new GLatLng(13.068945,80.217770),
|
||||||
|
new GLatLng(13.068877,80.217612),
|
||||||
|
new GLatLng(13.068843,80.217432),
|
||||||
|
new GLatLng(13.068809,80.216303),
|
||||||
|
new GLatLng(13.068791,80.214396),
|
||||||
|
new GLatLng(13.067024,80.214396),
|
||||||
|
new GLatLng(13.062716,80.214453),
|
||||||
|
new GLatLng(13.062734,80.213765),
|
||||||
|
new GLatLng(13.063213,80.212883),
|
||||||
|
new GLatLng(13.063771,80.211568),
|
||||||
|
new GLatLng(13.065124,80.211085),
|
||||||
|
new GLatLng(13.066754,80.209744),
|
||||||
|
new GLatLng(13.067062,80.209406),
|
||||||
|
new GLatLng(13.068990,80.206379),
|
||||||
|
new GLatLng(13.069983,80.204802),
|
||||||
|
new GLatLng(13.072700,80.201530),
|
||||||
|
new GLatLng(13.074383,80.199706),
|
||||||
|
new GLatLng(13.075073,80.199234),
|
||||||
|
new GLatLng(13.075417,80.199011),
|
||||||
|
new GLatLng(13.075817,80.198580),
|
||||||
|
new GLatLng(13.075550,80.197263),
|
||||||
|
new GLatLng(13.074992,80.195142),
|
||||||
|
new GLatLng(13.074396,80.194391),
|
||||||
|
new GLatLng(13.074208,80.193983),
|
||||||
|
new GLatLng(13.074114,80.193650),
|
||||||
|
new GLatLng(13.074187,80.191129),
|
||||||
|
new GLatLng(13.074082,80.190872),
|
||||||
|
new GLatLng(13.073131,80.189735),
|
||||||
|
new GLatLng(13.072901,80.189338),
|
||||||
|
new GLatLng(13.071762,80.186752),
|
||||||
|
new GLatLng(13.071532,80.186055),
|
||||||
|
new GLatLng(13.070894,80.183748),
|
||||||
|
new GLatLng(13.070392,80.182503),
|
||||||
|
new GLatLng(13.069901,80.181580),
|
||||||
|
new GLatLng(13.067748,80.178447),
|
||||||
|
new GLatLng(13.067619,80.178215),
|
||||||
|
new GLatLng(13.067538,80.177799),
|
||||||
|
new GLatLng(13.067473,80.176142),
|
||||||
|
new GLatLng(13.067274,80.175670),
|
||||||
|
new GLatLng(13.066908,80.175155),
|
||||||
|
new GLatLng(13.064504,80.171690),
|
||||||
|
new GLatLng(13.064316,80.171282),
|
||||||
|
new GLatLng(13.064211,80.170660),
|
||||||
|
new GLatLng(13.064191,80.168781),
|
||||||
|
new GLatLng(13.064080,80.168403),
|
||||||
|
new GLatLng(13.063777,80.167786),
|
||||||
|
new GLatLng(13.062998,80.166820),
|
||||||
|
new GLatLng(13.061707,80.165495),
|
||||||
|
new GLatLng(13.061540,80.165232),
|
||||||
|
new GLatLng(13.061388,80.164674),
|
||||||
|
new GLatLng(13.061281,80.164230),
|
||||||
|
new GLatLng(13.061348,80.161025),
|
||||||
|
new GLatLng(13.061628,80.158096),
|
||||||
|
new GLatLng(13.061543,80.157445),
|
||||||
|
new GLatLng(13.061365,80.157036),
|
||||||
|
new GLatLng(13.060853,80.156086),
|
||||||
|
new GLatLng(13.060649,80.155523),
|
||||||
|
new GLatLng(13.060571,80.155013),
|
||||||
|
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),
|
||||||
|
], "#ff8800" ,2,1.0, 100);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),
|
||||||
|
], "#ff00ff" , 2 ,0.8, 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),
|
||||||
|
|
||||||
|
|
||||||
|
], "#ff00ff" , 2 ,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>
|
||||||
678
telegram-bot/map_pages/map06.html
Normal file
678
telegram-bot/map_pages/map06.html
Normal file
@@ -0,0 +1,678 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.04463,80.202914), 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 = "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(13.062841,80.197105, rmark6, '1.0', 'Route no:6 - Chinmaiya Nagar ');
|
||||||
|
newpoints[1]= new Array(13.059747,80.195475, rmark6, '1.0', 'Route no:6 - Sai Nagar ');
|
||||||
|
newpoints[2]= new Array(13.057636,80.194305, rmark6, '1.0', 'Route no:6 - Natesan Nagar ');
|
||||||
|
newpoints[3]= new Array(13.053918,80.192546, rmark6, '1.0', 'Route no:6 - Elango Nagar ');
|
||||||
|
newpoints[4]= new Array(13.047229,80.192610, rmark6, '1.0', 'Route no:6 - Virugampakkam ');
|
||||||
|
newpoints[5]= new Array(13.041876,80.193345, rmark6, '1.0', 'Route no:6 - KK Nagar Pondicherry Guest House ');
|
||||||
|
newpoints[6]= new Array(13.035970,80.204374, rmark6, '1.0', 'Route no:6 - KK Nagar ESI ');
|
||||||
|
newpoints[7]= new Array(13.034300,80.212115, rmark6, '1.0', 'Route no:6 - Ashok Pillar ');
|
||||||
|
newpoints[8]= new Array(13.029385,80.208816, rmark6, '1.0', 'Route no:6 - Kasi Theatre ');
|
||||||
|
newpoints[9]= new Array(13.018786,80.206161, rmark6, '1.0', 'Route no:6 - Ekkatuthangal ');
|
||||||
|
newpoints[10]= new Array(13.013707,80.204283, rmark6, '1.0', 'Route no:6 - Kathipara Bridge ');
|
||||||
|
newpoints[11]= new Array(13.038680,80.045138, ritwflag, '1.0', 'RIT Flag ');
|
||||||
|
newpoints[12]= new Array(13.038680,80.045138, pole, '1.0', 'RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route no: 6 Chinmaya Nagar
|
||||||
|
var poly =new GPolyline([
|
||||||
|
new GLatLng(13.066018,80.198822),
|
||||||
|
new GLatLng(13.063896,80.197663),
|
||||||
|
new GLatLng(13.062987,80.197234),
|
||||||
|
new GLatLng(13.060907,80.196086),
|
||||||
|
new GLatLng(13.058733,80.194927),
|
||||||
|
new GLatLng(13.056434,80.193769),
|
||||||
|
new GLatLng(13.054124,80.192664),
|
||||||
|
new GLatLng(13.053006,80.192202),
|
||||||
|
new GLatLng(13.050738,80.192063),
|
||||||
|
new GLatLng(13.049473,80.192116),
|
||||||
|
new GLatLng(13.04847,80.192202),
|
||||||
|
new GLatLng(13.047958,80.192363),
|
||||||
|
new GLatLng(13.047623,80.192567),
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
], "#ff00ff" ,3,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
//Route no: 6 Chinmaya Nagar
|
||||||
|
var poly =new GPolyline([
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
new GLatLng(13.041895,80.193286),
|
||||||
|
new GLatLng(13.039721,80.192943),
|
||||||
|
new GLatLng(13.037798,80.192943),
|
||||||
|
new GLatLng(13.037171,80.196033),
|
||||||
|
new GLatLng(13.036837,80.198565),
|
||||||
|
new GLatLng(13.036335,80.201225),
|
||||||
|
new GLatLng(13.035917,80.204465),
|
||||||
|
new GLatLng(13.035624,80.206568),
|
||||||
|
new GLatLng(13.035164,80.209615)
|
||||||
|
], "#ff00ff" ,3,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
//Route no: 6 Chinmaya Nagar
|
||||||
|
var poly =new GPolyline([
|
||||||
|
new GLatLng(13.035039,80.210130),
|
||||||
|
new GLatLng(13.03483 ,80.212126),
|
||||||
|
new GLatLng(13.033931,80.212040),
|
||||||
|
new GLatLng(13.031924,80.211718),
|
||||||
|
new GLatLng(13.032086,80.209723),
|
||||||
|
new GLatLng(13.030063,80.209079),
|
||||||
|
new GLatLng(13.027513,80.208242)
|
||||||
|
], "#ff00ff" ,3,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
//Route no: 6 Chinmaya Nagar
|
||||||
|
var poly =new GPolyline([new GLatLng(13.027994,80.208467),
|
||||||
|
new GLatLng(13.027325,80.208081),
|
||||||
|
new GLatLng(13.025673,80.20718),
|
||||||
|
new GLatLng(13.023813,80.206751),
|
||||||
|
new GLatLng(13.022046,80.206429),
|
||||||
|
new GLatLng(13.020248,80.206418),
|
||||||
|
new GLatLng(13.019642,80.206418),
|
||||||
|
new GLatLng(13.01753,80.205688),
|
||||||
|
new GLatLng(13.015722,80.204991),
|
||||||
|
new GLatLng(13.013767,80.204294),
|
||||||
|
new GLatLng(13.012074,80.203907),
|
||||||
|
new GLatLng(13.010589,80.203704),
|
||||||
|
new GLatLng(13.009053,80.203747),
|
||||||
|
new GLatLng(13.007694,80.203789)
|
||||||
|
], "#ff00ff" ,3,1.0, 100);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),
|
||||||
|
], "#ff00ff" ,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),
|
||||||
|
], "#ff00ff" ,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" style="width:100%;height:850px"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
769
telegram-bot/map_pages/map07.html
Normal file
769
telegram-bot/map_pages/map07.html
Normal file
@@ -0,0 +1,769 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.134463,80.292914), 12);
|
||||||
|
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 = "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(13.026091,80.266200, rmark7, '1.0', 'Route no:7 - Mandaveli Bus Depot ');
|
||||||
|
newpoints[1] = new Array(13.024021,80.273814, rmark7, '1.0', 'Route no:7 - Pattinapakkam ');
|
||||||
|
newpoints[2] = new Array(13.033448,80.277325, rmark7, '1.0', 'Route no:7 - Santhome Church ');
|
||||||
|
newpoints[3] = new Array(13.034368,80.273422, rmark7, '1.0', 'Route no:7 - Kutchery Road ');
|
||||||
|
newpoints[4] = new Array(13.035034,80.270735, rmark7, '1.0', 'Route no:7 - Kutchery Road Police station ');
|
||||||
|
newpoints[5] = new Array(13.037134,80.266561, rmark7, '1.0', 'Route no:7 - Luz Corner ');
|
||||||
|
newpoints[6] = new Array(13.037650,80.264315, rmark7, '1.0', 'Route no:7 - P.S.Sivasamy Road ');
|
||||||
|
newpoints[7] = new Array(13.035415,80.247913, rmark7, '1.0', 'Route no:7 - SIET College ');
|
||||||
|
newpoints[8] = new Array(13.031100,80.239782, rmark7, '1.0', 'Route no:7 - Nanthanam Signal ');
|
||||||
|
newpoints[9] = new Array(13.025611,80.230134, rmark7, '1.0', 'Route no:7 - Saidapet Vetrinary Hospital ');
|
||||||
|
newpoints[10]= new Array(13.024250,80.228402, rmark7, '1.0', 'Route no:7 - Saidapet Bus Stop ');
|
||||||
|
newpoints[11]= new Array(13.008975,80.211716, rmark7, '1.0', 'Route no:7 - Guindy ');
|
||||||
|
newpoints[12]= new Array(13.009581,80.195891, rmark7, '1.0', 'Route no:7 - Butt Road ');
|
||||||
|
newpoints[13]= new Array(13.015504,80.191657, rmark7, '1.0', 'Route no:7 - Chennai Trade Centre ');
|
||||||
|
newpoints[14]= new Array(13.035614,80.154030, rmark7, '1.0', 'Route no:7 - Porur ');
|
||||||
|
newpoints[15]= new Array(13.038096,80.135259, rmark7, '1.0', 'Route no:7 - Ayyapanthangal ');
|
||||||
|
newpoints[16]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:7 - RIT Flag ');
|
||||||
|
newpoints[17]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:7 - RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 7 Manadaveli santhome
|
||||||
|
var poly = new GPolyline([new GLatLng(13.026091, 80.266200),
|
||||||
|
new GLatLng(13.025067, 80.267977),
|
||||||
|
new GLatLng(13.025161, 80.270252),
|
||||||
|
new GLatLng(13.024816, 80.271679),
|
||||||
|
new GLatLng(13.024691, 80.272022),
|
||||||
|
new GLatLng(13.024398, 80.272408),
|
||||||
|
new GLatLng(13.024314, 80.272569),
|
||||||
|
new GLatLng(13.024021, 80.273814),
|
||||||
|
new GLatLng(13.024596, 80.274576),
|
||||||
|
new GLatLng(13.030136, 80.276765),
|
||||||
|
new GLatLng(13.031493, 80.277488),
|
||||||
|
new GLatLng(13.032481, 80.277459),
|
||||||
|
new GLatLng(13.033448, 80.277325),
|
||||||
|
new GLatLng(13.033788, 80.275761),
|
||||||
|
new GLatLng(13.034368, 80.273422),
|
||||||
|
new GLatLng(13.034662, 80.272221),
|
||||||
|
new GLatLng(13.034767, 80.271473),
|
||||||
|
new GLatLng(13.035034, 80.270735),
|
||||||
|
new GLatLng(13.035491, 80.270156),
|
||||||
|
new GLatLng(13.036424, 80.268608),
|
||||||
|
new GLatLng(13.036881, 80.267623),
|
||||||
|
new GLatLng(13.037134, 80.266561),
|
||||||
|
new GLatLng(13.037650, 80.264315),
|
||||||
|
new GLatLng(13.037360, 80.262297),
|
||||||
|
new GLatLng(13.037360, 80.261995),
|
||||||
|
new GLatLng(13.037553, 80.261137),
|
||||||
|
new GLatLng(13.038736, 80.258724),
|
||||||
|
new GLatLng(13.038914, 80.257340),
|
||||||
|
new GLatLng(13.035075, 80.254409),
|
||||||
|
new GLatLng(13.035153, 80.253835),
|
||||||
|
new GLatLng(13.035171, 80.252861),
|
||||||
|
new GLatLng(13.035247, 80.251391),
|
||||||
|
new GLatLng(13.035312, 80.250766),
|
||||||
|
new GLatLng(13.035328, 80.249744),
|
||||||
|
new GLatLng(13.035415, 80.247913),
|
||||||
|
new GLatLng(13.035567, 80.246079),
|
||||||
|
new GLatLng(13.035180, 80.245940),
|
||||||
|
new GLatLng(13.034495, 80.245205),
|
||||||
|
new GLatLng(13.032704, 80.242817),
|
||||||
|
new GLatLng(13.031100, 80.239782),
|
||||||
|
new GLatLng(13.029720, 80.237379),
|
||||||
|
new GLatLng(13.028079, 80.235512),
|
||||||
|
new GLatLng(13.026426, 80.232555),
|
||||||
|
new GLatLng(13.025956, 80.230960),
|
||||||
|
new GLatLng(13.025611, 80.230134),
|
||||||
|
new GLatLng(13.024250, 80.228402),
|
||||||
|
new GLatLng(13.020631, 80.225165),
|
||||||
|
new GLatLng(13.019248, 80.224384),
|
||||||
|
new GLatLng(13.018778, 80.224455),
|
||||||
|
new GLatLng(13.013227, 80.226665),
|
||||||
|
new GLatLng(13.009949, 80.227970),
|
||||||
|
new GLatLng(13.009599, 80.227908),
|
||||||
|
new GLatLng(13.009526, 80.227667),
|
||||||
|
new GLatLng(13.011483, 80.223182),
|
||||||
|
new GLatLng(13.012170, 80.221170),
|
||||||
|
new GLatLng(13.010983, 80.217553),
|
||||||
|
new GLatLng(13.010324, 80.215858),
|
||||||
|
new GLatLng(13.010073, 80.214463),
|
||||||
|
new GLatLng(13.008975, 80.211716),
|
||||||
|
new GLatLng(13.008191, 80.209474),
|
||||||
|
new GLatLng(13.007668, 80.205773),
|
||||||
|
new GLatLng(13.007637, 80.203659),
|
||||||
|
new GLatLng(13.007397, 80.202640),
|
||||||
|
new GLatLng(13.007511, 80.200065),
|
||||||
|
new GLatLng(13.007386, 80.196256),
|
||||||
|
new GLatLng(13.008630, 80.196245),
|
||||||
|
], "#ff00ff" , 2 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
// Butt Road to Poonamalle Bypass
|
||||||
|
var poly = new GPolyline([new GLatLng(13.009581, 80.195891),
|
||||||
|
new GLatLng(13.010710, 80.195891),
|
||||||
|
new GLatLng(13.013956, 80.193817),
|
||||||
|
new GLatLng(13.014511, 80.193320),
|
||||||
|
new GLatLng(13.015504, 80.191657),
|
||||||
|
new GLatLng(13.017897, 80.187203),
|
||||||
|
new GLatLng(13.020364, 80.185433),
|
||||||
|
new GLatLng(13.020918, 80.183867),
|
||||||
|
new GLatLng(13.023897, 80.178621),
|
||||||
|
new GLatLng(13.028106, 80.171181),
|
||||||
|
new GLatLng(13.031158, 80.165527),
|
||||||
|
new GLatLng(13.034401, 80.159738),
|
||||||
|
new GLatLng(13.034370, 80.156948),
|
||||||
|
new GLatLng(13.035614, 80.154030),
|
||||||
|
new GLatLng(13.036267, 80.152942),
|
||||||
|
new GLatLng(13.036194, 80.148953),
|
||||||
|
new GLatLng(13.036246, 80.146464),
|
||||||
|
new GLatLng(13.036936, 80.141657),
|
||||||
|
new GLatLng(13.037448, 80.137741),
|
||||||
|
new GLatLng(13.037565, 80.136969),
|
||||||
|
new GLatLng(13.038096, 80.135259),
|
||||||
|
new GLatLng(13.039423, 80.131948),
|
||||||
|
new GLatLng(13.040594, 80.128751),
|
||||||
|
new GLatLng(13.041890, 80.125597),
|
||||||
|
new GLatLng(13.043249, 80.122453),
|
||||||
|
new GLatLng(13.044566, 80.119224),
|
||||||
|
new GLatLng(13.045298, 80.116939),
|
||||||
|
new GLatLng(13.046312, 80.118892),
|
||||||
|
new GLatLng(13.046960, 80.119600),
|
||||||
|
new GLatLng(13.052610, 80.123398),
|
||||||
|
new GLatLng(13.054259, 80.123936),
|
||||||
|
new GLatLng(13.054450, 80.123613),
|
||||||
|
new GLatLng(13.054392, 80.122991),
|
||||||
|
new GLatLng(13.054517, 80.122344),
|
||||||
|
new GLatLng(13.054839, 80.121500),], "#ff00ff" , 2 ,0.8, 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),
|
||||||
|
], "#ff8800" , 3 ,0.8, 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),
|
||||||
|
], "#ff00ff" , 2 ,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>
|
||||||
797
telegram-bot/map_pages/map08.html
Normal file
797
telegram-bot/map_pages/map08.html
Normal file
@@ -0,0 +1,797 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.004463,80.192914), 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 = "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.920641,80.183895, rmark8, '1.0', 'Route no:8 - Medavakkam Koot Road ');
|
||||||
|
newpoints[1] = new Array(12.939286,80.182448, rmark8, '1.0', 'Route no:8 - Kovilampakkam ');
|
||||||
|
newpoints[2] = new Array(12.955991,80.186879, rmark8, '1.0', 'Route no:8 - Keelkattalai Bus Stop ');
|
||||||
|
newpoints[3] = new Array(12.964761,80.188061, rmark8, '1.0', 'Route no:8 - Madipakkam UTI Bank ');
|
||||||
|
newpoints[4] = new Array(12.968995,80.189858, rmark8, '1.0', 'Route no:8 - Madipakkam Koot Road Bus stop ');
|
||||||
|
newpoints[5] = new Array(12.979923,80.182846, rmark8, '1.0', 'Route no:8 - Ranga Theatre ');
|
||||||
|
newpoints[6] = new Array(12.983049,80.188415, rmark8, '1.0', 'Route no:8 - Nanganallur Chidambaram Stores ');
|
||||||
|
newpoints[7] = new Array(12.981563,80.195612, rmark8, '1.0', 'Route no:8 - Vanuvampet Church ');
|
||||||
|
newpoints[8] = new Array(12.986558,80.197307, rmark8, '1.0', 'Route no:8 - Surendhar Nagar Bus Stop ');
|
||||||
|
newpoints[9] = new Array(12.992239,80.198859, rmark8, '1.0', 'Route no:8 - Jayalakshmi Theatre ');
|
||||||
|
newpoints[10]= new Array(12.991333,80.194396, rmark8, '1.0', 'Route no:8 - Thillai Ganga Nagar Sub Way ');
|
||||||
|
newpoints[11]= new Array(13.004761,80.201093, rmark8, '1.0', 'Route no:8 - Aazar Khana Bus Stop ');
|
||||||
|
newpoints[12]= new Array(13.008650,80.196258, rmark8, '1.0', 'Route no:8 - Butt Road ');
|
||||||
|
newpoints[13]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:8 - RIT Flag ');
|
||||||
|
newpoints[14]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:8 - RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 8 Medavakkam Kovilambakkam to RIT)
|
||||||
|
|
||||||
|
var poly =new GPolyline([new GLatLng(12.920641, 80.183895),
|
||||||
|
new GLatLng(12.922779, 80.183102),
|
||||||
|
new GLatLng(12.926813, 80.182369),
|
||||||
|
new GLatLng(12.930828, 80.181457),
|
||||||
|
new GLatLng(12.935241, 80.182337),
|
||||||
|
new GLatLng(12.937201, 80.182197),
|
||||||
|
new GLatLng(12.939286, 80.182448),
|
||||||
|
new GLatLng(12.940441, 80.182711),
|
||||||
|
new GLatLng(12.941842, 80.182787),
|
||||||
|
new GLatLng(12.942684, 80.182900),
|
||||||
|
new GLatLng(12.943489, 80.182900),
|
||||||
|
new GLatLng(12.944660, 80.182980),
|
||||||
|
new GLatLng(12.945527, 80.183007),
|
||||||
|
new GLatLng(12.948036, 80.184944),
|
||||||
|
new GLatLng(12.949134, 80.185314),
|
||||||
|
new GLatLng(12.952255, 80.186312),
|
||||||
|
new GLatLng(12.953426, 80.186548),
|
||||||
|
new GLatLng(12.955991, 80.186879),
|
||||||
|
new GLatLng(12.958741, 80.187009),
|
||||||
|
new GLatLng(12.960152, 80.187148),
|
||||||
|
new GLatLng(12.962588, 80.187491),
|
||||||
|
new GLatLng(12.964761, 80.188061),
|
||||||
|
new GLatLng(12.968995, 80.189858),
|
||||||
|
new GLatLng(12.969371, 80.188899),
|
||||||
|
new GLatLng(12.969423, 80.187811),
|
||||||
|
new GLatLng(12.969313, 80.187124),
|
||||||
|
new GLatLng(12.969350, 80.186217),
|
||||||
|
new GLatLng(12.970869, 80.186290),
|
||||||
|
new GLatLng(12.971168, 80.182797),
|
||||||
|
new GLatLng(12.972877, 80.183100),
|
||||||
|
new GLatLng(12.973196, 80.183234),
|
||||||
|
new GLatLng(12.974111, 80.183373),
|
||||||
|
new GLatLng(12.975418, 80.183314),
|
||||||
|
new GLatLng(12.977561, 80.183116),
|
||||||
|
new GLatLng(12.979605, 80.182885),
|
||||||
|
new GLatLng(12.979923, 80.182846),
|
||||||
|
new GLatLng(12.980222, 80.182819),
|
||||||
|
new GLatLng(12.980590, 80.182861),
|
||||||
|
new GLatLng(12.980596, 80.183946),
|
||||||
|
new GLatLng(12.980637, 80.184119),
|
||||||
|
new GLatLng(12.980877, 80.184773),
|
||||||
|
new GLatLng(12.981259, 80.185379),
|
||||||
|
new GLatLng(12.981546, 80.185631),
|
||||||
|
new GLatLng(12.981366, 80.188286),
|
||||||
|
new GLatLng(12.983049, 80.188415),
|
||||||
|
new GLatLng(12.982923, 80.190893),
|
||||||
|
new GLatLng(12.982706, 80.192789),
|
||||||
|
new GLatLng(12.982450, 80.193942),
|
||||||
|
new GLatLng(12.982352, 80.193951),
|
||||||
|
new GLatLng(12.982241, 80.193986),
|
||||||
|
new GLatLng(12.982059, 80.194225),
|
||||||
|
new GLatLng(12.981630, 80.194678),
|
||||||
|
new GLatLng(12.981484, 80.195041),
|
||||||
|
new GLatLng(12.981563, 80.195612),
|
||||||
|
new GLatLng(12.983863, 80.196936),
|
||||||
|
new GLatLng(12.984456, 80.197253),
|
||||||
|
new GLatLng(12.984738, 80.197328),
|
||||||
|
new GLatLng(12.985044, 80.197293),
|
||||||
|
new GLatLng(12.985290, 80.197202),
|
||||||
|
new GLatLng(12.985567, 80.197159),
|
||||||
|
new GLatLng(12.986558, 80.197307),
|
||||||
|
new GLatLng(12.991462, 80.198540),
|
||||||
|
new GLatLng(12.992239, 80.198859),
|
||||||
|
new GLatLng(12.992394, 80.196883),
|
||||||
|
new GLatLng(12.992075, 80.194679),
|
||||||
|
new GLatLng(12.992096, 80.194535),
|
||||||
|
new GLatLng(12.991333, 80.194396),
|
||||||
|
new GLatLng(12.991969, 80.193514),
|
||||||
|
new GLatLng(12.992335, 80.193397),
|
||||||
|
new GLatLng(12.996841, 80.193285),
|
||||||
|
new GLatLng(12.995955, 80.189772),
|
||||||
|
new GLatLng(12.995938, 80.189393),
|
||||||
|
new GLatLng(12.996126, 80.189251),
|
||||||
|
new GLatLng(12.997065, 80.190256),
|
||||||
|
new GLatLng(13.002114, 80.196661),
|
||||||
|
new GLatLng(13.002169, 80.196897),
|
||||||
|
new GLatLng(13.002190, 80.197246),
|
||||||
|
new GLatLng(13.001876, 80.199022),
|
||||||
|
new GLatLng(13.001834, 80.199462),
|
||||||
|
new GLatLng(13.001954, 80.199854),
|
||||||
|
new GLatLng(13.002200, 80.200230),
|
||||||
|
new GLatLng(13.002461, 80.200455),
|
||||||
|
new GLatLng(13.004761, 80.201093),
|
||||||
|
new GLatLng(13.005064, 80.201200),
|
||||||
|
new GLatLng(13.005702, 80.201420),
|
||||||
|
new GLatLng(13.005829, 80.201581),
|
||||||
|
new GLatLng(13.006007, 80.202249),
|
||||||
|
new GLatLng(13.006112, 80.202383),
|
||||||
|
new GLatLng(13.006321, 80.202485),
|
||||||
|
new GLatLng(13.007018, 80.202410),
|
||||||
|
new GLatLng(13.007170, 80.202325),
|
||||||
|
new GLatLng(13.007379, 80.202116),
|
||||||
|
new GLatLng(13.007505, 80.200370),
|
||||||
|
new GLatLng(13.007390, 80.198468),
|
||||||
|
new GLatLng(13.007369, 80.196252),
|
||||||
|
new GLatLng(13.007547, 80.196145),
|
||||||
|
new GLatLng(13.008650, 80.196258),
|
||||||
|
], "#ff0000" ,3,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
// Butt Road to Poonamalle Bypass
|
||||||
|
var poly = new GPolyline([new GLatLng(13.009581, 80.195891),
|
||||||
|
new GLatLng(13.010710, 80.195891),
|
||||||
|
new GLatLng(13.013956, 80.193817),
|
||||||
|
new GLatLng(13.014511, 80.193320),
|
||||||
|
new GLatLng(13.015504, 80.191657),
|
||||||
|
new GLatLng(13.017897, 80.187203),
|
||||||
|
new GLatLng(13.020364, 80.185433),
|
||||||
|
new GLatLng(13.020918, 80.183867),
|
||||||
|
new GLatLng(13.023897, 80.178621),
|
||||||
|
new GLatLng(13.028106, 80.171181),
|
||||||
|
new GLatLng(13.031158, 80.165527),
|
||||||
|
new GLatLng(13.034401, 80.159738),
|
||||||
|
new GLatLng(13.034370, 80.156948),
|
||||||
|
new GLatLng(13.035614, 80.154030),
|
||||||
|
new GLatLng(13.036267, 80.152942),
|
||||||
|
new GLatLng(13.036194, 80.148953),
|
||||||
|
new GLatLng(13.036246, 80.146464),
|
||||||
|
new GLatLng(13.036936, 80.141657),
|
||||||
|
new GLatLng(13.037448, 80.137741),
|
||||||
|
new GLatLng(13.037565, 80.136969),
|
||||||
|
new GLatLng(13.038096, 80.135259),
|
||||||
|
new GLatLng(13.039423, 80.131948),
|
||||||
|
new GLatLng(13.040594, 80.128751),
|
||||||
|
new GLatLng(13.041890, 80.125597),
|
||||||
|
new GLatLng(13.043249, 80.122453),
|
||||||
|
new GLatLng(13.044566, 80.119224),
|
||||||
|
new GLatLng(13.045298, 80.116939),
|
||||||
|
new GLatLng(13.046312, 80.118892),
|
||||||
|
new GLatLng(13.046960, 80.119600),
|
||||||
|
new GLatLng(13.052610, 80.123398),
|
||||||
|
new GLatLng(13.054259, 80.123936),
|
||||||
|
new GLatLng(13.054450, 80.123613),
|
||||||
|
new GLatLng(13.054392, 80.122991),
|
||||||
|
new GLatLng(13.054517, 80.122344),
|
||||||
|
new GLatLng(13.054839, 80.121500),], "#ff00ff" , 2 ,0.8, 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),
|
||||||
|
], "#ff8800" , 3 ,0.8, 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),
|
||||||
|
], "#ff00ff" , 2 ,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>
|
||||||
1005
telegram-bot/map_pages/map09.html
Normal file
1005
telegram-bot/map_pages/map09.html
Normal file
File diff suppressed because it is too large
Load Diff
846
telegram-bot/map_pages/map10.html
Normal file
846
telegram-bot/map_pages/map10.html
Normal file
@@ -0,0 +1,846 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.084463,80.102914), 13);
|
||||||
|
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 = "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(13.193077,80.184209, rmark10, '1.0', 'Route no:10 - Red Hills ');
|
||||||
|
newpoints[1] = new Array(13.170922,80.199176, rmark10, '1.0', 'Route no:10 - Kavangarai ');
|
||||||
|
newpoints[2] = new Array(13.164392,80.202371, rmark10, '1.0', 'Route no:10 - Puzhal Jail ');
|
||||||
|
newpoints[3] = new Array(13.209019,80.172312, px1, '1.0', 'Route no:10 - Puzhal Checkpost ');
|
||||||
|
newpoints[4] = new Array(13.158190,80.202979, rmark10, '1.0', 'Route no:10 - Puzhal Camp ');
|
||||||
|
newpoints[5] = new Array(13.152113,80.193415, rmark10, '1.0', 'Route no:10 - Vellamal college ');
|
||||||
|
newpoints[6] = new Array(13.132102,80.169888, rmark10, '1.0', 'Route no:10 - Kallikuppam Tea shop ');
|
||||||
|
newpoints[7] = new Array(13.132125,80.171039, rmark10, '1.0', 'Route no:10 - Kallikuppam Arch ');
|
||||||
|
newpoints[8] = new Array(13.132037,80.165109, rmark10, '1.0', 'Route no:10 - Wireless ');
|
||||||
|
newpoints[9] = new Array(13.131231,80.160504, rmark10, '1.0', 'Route no:10 - M.K.Mahal ');
|
||||||
|
newpoints[10]= new Array(13.130606,80.158811, rmark10, '1.0', 'Route no:10 - Puthur ');
|
||||||
|
newpoints[11]= new Array(13.124141,80.150946, rmark10, '1.0', 'Route no:10 - Oragadam ');
|
||||||
|
newpoints[12]= new Array(13.119712,80.101769, rmark10, '1.0', 'Route no:10 - Ponnu Supermarket ');
|
||||||
|
newpoints[13]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:10 - RIT Flag ');
|
||||||
|
newpoints[14]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:10 - RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Red hills Route No:New 16 Pink
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.193077,80.184209),
|
||||||
|
new GLatLng(13.189628,80.187370),
|
||||||
|
new GLatLng(13.187799,80.189252),
|
||||||
|
new GLatLng(13.187799,80.189252),
|
||||||
|
new GLatLng(13.186253,80.190024),
|
||||||
|
new GLatLng(13.185292,80.190990),
|
||||||
|
new GLatLng(13.184184,80.191805),
|
||||||
|
new GLatLng(13.183184,80.192205),
|
||||||
|
new GLatLng(13.182680,80.192471),
|
||||||
|
new GLatLng(13.181828,80.193015),
|
||||||
|
new GLatLng(13.174365,80.197191),
|
||||||
|
new GLatLng(13.170922,80.199176),
|
||||||
|
new GLatLng(13.166551,80.201504),
|
||||||
|
new GLatLng(13.164796,80.202212),
|
||||||
|
new GLatLng(13.158611,80.203607),
|
||||||
|
new GLatLng(13.158277,80.203242),
|
||||||
|
new GLatLng(13.158277,80.203242),
|
||||||
|
new GLatLng(13.158645,80.200685),
|
||||||
|
new GLatLng(13.158945,80.197685),
|
||||||
|
new GLatLng(13.158486,80.196805),
|
||||||
|
new GLatLng(13.156480,80.196311),
|
||||||
|
new GLatLng(13.155728,80.196590),
|
||||||
|
new GLatLng(13.154975,80.196269),
|
||||||
|
new GLatLng(13.154599,80.195045),
|
||||||
|
new GLatLng(13.152970,80.194252),
|
||||||
|
new GLatLng(13.152385,80.193758),
|
||||||
|
new GLatLng(13.149125,80.189359),
|
||||||
|
new GLatLng(13.144110,80.188222),
|
||||||
|
new GLatLng(13.143441,80.187471),
|
||||||
|
new GLatLng(13.141310,80.182815),
|
||||||
|
new GLatLng(13.140265,80.179961),
|
||||||
|
new GLatLng(13.132220,80.172944),
|
||||||
|
new GLatLng(13.132091,80.171004),
|
||||||
|
new GLatLng(13.132045,80.171034),
|
||||||
|
new GLatLng(13.132042,80.167547),
|
||||||
|
new GLatLng(13.131958,80.164973),
|
||||||
|
new GLatLng(13.131112,80.160209),
|
||||||
|
new GLatLng(13.130161,80.157913),
|
||||||
|
new GLatLng(13.127465,80.153986),
|
||||||
|
new GLatLng(13.125031,80.152527),
|
||||||
|
new GLatLng(13.123025,80.149040),
|
||||||
|
new GLatLng(13.122690,80.148718),
|
||||||
|
new GLatLng(13.122189,80.148557),
|
||||||
|
new GLatLng(13.121627,80.148560),
|
||||||
|
new GLatLng(13.121539,80.148482),], "#0000ff",3,1, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// ambattur to Vaishnavi nagar violet
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.121494,80.148340),
|
||||||
|
new GLatLng(13.121816,80.147879),
|
||||||
|
new GLatLng(13.122192,80.147227),
|
||||||
|
new GLatLng(13.122625,80.146570),
|
||||||
|
new GLatLng(13.123965,80.144395),
|
||||||
|
new GLatLng(13.125773,80.141519),
|
||||||
|
new GLatLng(13.128280,80.139556),
|
||||||
|
new GLatLng(13.130161,80.137893),
|
||||||
|
new GLatLng(13.130725,80.134524),
|
||||||
|
new GLatLng(13.130756,80.130790),
|
||||||
|
new GLatLng(13.131331,80.128248),
|
||||||
|
new GLatLng(13.131342,80.127540),
|
||||||
|
new GLatLng(13.131174,80.126950),
|
||||||
|
new GLatLng(13.129074,80.124278),
|
||||||
|
], "#0000ff" ,3,1, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Route Thirumulaivoil New 15 violet
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.128745,80.124021),
|
||||||
|
new GLatLng(13.126420,80.121312),
|
||||||
|
new GLatLng(13.126321,80.121161),
|
||||||
|
new GLatLng(13.126169,80.120711),
|
||||||
|
new GLatLng(13.125876,80.119616),
|
||||||
|
new GLatLng(13.125662,80.118785),
|
||||||
|
new GLatLng(13.124785,80.116532),
|
||||||
|
new GLatLng(13.124158,80.114890),
|
||||||
|
new GLatLng(13.123395,80.112755),
|
||||||
|
new GLatLng(13.123322,80.112439),
|
||||||
|
new GLatLng(13.123202,80.111784),
|
||||||
|
new GLatLng(13.123160,80.110819),
|
||||||
|
new GLatLng(13.123071,80.110508),
|
||||||
|
new GLatLng(13.121969,80.108957),
|
||||||
|
new GLatLng(13.121467,80.108410),
|
||||||
|
new GLatLng(13.120673,80.107670),
|
||||||
|
new GLatLng(13.120459,80.107412),
|
||||||
|
new GLatLng(13.120375,80.107241),
|
||||||
|
new GLatLng(13.119853,80.105674),
|
||||||
|
new GLatLng(13.119701,80.105004),
|
||||||
|
new GLatLng(13.119607,80.104221),
|
||||||
|
new GLatLng(13.119539,80.103062),
|
||||||
|
new GLatLng(13.119665,80.101436),
|
||||||
|
new GLatLng(13.119644,80.101174),
|
||||||
|
new GLatLng(13.119612,80.100857),
|
||||||
|
new GLatLng(13.119518,80.099999),
|
||||||
|
new GLatLng(13.119471,80.099232),
|
||||||
|
new GLatLng(13.119383,80.096979),
|
||||||
|
new GLatLng(13.119336,80.095230),
|
||||||
|
], "#0000ff" , 3 ,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// RNo:15... Avadi to ORR violet
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.119336,80.095230),
|
||||||
|
new GLatLng(13.119381,80.094875),
|
||||||
|
new GLatLng(13.119142,80.092574),
|
||||||
|
new GLatLng(13.118735,80.090567),
|
||||||
|
new GLatLng(13.118589,80.089806),
|
||||||
|
new GLatLng(13.118808,80.085922),
|
||||||
|
new GLatLng(13.118838,80.082228),
|
||||||
|
new GLatLng(13.119362,80.079386),
|
||||||
|
new GLatLng(13.119247,80.076638),
|
||||||
|
new GLatLng(13.119153,80.074754),
|
||||||
|
new GLatLng(13.119195,80.073209),
|
||||||
|
new GLatLng(13.119278,80.071696),
|
||||||
|
new GLatLng(13.119728,80.069507),
|
||||||
|
new GLatLng(13.120407,80.066746),
|
||||||
|
new GLatLng(13.120998,80.064904),
|
||||||
|
new GLatLng(13.121348,80.063864),
|
||||||
|
new GLatLng(13.122058,80.062555),
|
||||||
|
],"#0000ff" ,3,1.0,100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Pattabiram one way violet
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.122058,80.062555),
|
||||||
|
new GLatLng(13.122088,80.062412),
|
||||||
|
new GLatLng(13.121857,80.062443),
|
||||||
|
new GLatLng(13.121790,80.062489),
|
||||||
|
new GLatLng(13.121748,80.062736),
|
||||||
|
new GLatLng(13.121638,80.063176),
|
||||||
|
new GLatLng(13.121264,80.063930),
|
||||||
|
new GLatLng(13.121032,80.064483),
|
||||||
|
new GLatLng(13.120891,80.064679),
|
||||||
|
new GLatLng(13.120763,80.064757),
|
||||||
|
new GLatLng(13.120564,80.064795),
|
||||||
|
new GLatLng(13.120512,80.064776),
|
||||||
|
new GLatLng(13.120055,80.064521),
|
||||||
|
new GLatLng(13.119381,80.064135),
|
||||||
|
new GLatLng(13.118859,80.063867),
|
||||||
|
new GLatLng(13.118467,80.063709),
|
||||||
|
new GLatLng(13.117494,80.063506),
|
||||||
|
new GLatLng(13.116770,80.063385),
|
||||||
|
new GLatLng(13.116306,80.063308),
|
||||||
|
new GLatLng(13.116136,80.063305),
|
||||||
|
new GLatLng(13.116068,80.063284),
|
||||||
|
new GLatLng(13.115645,80.063158),
|
||||||
|
new GLatLng(13.114579,80.062938),
|
||||||
|
new GLatLng(13.113873,80.062859),
|
||||||
|
new GLatLng(13.112920,80.062465),
|
||||||
|
new GLatLng(13.112677,80.062299),
|
||||||
|
new GLatLng(13.111473,80.061945),
|
||||||
|
new GLatLng(13.111227,80.061773),
|
||||||
|
new GLatLng(13.111102,80.061690),
|
||||||
|
new GLatLng(13.110187,80.061358),
|
||||||
|
new GLatLng(13.109704,80.061017),
|
||||||
|
new GLatLng(13.109508,80.060931),
|
||||||
|
new GLatLng(13.108842,80.060570),
|
||||||
|
new GLatLng(13.106603,80.059014),
|
||||||
|
new GLatLng(13.105612,80.0583630),
|
||||||
|
new GLatLng(13.103729,80.058498),
|
||||||
|
new GLatLng(13.103026,80.058274),
|
||||||
|
new GLatLng(13.101051,80.058124),
|
||||||
|
new GLatLng(13.100804,80.058054),
|
||||||
|
new GLatLng(13.100524,80.057990),
|
||||||
|
new GLatLng(13.100359,80.057958),
|
||||||
|
new GLatLng(13.099787,80.057923),
|
||||||
|
new GLatLng(13.098867,80.057969),
|
||||||
|
new GLatLng(13.098342,80.057961),
|
||||||
|
new GLatLng(13.097536,80.057889),
|
||||||
|
new GLatLng(13.095888,80.057653),
|
||||||
|
new GLatLng(13.094833,80.057559),
|
||||||
|
new GLatLng(13.093618,80.057492),
|
||||||
|
new GLatLng(13.090763,80.057211),
|
||||||
|
new GLatLng(13.090050,80.057146),
|
||||||
|
new GLatLng(13.089730,80.057258),
|
||||||
|
new GLatLng(13.089456,80.057274),
|
||||||
|
], "#0000ff" ,3,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// 15 Nemilicherry ORR Roundtana to Poonamalle violet
|
||||||
|
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
|
||||||
|
new GLatLng(13.089456,80.057274),
|
||||||
|
new GLatLng(13.087031,80.059136),
|
||||||
|
new GLatLng(13.082892,80.062977),
|
||||||
|
new GLatLng(13.079945,80.065252),
|
||||||
|
new GLatLng(13.075025,80.068475),
|
||||||
|
new GLatLng(13.069636,80.071874),
|
||||||
|
new GLatLng(13.063739,80.075560),
|
||||||
|
new GLatLng(13.058791,80.078731),
|
||||||
|
new GLatLng(13.054895,80.081371),
|
||||||
|
new GLatLng(13.049627,80.083474),
|
||||||
|
new GLatLng(13.048367,80.083959),
|
||||||
|
new GLatLng(13.048215,80.084005),
|
||||||
|
new GLatLng(13.048182,80.084123),
|
||||||
|
new GLatLng(13.047931,80.084244),
|
||||||
|
new GLatLng(13.047680,80.084418),
|
||||||
|
new GLatLng(13.047466,80.084603),
|
||||||
|
new GLatLng(13.047351,80.084826),
|
||||||
|
new GLatLng(13.047309,80.085179),
|
||||||
|
new GLatLng(13.047445,80.085527),
|
||||||
|
new GLatLng(13.047738,80.085720),
|
||||||
|
new GLatLng(13.048126,80.085748),
|
||||||
|
new GLatLng(13.048398,80.085603),
|
||||||
|
new GLatLng(13.048576,80.085351),
|
||||||
|
new GLatLng(13.048649,80.085092),
|
||||||
|
new GLatLng(13.048576,80.084730),
|
||||||
|
new GLatLng(13.048482,80.084288),
|
||||||
|
new GLatLng(13.048241,80.083578),
|
||||||
|
new GLatLng(13.047964,80.082728),
|
||||||
|
new GLatLng(13.047644,80.081750),
|
||||||
|
], "#0000ff" ,3,0.8,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),
|
||||||
|
|
||||||
|
|
||||||
|
], "#0000ff" , 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),
|
||||||
|
], "#0000ff" , 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>
|
||||||
728
telegram-bot/map_pages/map11.html
Normal file
728
telegram-bot/map_pages/map11.html
Normal file
@@ -0,0 +1,728 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.044463,80.072914), 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 = "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.839481,80.055110, rmark11, '1.0', 'Route no:11 - Srinivasapuram ');
|
||||||
|
newpoints[1] = new Array(12.845290,80.061085, rmark11, '1.0', 'Route no:11 - Guvanchery ');
|
||||||
|
newpoints[2] = new Array(12.851227,80.065639, rmark11, '1.0', 'Route no:11 - E.B ');
|
||||||
|
newpoints[3] = new Array(12.867567,80.075568, rmark11, '1.0', 'Route no:11 - Urapakkam ');
|
||||||
|
newpoints[4] = new Array(12.890273,80.084603, rmark11, '1.0', 'Route no:11 - Vandalur ');
|
||||||
|
newpoints[5] = new Array(12.901269,80.092330, rmark11, '1.0', 'Route no:11 - Perungalathur ');
|
||||||
|
newpoints[6] = new Array(12.917287,80.107430, rmark11, '1.0', 'Route no:11 - Irrummpuliyur ');
|
||||||
|
newpoints[7] = new Array(12.935993,80.127034, rmark11, '1.0', 'Route no:11 - MEPZ ');
|
||||||
|
newpoints[8] = new Array(12.938966,80.129455, rmark11, '1.0', 'Route no:11 - Sanitoriyum ');
|
||||||
|
newpoints[9] = new Array(12.942570,80.133013, rmark11, '1.0', 'Route no:11 - T.B.Hospital ');
|
||||||
|
newpoints[10]= new Array(12.951928,80.140544, rmark11, '1.0', 'Route no:11 - Chrompet ');
|
||||||
|
newpoints[11]= new Array(12.965068,80.147840, rmark11, '1.0', 'Route no:11 - Pallavaram ');
|
||||||
|
newpoints[12]= new Array(12.972815,80.138334, rmark11, '1.0', 'Route no:11 - Pammal Krishna Nagar ');
|
||||||
|
newpoints[13]= new Array(13.017962,80.102670, rmark11, '1.0', 'Route no:11 - Sikkarayapuram ');
|
||||||
|
newpoints[14]= new Array(13.019925,80.104443, rmark11, '1.0', 'Route no:11 - Muthukumaran College ');
|
||||||
|
newpoints[15]= new Array(13.026911,80.110687, rmark11, '1.0', 'Route no:11 - Mangadu pettur ');
|
||||||
|
newpoints[16]= new Array(13.034010,80.111614, rmark11, '1.0', 'Route no:11 - Mangadu ');
|
||||||
|
newpoints[17]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:11 - RIT Flag ');
|
||||||
|
newpoints[18]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:11 - RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
//Route no 11 Guduvanchery
|
||||||
|
var poly =new GPolyline([new GLatLng(12.839481,80.055110),
|
||||||
|
new GLatLng(12.843812,80.059648),
|
||||||
|
new GLatLng(12.846385,80.062115),
|
||||||
|
new GLatLng(12.849942,80.064712),
|
||||||
|
new GLatLng(12.853708,80.067394),
|
||||||
|
new GLatLng(12.858519,80.071106),
|
||||||
|
new GLatLng(12.861364,80.073030),
|
||||||
|
new GLatLng(12.864251,80.074282),
|
||||||
|
new GLatLng(12.871133,80.077028),
|
||||||
|
new GLatLng(12.879354,80.08014)], "#0000ff" , 3,0.6, 60); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
//Route no 11 Guduvanchery
|
||||||
|
var poly =new GPolyline([new GLatLng(12.843812,80.059648),
|
||||||
|
new GLatLng(12.846385,80.062115),
|
||||||
|
new GLatLng(12.849942,80.064712),
|
||||||
|
new GLatLng(12.853708,80.067394),
|
||||||
|
new GLatLng(12.858519,80.071106),
|
||||||
|
new GLatLng(12.861364,80.073030),
|
||||||
|
new GLatLng(12.864251,80.074282),
|
||||||
|
new GLatLng(12.871133,80.077028),
|
||||||
|
new GLatLng(12.879354,80.08014)], "#0000ff" , 3,0.6, 60); map.addOverlay(poly);
|
||||||
|
|
||||||
|
// route 11 vandalur Zoo to pallavaram
|
||||||
|
var poly =new GPolyline([new GLatLng(12.879291,80.080161),
|
||||||
|
new GLatLng(12.884249,80.0822),
|
||||||
|
new GLatLng(12.891110,80.085032),
|
||||||
|
new GLatLng(12.892637,80.085955),
|
||||||
|
new GLatLng(12.898598,80.090311),
|
||||||
|
new GLatLng(12.904977,80.095224),
|
||||||
|
new GLatLng(12.909035,80.098422),
|
||||||
|
new GLatLng(12.910415,80.100567),
|
||||||
|
new GLatLng(12.911440,80.101254),
|
||||||
|
new GLatLng(12.914473,80.101748),
|
||||||
|
new GLatLng(12.915456,80.102670),
|
||||||
|
new GLatLng(12.915853,80.104752),
|
||||||
|
new GLatLng(12.917275,80.107884),
|
||||||
|
new GLatLng(12.919994,80.111082),
|
||||||
|
new GLatLng(12.926917,80.118098),
|
||||||
|
new GLatLng(12.936014,80.126939),
|
||||||
|
new GLatLng(12.943543,80.134320),
|
||||||
|
new GLatLng(12.946889,80.136852),
|
||||||
|
new GLatLng(12.951531,80.140285),
|
||||||
|
new GLatLng(12.952911,80.141487),
|
||||||
|
new GLatLng(12.968532,80.149662)], "#0000ff" , 3 ,0.6, 60);map.addOverlay(poly);
|
||||||
|
|
||||||
|
//Route no 11 from pallavaram to poonamalle via pammal
|
||||||
|
// REC Route No:38
|
||||||
|
var poly =new GPolyline([
|
||||||
|
new GLatLng(12.968532,80.149662),
|
||||||
|
new GLatLng(12.970309,80.147023),
|
||||||
|
new GLatLng(12.969807,80.146036),
|
||||||
|
new GLatLng(12.971459,80.142581),
|
||||||
|
new GLatLng(12.972128,80.139835),
|
||||||
|
new GLatLng(12.974387,80.135307),
|
||||||
|
new GLatLng(12.974888,80.132711),
|
||||||
|
new GLatLng(12.976499,80.132625),
|
||||||
|
new GLatLng(12.977439,80.130715),
|
||||||
|
new GLatLng(12.979572,80.129020),
|
||||||
|
new GLatLng(12.982395,80.129342),
|
||||||
|
new GLatLng(12.983001,80.128698),
|
||||||
|
new GLatLng(12.983524,80.125737),
|
||||||
|
new GLatLng(12.985009,80.123312),
|
||||||
|
new GLatLng(12.984632,80.121703),
|
||||||
|
new GLatLng(12.986556,80.119150),
|
||||||
|
new GLatLng(12.989086,80.117347),
|
||||||
|
new GLatLng(12.992766,80.114236),
|
||||||
|
new GLatLng(12.995839,80.110331),
|
||||||
|
new GLatLng(12.997073,80.106769),
|
||||||
|
new GLatLng(12.997867,80.103700),
|
||||||
|
new GLatLng(12.998641,80.101833),
|
||||||
|
new GLatLng(12.997679,80.099730),
|
||||||
|
new GLatLng(12.997637,80.098143),
|
||||||
|
new GLatLng(12.998118,80.096555),
|
||||||
|
new GLatLng(13.003052,80.099001),
|
||||||
|
new GLatLng(13.004600,80.100331),
|
||||||
|
new GLatLng(13.006314,80.100374),
|
||||||
|
new GLatLng(13.008917,80.101522),
|
||||||
|
new GLatLng(13.012116,80.102359),
|
||||||
|
new GLatLng(13.013966,80.102971),
|
||||||
|
new GLatLng(13.017792,80.102606),
|
||||||
|
new GLatLng(13.026447,80.110438),
|
||||||
|
new GLatLng(13.027901,80.111253),
|
||||||
|
new GLatLng(13.031339,80.111189),
|
||||||
|
new GLatLng(13.036168,80.112326),
|
||||||
|
new GLatLng(13.039659,80.113785),
|
||||||
|
new GLatLng(13.041289,80.114558),
|
||||||
|
new GLatLng(13.041540,80.114944),
|
||||||
|
new GLatLng(13.042982,80.115309),
|
||||||
|
new GLatLng(13.043463,80.115105),
|
||||||
|
new GLatLng(13.044874,80.115684),
|
||||||
|
new GLatLng(13.045804,80.112938),
|
||||||
|
new GLatLng(13.046369,80.111704),
|
||||||
|
new GLatLng(13.047121,80.109923),
|
||||||
|
new GLatLng(13.048794,80.106801),
|
||||||
|
new GLatLng(13.049703,80.104269),
|
||||||
|
new GLatLng(13.049745,80.100932),
|
||||||
|
new GLatLng(13.050309,80.099258),
|
||||||
|
new GLatLng(13.050863,80.095879),
|
||||||
|
new GLatLng(13.050821,80.094055),
|
||||||
|
new GLatLng(13.050121,80.092124),
|
||||||
|
new GLatLng(13.049588,80.089388),
|
||||||
|
new GLatLng(13.049212,80.087703),
|
||||||
|
new GLatLng(13.048367,80.083959),
|
||||||
|
], "#0000ff" , 3 ,0.6, 60);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),
|
||||||
|
|
||||||
|
|
||||||
|
], "#0000ff" , 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),
|
||||||
|
], "#0000ff" , 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>
|
||||||
940
telegram-bot/map_pages/map12.html
Normal file
940
telegram-bot/map_pages/map12.html
Normal file
@@ -0,0 +1,940 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.134463,80.242914), 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 = "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(13.163544,80.258972, rmark12, '1.0', 'Route no:12Manali Market ');
|
||||||
|
newpoints[1] = new Array(13.166853,80.250066, rmark12, '1.0', 'Route no:12MMDA 3rd Main Road ');
|
||||||
|
newpoints[2] = new Array(13.166852,80.246060, rmark12, '1.0', 'Route no:12MMDA 1st Main Road ');
|
||||||
|
newpoints[3] = new Array(13.150226,80.241747, rmark12, '1.0', 'Route no:12Madavaram Milk Colony ');
|
||||||
|
newpoints[4] = new Array(13.145575,80.239754, rmark12, '1.0', 'Route no:12Arul Nagar ');
|
||||||
|
newpoints[5] = new Array(13.142221,80.236749, rmark12, '1.0', 'Route no:12Thapalpetti ');
|
||||||
|
newpoints[6] = new Array(13.128941,80.241504, rmark12, '1.0', 'Route no:12Moolakadai ');
|
||||||
|
newpoints[7] = new Array(13.121278,80.242684, rmark12, '1.0', 'Route no:12Donbosco ');
|
||||||
|
newpoints[8] = new Array(13.119802,80.232286, rmark12, '1.0', 'Route no:12Thiruvika Nagar ');
|
||||||
|
newpoints[9] = new Array(13.123963,80.222204, rmark12, '1.0', 'Route no:12Kolathur Welding shop ');
|
||||||
|
newpoints[10]= new Array(13.126098,80.219306, rmark12, '1.0', 'Route no:12Kolathur Mugambigai Theatre ');
|
||||||
|
newpoints[11]= new Array(13.129937,80.214349, rmark12, '1.0', 'Route no:12Retteri Bus Stop ');
|
||||||
|
newpoints[12]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:12 RIT Flag ');
|
||||||
|
newpoints[13]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:12 RIT Pole ');
|
||||||
|
|
||||||
|
//Route no 12 Manali
|
||||||
|
var poly =new GPolyline([new GLatLng(13.163544,80.258972),
|
||||||
|
new GLatLng(13.163817,80.257172),
|
||||||
|
new GLatLng(13.163950,80.256345),
|
||||||
|
new GLatLng(13.164958,80.254001),
|
||||||
|
new GLatLng(13.165745,80.252800),
|
||||||
|
new GLatLng(13.166602,80.251064),
|
||||||
|
new GLatLng(13.166780,80.250506),
|
||||||
|
new GLatLng(13.166853,80.250066),
|
||||||
|
new GLatLng(13.166852,80.246060),
|
||||||
|
new GLatLng(13.166895,80.245028),
|
||||||
|
new GLatLng(13.164304,80.244969),
|
||||||
|
new GLatLng(13.161801,80.244986),
|
||||||
|
new GLatLng(13.161686,80.244892),
|
||||||
|
new GLatLng(13.161676,80.243857),
|
||||||
|
new GLatLng(13.159837,80.243873),
|
||||||
|
new GLatLng(13.155862,80.243996),
|
||||||
|
new GLatLng(13.154984,80.243932),
|
||||||
|
new GLatLng(13.152775,80.243099),
|
||||||
|
new GLatLng(13.152545,80.242756),
|
||||||
|
new GLatLng(13.150226,80.241747),
|
||||||
|
new GLatLng(13.147983,80.240784),
|
||||||
|
new GLatLng(13.146792,80.240280),
|
||||||
|
new GLatLng(13.145575,80.239754),
|
||||||
|
new GLatLng(13.143668,80.238960),
|
||||||
|
new GLatLng(13.143480,80.238794),
|
||||||
|
new GLatLng(13.143490,80.237228),
|
||||||
|
new GLatLng(13.143406,80.237019),
|
||||||
|
new GLatLng(13.142936,80.236863),
|
||||||
|
new GLatLng(13.142221,80.236749),
|
||||||
|
new GLatLng(13.141181,80.237254),
|
||||||
|
new GLatLng(13.140831,80.237324),
|
||||||
|
new GLatLng(13.139196,80.237501),
|
||||||
|
new GLatLng(13.139018,80.237539),
|
||||||
|
new GLatLng(13.137673,80.237863),
|
||||||
|
new GLatLng(13.136691,80.238029),
|
||||||
|
new GLatLng(13.134406,80.238924),
|
||||||
|
new GLatLng(13.132499,80.239866),
|
||||||
|
new GLatLng(13.132363,80.239904),
|
||||||
|
new GLatLng(13.130882,80.240663),
|
||||||
|
new GLatLng(13.129630,80.241613),
|
||||||
|
new GLatLng(13.128941,80.241504),
|
||||||
|
new GLatLng(13.128736,80.241445),
|
||||||
|
new GLatLng(13.127127,80.241372),
|
||||||
|
new GLatLng(13.126856,80.241418),
|
||||||
|
new GLatLng(13.126391,80.241477),
|
||||||
|
new GLatLng(13.124091,80.242018),
|
||||||
|
new GLatLng(13.123295,80.242180),
|
||||||
|
new GLatLng(13.122250,80.242480),
|
||||||
|
new GLatLng(13.121278,80.242684),
|
||||||
|
new GLatLng(13.121872,80.240566),
|
||||||
|
new GLatLng(13.122248,80.238688),
|
||||||
|
new GLatLng(13.122080,80.237382),
|
||||||
|
new GLatLng(13.121025,80.232565),
|
||||||
|
new GLatLng(13.119802,80.232286),
|
||||||
|
new GLatLng(13.118976,80.232164),
|
||||||
|
new GLatLng(13.118639,80.232026),
|
||||||
|
new GLatLng(13.116067,80.231626),
|
||||||
|
new GLatLng(13.117127,80.229798),
|
||||||
|
new GLatLng(13.117833,80.228263),
|
||||||
|
new GLatLng(13.118423,80.226423),
|
||||||
|
new GLatLng(13.118590,80.225999),
|
||||||
|
new GLatLng(13.119389,80.225205),
|
||||||
|
new GLatLng(13.120376,80.224277),
|
||||||
|
new GLatLng(13.120820,80.224009),
|
||||||
|
new GLatLng(13.121713,80.223778),
|
||||||
|
new GLatLng(13.122168,80.223612),
|
||||||
|
new GLatLng(13.122518,80.223451),
|
||||||
|
new GLatLng(13.123417,80.222743),
|
||||||
|
new GLatLng(13.123793,80.222424),
|
||||||
|
new GLatLng(13.123963,80.222204),
|
||||||
|
new GLatLng(13.125095,80.220647),
|
||||||
|
new GLatLng(13.126098,80.219306),
|
||||||
|
new GLatLng(13.127571,80.217353),
|
||||||
|
new GLatLng(13.129070,80.215352),
|
||||||
|
new GLatLng(13.129399,80.214896),
|
||||||
|
new GLatLng(13.129937,80.214349),
|
||||||
|
new GLatLng(13.130261,80.213780),
|
||||||
|
new GLatLng(13.130076,80.213592),
|
||||||
|
], "#009900" , 3 ,1.0, 100); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
//New route 11 part 1 Rettery to Padi Jn
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.130259,80.213789),
|
||||||
|
new GLatLng(13.129873,80.213327),
|
||||||
|
new GLatLng(13.129570,80.212837),
|
||||||
|
new GLatLng(13.128661,80.211321),
|
||||||
|
new GLatLng(13.127963,80.210111),
|
||||||
|
new GLatLng(13.126663,80.208011),
|
||||||
|
new GLatLng(13.125952,80.206552),
|
||||||
|
new GLatLng(13.125336,80.205436),
|
||||||
|
new GLatLng(13.124511,80.203983),
|
||||||
|
new GLatLng(13.123570,80.202277),
|
||||||
|
new GLatLng(13.122454,80.200646),
|
||||||
|
new GLatLng(13.120991,80.199670),
|
||||||
|
new GLatLng(13.119975,80.199227),
|
||||||
|
new GLatLng(13.118731,80.198479),
|
||||||
|
new GLatLng(13.117805,80.198028),
|
||||||
|
new GLatLng(13.117230,80.197867),
|
||||||
|
new GLatLng(13.116478,80.197738),
|
||||||
|
new GLatLng(13.115582,80.197620),
|
||||||
|
new GLatLng(13.113029,80.197331),
|
||||||
|
new GLatLng(13.110755,80.197062),
|
||||||
|
new GLatLng(13.109804,80.196837),
|
||||||
|
new GLatLng(13.109351,80.196633),
|
||||||
|
new GLatLng(13.107050,80.195357),
|
||||||
|
new GLatLng(13.106039,80.194788),
|
||||||
|
new GLatLng(13.105433,80.194659),
|
||||||
|
new GLatLng(13.104712,80.194606),
|
||||||
|
new GLatLng(13.102497,80.194445),
|
||||||
|
new GLatLng(13.101939,80.194386),
|
||||||
|
new GLatLng(13.101939,80.194386),
|
||||||
|
], "#009900" , 3 ,1.0, 100); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Padi Jn - Shanthi colony to Koyembedu roundana
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.101939,80.194386),
|
||||||
|
new GLatLng(13.101939,80.194386),
|
||||||
|
new GLatLng(13.101307,80.194520),
|
||||||
|
new GLatLng(13.101004,80.194541),
|
||||||
|
new GLatLng(13.100649,80.194643),
|
||||||
|
new GLatLng(13.100116,80.194874),
|
||||||
|
new GLatLng(13.099452,80.195416),
|
||||||
|
new GLatLng(13.098726,80.196671),
|
||||||
|
new GLatLng(13.098726,80.196671),
|
||||||
|
new GLatLng(13.098367,80.197937),
|
||||||
|
new GLatLng(13.097907,80.198420),
|
||||||
|
new GLatLng(13.097280,80.198666),
|
||||||
|
new GLatLng(13.096883,80.198709),
|
||||||
|
new GLatLng(13.094939,80.198656),
|
||||||
|
new GLatLng(13.093054,80.198666),
|
||||||
|
new GLatLng(13.091554,80.198666),
|
||||||
|
new GLatLng(13.089554,80.198666),
|
||||||
|
new GLatLng(13.087206,80.198645),
|
||||||
|
new GLatLng(13.086748,80.198650),
|
||||||
|
new GLatLng(13.085748,80.198650),
|
||||||
|
new GLatLng(13.084748,80.198650),
|
||||||
|
new GLatLng(13.083748,80.198650),
|
||||||
|
new GLatLng(13.082748,80.198650),
|
||||||
|
new GLatLng(13.082162,80.198650),
|
||||||
|
new GLatLng(13.080572,80.198672),
|
||||||
|
new GLatLng(13.078773,80.198857),
|
||||||
|
new GLatLng(13.077648,80.198994),
|
||||||
|
new GLatLng(13.075990,80.199084),
|
||||||
|
new GLatLng(13.075974,80.199169),
|
||||||
|
new GLatLng(13.075649,80.199214),
|
||||||
|
new GLatLng(13.075396,80.199293),
|
||||||
|
new GLatLng(13.075271,80.199467),
|
||||||
|
new GLatLng(13.075250,80.199665),
|
||||||
|
new GLatLng(13.075391,80.199837),
|
||||||
|
new GLatLng(13.075799,80.199901),
|
||||||
|
new GLatLng(13.076128,80.199719),
|
||||||
|
new GLatLng(13.076180,80.199365),
|
||||||
|
new GLatLng(13.076039,80.198812),
|
||||||
|
new GLatLng(13.075793,80.198093),
|
||||||
|
new GLatLng(13.075558,80.197181),
|
||||||
|
new GLatLng(13.075349,80.196468),
|
||||||
|
], "#009900" , 3 ,1.0, 100); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Route New 12A Simpsons to 70 feet road
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
|
||||||
|
new GLatLng(13.122149, 80.223638),
|
||||||
|
new GLatLng(13.123185,80.222892),
|
||||||
|
new GLatLng(13.123485,80.222692),
|
||||||
|
new GLatLng(13.123829,80.222328),
|
||||||
|
new GLatLng(13.123947,80.222227),
|
||||||
|
new GLatLng(13.124547,80.221427),
|
||||||
|
new GLatLng(13.125094,80.220602),
|
||||||
|
new GLatLng(13.126073,80.219319),
|
||||||
|
new GLatLng(13.126573,80.218319),
|
||||||
|
new GLatLng(13.127388,80.217614),
|
||||||
|
new GLatLng(13.128481,80.216122),
|
||||||
|
new GLatLng(13.129409,80.214888),
|
||||||
|
new GLatLng(13.129845,80.214449),
|
||||||
|
new GLatLng(13.130188,80.213923),
|
||||||
|
], "#009900" , 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),
|
||||||
|
], "#009900" , 3 ,1.0, 100); 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),
|
||||||
|
], "#009900" , 3 ,1.0, 100); 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),
|
||||||
|
], "#009900" , 3 ,1.0, 100); 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),
|
||||||
|
], "#009900" , 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),
|
||||||
|
], "#009900" , 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" style="width:100%;height:850px"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
853
telegram-bot/map_pages/map13.html
Normal file
853
telegram-bot/map_pages/map13.html
Normal file
@@ -0,0 +1,853 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.074463,80.192914), 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 = "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(13.097864,80.252077, rmark13, '1.0', 'Route no:13Otteri (Strahans Rd) ');
|
||||||
|
newpoints[1] = new Array(13.097382,80.248226, rmark13, '1.0', 'Route no:13Podi Kadai ');
|
||||||
|
newpoints[2] = new Array(13.096992,80.246833, rmark13, '1.0', 'Route no:13Suburayan Street ');
|
||||||
|
newpoints[3] = new Array(13.096941,80.245461, rmark13, '1.0', 'Route no:13T.B.Hospital ');
|
||||||
|
newpoints[4] = new Array(13.097474,80.242102, rmark13, '1.0', 'Route no:13Ayanawaram Signal ');
|
||||||
|
newpoints[5] = new Array(13.097819,80.238958, rmark13, '1.0', 'Route no:13Sayyani ');
|
||||||
|
newpoints[6] = new Array(13.098519,80.234666, rmark13, '1.0', 'Route no:13Ayanawaram Noor Hotel ');
|
||||||
|
newpoints[7] = new Array(13.099722,80.229924, rmark13, '1.0', 'Route no:13Joint Office ');
|
||||||
|
newpoints[8] = new Array(13.099970,80.225493, rmark13, '1.0', 'Route no:13Ayanawaram Railway Quarters ');
|
||||||
|
newpoints[9] = new Array(13.099178,80.219684, rmark13, '1.0', 'Route no:13Kambar Arangam ');
|
||||||
|
newpoints[10]= new Array(13.100142,80.215650, rmark13, '1.0', 'Route no:13ICF ');
|
||||||
|
newpoints[11]= new Array(13.102087,80.210806, rmark13, '1.0', 'Route no:13Kallukadai Stop ');
|
||||||
|
newpoints[12]= new Array(13.103192,80.207602, rmark13, '1.0', 'Route no:13Villivakkam ');
|
||||||
|
newpoints[13]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:13 RIT Flag ');
|
||||||
|
newpoints[14]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:13 RIT Pole ');
|
||||||
|
|
||||||
|
// Route 13 Ayanavaram - Choolai to RIT
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.097864,80.252077),
|
||||||
|
new GLatLng(13.097920,80.251468),
|
||||||
|
new GLatLng(13.098218,80.251160),
|
||||||
|
new GLatLng(13.097988,80.250747),
|
||||||
|
new GLatLng(13.097847,80.250248),
|
||||||
|
new GLatLng(13.097382,80.248226),
|
||||||
|
new GLatLng(13.096992,80.246833),
|
||||||
|
new GLatLng(13.096900,80.246388),
|
||||||
|
new GLatLng(13.096941,80.245461),
|
||||||
|
new GLatLng(13.097474,80.242102),
|
||||||
|
new GLatLng(13.097819,80.238958),
|
||||||
|
new GLatLng(13.098519,80.234666),
|
||||||
|
new GLatLng(13.098615,80.233660),
|
||||||
|
new GLatLng(13.098840,80.232372),
|
||||||
|
new GLatLng(13.099279,80.231235),
|
||||||
|
new GLatLng(13.099545,80.230602),
|
||||||
|
new GLatLng(13.099722,80.229924),
|
||||||
|
new GLatLng(13.099988,80.228506),
|
||||||
|
new GLatLng(13.100082,80.227920),
|
||||||
|
new GLatLng(13.100090,80.226755),
|
||||||
|
new GLatLng(13.099970,80.225493),
|
||||||
|
new GLatLng(13.099714,80.224352),
|
||||||
|
new GLatLng(13.099583,80.223960),
|
||||||
|
new GLatLng(13.099439,80.223767),
|
||||||
|
new GLatLng(13.098787,80.222903),
|
||||||
|
new GLatLng(13.098750,80.222372),
|
||||||
|
new GLatLng(13.099178,80.219684),
|
||||||
|
new GLatLng(13.099525,80.217445),
|
||||||
|
new GLatLng(13.100142,80.215650),
|
||||||
|
new GLatLng(13.102087,80.210806),
|
||||||
|
new GLatLng(13.103192,80.207602),
|
||||||
|
new GLatLng(13.103798,80.206241),
|
||||||
|
new GLatLng(13.103882,80.205565),
|
||||||
|
new GLatLng(13.103755,80.206314),
|
||||||
|
new GLatLng(13.103879,80.205472),
|
||||||
|
new GLatLng(13.103625,80.203189),
|
||||||
|
new GLatLng(13.103492,80.201740),
|
||||||
|
new GLatLng(13.103388,80.200882),
|
||||||
|
new GLatLng(13.103228,80.199251),
|
||||||
|
new GLatLng(13.102925,80.197932),
|
||||||
|
new GLatLng(13.1024925,80.195932),
|
||||||
|
new GLatLng(13.101939,80.194386),
|
||||||
|
new GLatLng(13.101939,80.194386),
|
||||||
|
new GLatLng(13.101307,80.194520),
|
||||||
|
new GLatLng(13.101004,80.194541),
|
||||||
|
new GLatLng(13.100649,80.194643),
|
||||||
|
new GLatLng(13.100116,80.194874),
|
||||||
|
new GLatLng(13.099452,80.195416),
|
||||||
|
new GLatLng(13.098726,80.196671),
|
||||||
|
], "#9900ff" , 3 ,0.9, 90);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Route annanagar west depo New8
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.098726,80.196671),
|
||||||
|
new GLatLng(13.098367,80.197937),
|
||||||
|
new GLatLng(13.097907,80.198420),
|
||||||
|
new GLatLng(13.097280,80.198666),
|
||||||
|
new GLatLng(13.096883,80.198709),
|
||||||
|
new GLatLng(13.094939,80.198656),
|
||||||
|
new GLatLng(13.093054,80.198666),
|
||||||
|
new GLatLng(13.091554,80.198666),
|
||||||
|
new GLatLng(13.089554,80.198666),
|
||||||
|
new GLatLng(13.087206,80.198645),
|
||||||
|
new GLatLng(13.084986,80.198672),
|
||||||
|
new GLatLng(13.082748,80.198650),
|
||||||
|
new GLatLng(13.082162,80.198650),
|
||||||
|
new GLatLng(13.080572,80.198672),
|
||||||
|
new GLatLng(13.078773,80.198857),
|
||||||
|
new GLatLng(13.077648,80.198994),
|
||||||
|
new GLatLng(13.075990,80.199084),], "#9900ff" , 3, 0.9, 90);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
// Annanagar East New 7
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
|
||||||
|
],"#0000aa" ,10 ,0.5, 80);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),
|
||||||
|
], "#9900ff" , 3 ,0.8, 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),
|
||||||
|
], "#9900ff" , 3 ,0.9, 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),
|
||||||
|
], "#9900ff" , 3 ,0.9, 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),
|
||||||
|
], "#9900ff" , 3 ,0.9, 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),
|
||||||
|
], "#9900ff0" , 3 ,0.9, 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" style="width:100%;height:850px"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
755
telegram-bot/map_pages/map14.html
Normal file
755
telegram-bot/map_pages/map14.html
Normal file
@@ -0,0 +1,755 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.12080,79.935138), 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 = "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(13.129220,79.972072, rmark14, '1.0', 'Route no:14 Sevapetai ');
|
||||||
|
newpoints[1] = new Array(13.134092,79.933230, rmark14, '1.0', 'Route no:14 Kakkalur Industrial Estate ');
|
||||||
|
newpoints[2] = new Array(13.136713,79.925149, rmark14, '1.0', 'Route no:14 Poonka Nagar ');
|
||||||
|
newpoints[3] = new Array(13.137362,79.908197, rmark14, '1.0', 'Route no:14 Kakkalur Signal ');
|
||||||
|
newpoints[4] = new Array(13.135235,79.908646, rmark14, '1.0', 'Route no:14 SBI ');
|
||||||
|
newpoints[5] = new Array(13.131839,79.909390, rmark14, '1.0', 'Route no:14 Head Post Office Tiruvallur ');
|
||||||
|
newpoints[6] = new Array(13.127569,79.910464, rmark14, '1.0', 'Route no:14 Goverment Hospital - Tiruvallur ');
|
||||||
|
newpoints[7] = new Array(13.109454,79.921183, rmark14, '1.0', 'Route no:14 LIC Tiruvallur ');
|
||||||
|
newpoints[8] = new Array(13.123847,79.911316, rmark14, '1.0', 'Route no:14 GRT Tiruvallur ');
|
||||||
|
newpoints[9] = new Array(13.122694,79.911757, rmark14, '1.0', 'Route no:14 Thiruvallur Oil Mill ');
|
||||||
|
newpoints[10]= new Array(13.110735,79.910600, rmark14, '1.0', 'Route no:14 Manavala Nagar Junction ');
|
||||||
|
newpoints[11]= new Array(13.112786,79.912033, rmark14, '1.0', 'Route no:14 Manavalanagar Railway Station ');
|
||||||
|
newpoints[12]= new Array(13.112443,79.913156, rmark14, '1.0', 'Route no:14 Manavalanagar Bus stop ');
|
||||||
|
newpoints[13]= new Array(13.110374,79.918061, rmark14, '1.0', 'Route no:14 Ondikuppam ');
|
||||||
|
newpoints[14]= new Array(13.108266,79.925113, rmark14, '1.0', 'Route no:14 A P Star Marriage Hall ');
|
||||||
|
newpoints[15]= new Array(13.107425,79.930100, rmark14, '1.0', 'Route no:14 Venkathur ');
|
||||||
|
newpoints[16]= new Array(13.107655,79.937880, rmark14, '1.0', 'Route no:14 Putlur ');
|
||||||
|
newpoints[17]= new Array(13.106579,79.958749, rmark14, '1.0', 'Route no:14 Tirur ');
|
||||||
|
newpoints[18]= new Array(13.100749,79.967010, rmark14, '1.0', 'Route no:14 Aranvoyal ');
|
||||||
|
newpoints[19]= new Array(13.098865,79.976646, rmark14, '1.0', 'Route no:14 Aranvoyal Kuppam ');
|
||||||
|
newpoints[20]= new Array(13.098091,79.979089, rmark14, '1.0', 'Route no:14 Murukanchery ');
|
||||||
|
newpoints[21]= new Array(13.067901,80.036978, rmark14, '1.0', 'Route no:14 Vellavedu ');
|
||||||
|
newpoints[22]= new Array(13.055285,80.056526, rmark14, '1.0', 'Route no:14 Thirumazhisai Bus Stand ');
|
||||||
|
newpoints[23]= new Array(13.054492,80.061494, rmark14, '1.0', 'Route no:14 Thirumazhisai Sivan Koil ');
|
||||||
|
newpoints[24]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:14 RIT Flag ');
|
||||||
|
newpoints[25]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:14 RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 14 Sevvapet- kkalur-Thiruvallur-Manavalanagar-kakkalur
|
||||||
|
|
||||||
|
var poly =new GPolyline([new GLatLng(13.129220, 79.972072),
|
||||||
|
new GLatLng(13.129188,79.969757),
|
||||||
|
new GLatLng(13.129585,79.967034),
|
||||||
|
new GLatLng(13.129930,79.966025),
|
||||||
|
new GLatLng(13.130524,79.964809),
|
||||||
|
new GLatLng(13.130712,79.964545),
|
||||||
|
new GLatLng(13.130963,79.964411),
|
||||||
|
new GLatLng(13.131679,79.964009),
|
||||||
|
new GLatLng(13.132034,79.963666),
|
||||||
|
new GLatLng(13.132619,79.962529),
|
||||||
|
new GLatLng(13.132588,79.962239),
|
||||||
|
new GLatLng(13.132212,79.961096),
|
||||||
|
new GLatLng(13.131946,79.959932),
|
||||||
|
new GLatLng(13.132009,79.959294),
|
||||||
|
new GLatLng(13.132166,79.958736),
|
||||||
|
new GLatLng(13.132422,79.958468),
|
||||||
|
new GLatLng(13.133237,79.957937),
|
||||||
|
new GLatLng(13.133467,79.957632),
|
||||||
|
new GLatLng(13.133446,79.955669),
|
||||||
|
new GLatLng(13.133488,79.954784),
|
||||||
|
new GLatLng(13.133572,79.954017),
|
||||||
|
new GLatLng(13.133889,79.952746),
|
||||||
|
new GLatLng(13.134077,79.949693),
|
||||||
|
new GLatLng(13.133419,79.946957),
|
||||||
|
new GLatLng(13.132907,79.946431),
|
||||||
|
new GLatLng(13.132792,79.946174),
|
||||||
|
new GLatLng(13.133502,79.940112),
|
||||||
|
new GLatLng(13.133732,79.936926),
|
||||||
|
new GLatLng(13.133972,79.933686),
|
||||||
|
new GLatLng(13.134092,79.933230),
|
||||||
|
new GLatLng(13.134740,79.931343),
|
||||||
|
new GLatLng(13.135009,79.929192),
|
||||||
|
new GLatLng(13.135004,79.928391),
|
||||||
|
new GLatLng(13.135219,79.927550),
|
||||||
|
new GLatLng(13.135720,79.926329),
|
||||||
|
new GLatLng(13.136891,79.920986),
|
||||||
|
new GLatLng(13.137006,79.916812),
|
||||||
|
new GLatLng(13.137184,79.912424),
|
||||||
|
new GLatLng(13.137362,79.908197),
|
||||||
|
new GLatLng(13.135235,79.908646),
|
||||||
|
new GLatLng(13.134415,79.908756),
|
||||||
|
new GLatLng(13.131839,79.909396),
|
||||||
|
new GLatLng(13.129837,79.909874),
|
||||||
|
new GLatLng(13.127569,79.910464),
|
||||||
|
new GLatLng(13.125714,79.910899),
|
||||||
|
new GLatLng(13.124622,79.911076),
|
||||||
|
new GLatLng(13.124058,79.911253),
|
||||||
|
new GLatLng(13.123847,79.911316),
|
||||||
|
new GLatLng(13.122694,79.911757),
|
||||||
|
new GLatLng(13.120870,79.910459),
|
||||||
|
new GLatLng(13.119595,79.909794),
|
||||||
|
new GLatLng(13.118174,79.909354),
|
||||||
|
new GLatLng(13.116283,79.909043),
|
||||||
|
new GLatLng(13.114026,79.908818),
|
||||||
|
new GLatLng(13.111079,79.910084),
|
||||||
|
new GLatLng(13.111016,79.910095),
|
||||||
|
new GLatLng(13.110735,79.910600),
|
||||||
|
new GLatLng(13.112095,79.911277),
|
||||||
|
new GLatLng(13.112786,79.912033),
|
||||||
|
new GLatLng(13.111729,79.913728),
|
||||||
|
new GLatLng(13.111550,79.914059),
|
||||||
|
new GLatLng(13.111393,79.914370),
|
||||||
|
new GLatLng(13.109653,79.920512),
|
||||||
|
new GLatLng(13.108266,79.925113),
|
||||||
|
new GLatLng(13.107388,79.928819),
|
||||||
|
new GLatLng(13.107425,79.930100),
|
||||||
|
new GLatLng(13.107624,79.934983),
|
||||||
|
new GLatLng(13.107655,79.937880),
|
||||||
|
new GLatLng(13.107749,79.941260),
|
||||||
|
new GLatLng(13.108114,79.943570),
|
||||||
|
new GLatLng(13.108229,79.944750),
|
||||||
|
new GLatLng(13.108344,79.947776),
|
||||||
|
new GLatLng(13.108490,79.949857),
|
||||||
|
new GLatLng(13.108009,79.954953),
|
||||||
|
new GLatLng(13.107509,79.957590),
|
||||||
|
new GLatLng(13.106579,79.958749),
|
||||||
|
new GLatLng(13.103988,79.962300),
|
||||||
|
new GLatLng(13.101804,79.965411),
|
||||||
|
new GLatLng(13.100749,79.967010),
|
||||||
|
new GLatLng(13.100329,79.968005),
|
||||||
|
new GLatLng(13.099646,79.971699),
|
||||||
|
new GLatLng(13.099291,79.974823),
|
||||||
|
new GLatLng(13.098865,79.976646),
|
||||||
|
new GLatLng(13.098116,79.978953),
|
||||||
|
new GLatLng(13.098105,79.979124),
|
||||||
|
new GLatLng(13.098091,79.979089),
|
||||||
|
new GLatLng(13.097756,79.985395),
|
||||||
|
new GLatLng(13.096732,79.989493),
|
||||||
|
new GLatLng(13.094851,79.994332),
|
||||||
|
new GLatLng(13.092866,79.999192),
|
||||||
|
new GLatLng(13.091359,80.003007),
|
||||||
|
new GLatLng(13.090430,80.005496),
|
||||||
|
new GLatLng(13.089734,80.007469),
|
||||||
|
new GLatLng(13.089306,80.009336),
|
||||||
|
new GLatLng(13.088629,80.012522),
|
||||||
|
new GLatLng(13.087148,80.016310),
|
||||||
|
new GLatLng(13.086475,80.017798),
|
||||||
|
new GLatLng(13.084583,80.019482),
|
||||||
|
new GLatLng(13.083862,80.019793),
|
||||||
|
new GLatLng(13.081533,80.022110),
|
||||||
|
new GLatLng(13.079201,80.024442),
|
||||||
|
new GLatLng(13.077874,80.026234),
|
||||||
|
new GLatLng(13.076097,80.028451),
|
||||||
|
new GLatLng(13.075721,80.028934),
|
||||||
|
new GLatLng(13.071206,80.033131),
|
||||||
|
new GLatLng(13.069019,80.035259),
|
||||||
|
new GLatLng(13.067901,80.036978),
|
||||||
|
new GLatLng(13.067880,80.037763),
|
||||||
|
new GLatLng(13.066814,80.039249),
|
||||||
|
new GLatLng(13.066673,80.039539),
|
||||||
|
new GLatLng(13.065549,80.042597),
|
||||||
|
new GLatLng(13.065319,80.043107),
|
||||||
|
new GLatLng(13.063901,80.045301),
|
||||||
|
new GLatLng(13.061926,80.048337),
|
||||||
|
new GLatLng(13.061539,80.048772),
|
||||||
|
new GLatLng(13.061116,80.049201),
|
||||||
|
new GLatLng(13.059935,80.050156),
|
||||||
|
new GLatLng(13.058017,80.053198),
|
||||||
|
new GLatLng(13.057160,80.054319),
|
||||||
|
new GLatLng(13.055575,80.056116),
|
||||||
|
new GLatLng(13.055285,80.056526),
|
||||||
|
new GLatLng(13.055066,80.057239),
|
||||||
|
new GLatLng(13.054862,80.058001),
|
||||||
|
new GLatLng(13.054492,80.061494),
|
||||||
|
new GLatLng(13.054773,80.060512),
|
||||||
|
new GLatLng(13.054162,80.062105),
|
||||||
|
new GLatLng(13.054144,80.062193),
|
||||||
|
new GLatLng(13.053891,80.063149),
|
||||||
|
new GLatLng(13.051592,80.065009),
|
||||||
|
new GLatLng(13.050163,80.065856),
|
||||||
|
new GLatLng(13.048030,80.067756),
|
||||||
|
new GLatLng(13.045948,80.069627),
|
||||||
|
new GLatLng(13.045572,80.069970),
|
||||||
|
|
||||||
|
], "#9900ff" ,3,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// ORR junction to college
|
||||||
|
// maduravoil New5C
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
new GLatLng(13.045572,80.069970),
|
||||||
|
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),
|
||||||
|
|
||||||
|
|
||||||
|
], "#9900ff" , 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),
|
||||||
|
], "#9900ff" , 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>
|
||||||
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>
|
||||||
762
telegram-bot/map_pages/map16.html
Normal file
762
telegram-bot/map_pages/map16.html
Normal file
@@ -0,0 +1,762 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.04463,80.202914), 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 = "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.929736,80.251578, rmark16, '1.0', 'Route no:16 - Prathana Theatre ');
|
||||||
|
newpoints[1] = new Array(12.938562,80.252664, rmark16, '1.0', 'Route no:16 - Vetuvankeni ');
|
||||||
|
newpoints[2] = new Array(12.977599,80.259120, rmark16, '1.0', 'Route no:16 - Thiruvanmiyur RTO Office ');
|
||||||
|
newpoints[3] = new Array(12.997219,80.255856, rmark16, '1.0', 'Route no:16 - Adyar Depot ');
|
||||||
|
newpoints[4] = new Array(13.006698,80.245909, rmark16, '1.0', 'Route no:16 - Madyakailash ');
|
||||||
|
newpoints[5] = new Array(13.009145,80.212425, rmark16, '1.0', 'Route no:16 - Guindy ');
|
||||||
|
newpoints[6] = new Array(13.029318,80.168821, rmark16, '1.0', 'Route no:16 - Mugalivakkam ');
|
||||||
|
newpoints[7] = new Array(13.046557,80.111125, rmark16, '1.0', 'Route no:16 - Karayanchavadi ');
|
||||||
|
newpoints[8] = new Array(13.050872,80.094797, rmark16, '1.0', 'Route no:16 - Poonamallee Bus Stand ');
|
||||||
|
newpoints[9] = new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:16 - ritwflag, ');
|
||||||
|
newpoints[10]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:16 - pole, ');
|
||||||
|
|
||||||
|
|
||||||
|
//Route no: 16 Neelangarai
|
||||||
|
var poly =new GPolyline([new GLatLng(12.929736, 80.251578),
|
||||||
|
new GLatLng(12.933125, 80.251986),
|
||||||
|
new GLatLng(12.936649, 80.252396),
|
||||||
|
new GLatLng(12.938562, 80.252664),
|
||||||
|
new GLatLng(12.940031, 80.252820),
|
||||||
|
new GLatLng(12.941087, 80.253061),
|
||||||
|
new GLatLng(12.943330, 80.253420),
|
||||||
|
new GLatLng(12.945364, 80.253817),
|
||||||
|
new GLatLng(12.946708, 80.253983),
|
||||||
|
new GLatLng(12.948695, 80.254546),
|
||||||
|
new GLatLng(12.950619, 80.255007),
|
||||||
|
new GLatLng(12.952559, 80.255109),
|
||||||
|
new GLatLng(12.956438, 80.255197),
|
||||||
|
new GLatLng(12.961666, 80.256248),
|
||||||
|
new GLatLng(12.963369, 80.256487),
|
||||||
|
new GLatLng(12.967656, 80.257109),
|
||||||
|
new GLatLng(12.970673, 80.258027),
|
||||||
|
new GLatLng(12.971337, 80.258122),
|
||||||
|
new GLatLng(12.972273, 80.258079),
|
||||||
|
new GLatLng(12.974578, 80.258492),
|
||||||
|
new GLatLng(12.975937, 80.258932),
|
||||||
|
new GLatLng(12.976716, 80.259088),
|
||||||
|
new GLatLng(12.977599, 80.259120),
|
||||||
|
new GLatLng(12.978822, 80.259066),
|
||||||
|
new GLatLng(12.979810, 80.259195),
|
||||||
|
new GLatLng(12.980814, 80.259313),
|
||||||
|
new GLatLng(12.982257, 80.259351),
|
||||||
|
new GLatLng(12.983982, 80.259464),
|
||||||
|
new GLatLng(12.984196, 80.257635),
|
||||||
|
new GLatLng(12.987397, 80.258059),
|
||||||
|
new GLatLng(12.987624, 80.255791),
|
||||||
|
new GLatLng(12.991231, 80.256028),
|
||||||
|
new GLatLng(12.992454, 80.256039),
|
||||||
|
new GLatLng(12.994283, 80.255900),
|
||||||
|
new GLatLng(12.997219, 80.255856),
|
||||||
|
new GLatLng(12.998813, 80.256085),
|
||||||
|
new GLatLng(13.001306, 80.256477),
|
||||||
|
new GLatLng(13.003784, 80.256928),
|
||||||
|
new GLatLng(13.006397, 80.257518),
|
||||||
|
new GLatLng(13.006707, 80.257638),
|
||||||
|
new GLatLng(13.006627, 80.257153),
|
||||||
|
new GLatLng(13.006577, 80.255157),
|
||||||
|
new GLatLng(13.006595, 80.252586),
|
||||||
|
new GLatLng(13.006698, 80.245909),
|
||||||
|
new GLatLng(13.006765, 80.251385),
|
||||||
|
new GLatLng(13.006698, 80.247330),
|
||||||
|
new GLatLng(13.006625, 80.242733),
|
||||||
|
new GLatLng(13.006719, 80.241381),
|
||||||
|
new GLatLng(13.007555, 80.236532),
|
||||||
|
new GLatLng(13.008663, 80.231125),
|
||||||
|
new GLatLng(13.009186, 80.228282),
|
||||||
|
new GLatLng(13.011475, 80.223164),
|
||||||
|
new GLatLng(13.012176, 80.221136),
|
||||||
|
new GLatLng(13.011188, 80.217993),
|
||||||
|
new GLatLng(13.010833, 80.217081),
|
||||||
|
new GLatLng(13.010169, 80.215563),
|
||||||
|
new GLatLng(13.010002, 80.214560),
|
||||||
|
new GLatLng(13.009145, 80.212425),
|
||||||
|
new GLatLng(13.008179, 80.209693),
|
||||||
|
new GLatLng(13.007996, 80.208804),
|
||||||
|
new GLatLng(13.007643, 80.206273),
|
||||||
|
new GLatLng(13.007580, 80.205635),
|
||||||
|
new GLatLng(13.007580, 80.203902),
|
||||||
|
new GLatLng(13.007381, 80.202668),
|
||||||
|
new GLatLng(13.007496, 80.200013),
|
||||||
|
new GLatLng(13.007407, 80.198532),
|
||||||
|
new GLatLng(13.007376, 80.196241),
|
||||||
|
new GLatLng(13.007493, 80.196173),
|
||||||
|
new GLatLng(13.008622, 80.196278),], "#ff00ff" ,3,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Butt Road to Poonamalle Bypass
|
||||||
|
var poly = new GPolyline([new GLatLng(13.009581, 80.195891),
|
||||||
|
new GLatLng(13.010710, 80.195891),
|
||||||
|
new GLatLng(13.013956, 80.193817),
|
||||||
|
new GLatLng(13.014511, 80.193320),
|
||||||
|
new GLatLng(13.015504, 80.191657),
|
||||||
|
new GLatLng(13.017897, 80.187203),
|
||||||
|
new GLatLng(13.020364, 80.185433),
|
||||||
|
new GLatLng(13.020918, 80.183867),
|
||||||
|
new GLatLng(13.023897, 80.178621),
|
||||||
|
new GLatLng(13.028106, 80.171181),
|
||||||
|
new GLatLng(13.031158, 80.165527),
|
||||||
|
new GLatLng(13.034401, 80.159738),
|
||||||
|
new GLatLng(13.034370, 80.156948),
|
||||||
|
new GLatLng(13.035614, 80.154030),
|
||||||
|
new GLatLng(13.036267, 80.152942),
|
||||||
|
new GLatLng(13.036194, 80.148953),
|
||||||
|
new GLatLng(13.036246, 80.146464),
|
||||||
|
new GLatLng(13.036936, 80.141657),
|
||||||
|
new GLatLng(13.037448, 80.137741),
|
||||||
|
new GLatLng(13.037565, 80.136969),
|
||||||
|
new GLatLng(13.038096, 80.135259),
|
||||||
|
new GLatLng(13.039423, 80.131948),
|
||||||
|
new GLatLng(13.040594, 80.128751),
|
||||||
|
new GLatLng(13.041890, 80.125597),
|
||||||
|
new GLatLng(13.043249, 80.122453),
|
||||||
|
new GLatLng(13.044566, 80.119224),
|
||||||
|
new GLatLng(13.045298, 80.116939),
|
||||||
|
new GLatLng(13.046312, 80.118892),
|
||||||
|
new GLatLng(13.046960, 80.119600),
|
||||||
|
new GLatLng(13.052610, 80.123398),
|
||||||
|
new GLatLng(13.054259, 80.123936),
|
||||||
|
new GLatLng(13.054450, 80.123613),
|
||||||
|
new GLatLng(13.054392, 80.122991),
|
||||||
|
new GLatLng(13.054517, 80.122344),
|
||||||
|
new GLatLng(13.054839, 80.121500),], "#ff00ff" , 3 ,0.8, 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),
|
||||||
|
], "#ff00ff" , 3 ,0.8, 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),
|
||||||
|
], "#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>
|
||||||
741
telegram-bot/map_pages/map17.html
Normal file
741
telegram-bot/map_pages/map17.html
Normal file
@@ -0,0 +1,741 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.034463,80.192914), 13);
|
||||||
|
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 = "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(13.054006,80.228245, rmark17, '1.0', 'Route no:17 - Liberty ');
|
||||||
|
newpoints[1] = new Array(13.052089,80.219094, rmark17, '1.0', 'Route no:17 - Power House ');
|
||||||
|
newpoints[2] = new Array(13.050475,80.214242, rmark17, '1.0', 'Route no:17 - Vadapalani Kovil ');
|
||||||
|
newpoints[3] = new Array(13.049628,80.210176, rmark17, '1.0', 'Route no:17 - Kamala Theatre ');
|
||||||
|
newpoints[4] = new Array(13.048916,80.207102, rmark17, '1.0', 'Route no:17 - Vadapalani Depot ');
|
||||||
|
newpoints[5] = new Array(13.047417,80.201462, rmark17, '1.0', 'Route no:17 - Saligramam Petrol Bunk ');
|
||||||
|
newpoints[6] = new Array(13.047411,80.197702, rmark17, '1.0', 'Route no:17 - Avichi School ');
|
||||||
|
newpoints[7] = new Array(13.045687,80.187063, rmark17, '1.0', 'Route no:17 - Alwar Thirunagar ');
|
||||||
|
newpoints[8] = new Array(13.042256,80.180508, rmark17, '1.0', 'Route no:17 - Kesavarthini ');
|
||||||
|
newpoints[9] = new Array(13.040666,80.172220, rmark17, '1.0', 'Route no:17 - Valasaravakkam ');
|
||||||
|
newpoints[10]= new Array(13.038731,80.168028, rmark17, '1.0', 'Route no:17 - Saravana Hotel ');
|
||||||
|
newpoints[11]= new Array(13.036796,80.157640, rmark17, '1.0', 'Route no:17 - Karapakkam ');
|
||||||
|
newpoints[12]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:17 - ritwflag, ');
|
||||||
|
newpoints[13]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:17 - pole, ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 17 Liberty
|
||||||
|
var poly = new GPolyline([new GLatLng(13.054006, 80.228245),
|
||||||
|
new GLatLng(13.053793, 80.225998),
|
||||||
|
new GLatLng(13.053260, 80.223364),
|
||||||
|
new GLatLng(13.052089, 80.219094),
|
||||||
|
new GLatLng(13.050475, 80.214242),
|
||||||
|
new GLatLng(13.049628, 80.210176),
|
||||||
|
new GLatLng(13.049364, 80.208372),
|
||||||
|
new GLatLng(13.048916, 80.207102),
|
||||||
|
new GLatLng(13.048144, 80.204575),
|
||||||
|
new GLatLng(13.047388, 80.201641),
|
||||||
|
new GLatLng(13.047417, 80.201462),
|
||||||
|
new GLatLng(13.047411, 80.197702),
|
||||||
|
new GLatLng(13.047396, 80.195008),
|
||||||
|
new GLatLng(13.046711, 80.193872),
|
||||||
|
new GLatLng(13.046565, 80.190841),
|
||||||
|
new GLatLng(13.046462, 80.189324),
|
||||||
|
new GLatLng(13.045687, 80.187063),
|
||||||
|
new GLatLng(13.044861, 80.185933),
|
||||||
|
new GLatLng(13.043173, 80.182221),
|
||||||
|
new GLatLng(13.042256, 80.180508),
|
||||||
|
new GLatLng(13.042057, 80.176894),
|
||||||
|
new GLatLng(13.040666, 80.172220),
|
||||||
|
new GLatLng(13.038950, 80.168987),
|
||||||
|
new GLatLng(13.038731, 80.168028),
|
||||||
|
new GLatLng(13.038334, 80.165668),
|
||||||
|
new GLatLng(13.038207, 80.164127),
|
||||||
|
new GLatLng(13.037705, 80.160580),
|
||||||
|
new GLatLng(13.037402, 80.159303),
|
||||||
|
new GLatLng(13.036796, 80.157640),
|
||||||
|
new GLatLng(13.036294, 80.157082),
|
||||||
|
new GLatLng(13.034757, 80.155859),
|
||||||
|
], "#ff0000" , 2 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
//porur to Poonamalle ORR junction
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
new GLatLng(13.034757,80.155859),
|
||||||
|
new GLatLng(13.035359,80.154753),
|
||||||
|
new GLatLng(13.035950,80.153552),
|
||||||
|
new GLatLng(13.036253,80.153005),
|
||||||
|
new GLatLng(13.036242,80.151588),
|
||||||
|
new GLatLng(13.036200,80.149711),
|
||||||
|
new GLatLng(13.036200,80.148482),
|
||||||
|
new GLatLng(13.036216,80.146723),
|
||||||
|
new GLatLng(13.036420,80.144979),
|
||||||
|
new GLatLng(13.036624,80.143306),
|
||||||
|
new GLatLng(13.036843,80.141691),
|
||||||
|
new GLatLng(13.037089,80.140125),
|
||||||
|
new GLatLng(13.037298,80.138676),
|
||||||
|
new GLatLng(13.037507,80.137078),
|
||||||
|
new GLatLng(13.037585,80.136702),
|
||||||
|
new GLatLng(13.038024,80.135329),
|
||||||
|
new GLatLng(13.038657,80.133773),
|
||||||
|
new GLatLng(13.039143,80.132518),
|
||||||
|
new GLatLng(13.039937,80.130367),
|
||||||
|
new GLatLng(13.040664,80.128484),
|
||||||
|
new GLatLng(13.041280,80.126912),
|
||||||
|
new GLatLng(13.042038,80.125152),
|
||||||
|
new GLatLng(13.042869,80.123280),
|
||||||
|
new GLatLng(13.043580,80.121435),
|
||||||
|
new GLatLng(13.044369,80.119573),
|
||||||
|
new GLatLng(13.044991,80.117712),
|
||||||
|
new GLatLng(13.045215,80.117041),
|
||||||
|
new GLatLng(13.045592,80.117562),
|
||||||
|
new GLatLng(13.045910,80.118216),
|
||||||
|
new GLatLng(13.046318,80.118989),
|
||||||
|
new GLatLng(13.047050,80.119708),
|
||||||
|
new GLatLng(13.047922,80.120330),
|
||||||
|
new GLatLng(13.048790,80.120872),
|
||||||
|
new GLatLng(13.049694,80.121451),
|
||||||
|
new GLatLng(13.050551,80.121987),
|
||||||
|
new GLatLng(13.051413,80.122556),
|
||||||
|
new GLatLng(13.052349,80.123248),
|
||||||
|
new GLatLng(13.052605,80.123388),
|
||||||
|
new GLatLng(13.052892,80.123532),
|
||||||
|
new GLatLng(13.053472,80.123763),
|
||||||
|
new GLatLng(13.054126,80.123886),
|
||||||
|
new GLatLng(13.054429,80.123677),
|
||||||
|
new GLatLng(13.054491,80.123200),
|
||||||
|
], "#ff0000" ,3,0.8, 80);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
// Poonamalle bypass uo to ORR junction
|
||||||
|
// maduravoil New5C
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
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" , 2 ,0.8, 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" , 2 ,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),
|
||||||
|
], "#ff0000" , 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>
|
||||||
827
telegram-bot/map_pages/map18.html
Normal file
827
telegram-bot/map_pages/map18.html
Normal file
@@ -0,0 +1,827 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.004463,80.192914), 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 = "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.922543,80.143212, rmark18, '1.0', 'Route no:18Camp Road ');
|
||||||
|
newpoints[1] = new Array(12.922749,80.151751, rmark18, '1.0', 'Route no:18Raja Kilpakkam ');
|
||||||
|
newpoints[2] = new Array(12.923387,80.154626, rmark18, '1.0', 'Route no:18Kamarajpuram ');
|
||||||
|
newpoints[3] = new Array(12.923515,80.158203, rmark18, '1.0', 'Route no:18Alfa School ');
|
||||||
|
newpoints[4] = new Array(12.920866,80.167819, rmark18, '1.0', 'Route no:18SIVT ');
|
||||||
|
newpoints[5] = new Array(12.919857,80.171064, rmark18, '1.0', 'Route no:18Santhoshpuram ');
|
||||||
|
newpoints[6] = new Array(12.918408,80.176606, rmark18, '1.0', 'Route no:18Vengaivasal Road Junction ');
|
||||||
|
newpoints[7] = new Array(12.920411,80.183983, rmark18, '1.0', 'Route no:18Medavakkam Koot Road ');
|
||||||
|
newpoints[8] = new Array(12.917247,80.191014, rmark18, '1.0', 'Route no:18Medavakkam ');
|
||||||
|
newpoints[9] = new Array(12.926366,80.197519, rmark18, '1.0', 'Route no:18Pallikaranai ');
|
||||||
|
newpoints[10]= new Array(12.929331,80.202694, rmark18, '1.0', 'Route no:18Oil Mill Bus stop ');
|
||||||
|
newpoints[11]= new Array(12.939809,80.205527, rmark18, '1.0', 'Route no:18Narayanapuram ');
|
||||||
|
newpoints[12]= new Array(12.944318,80.208352, rmark18, '1.0', 'Route no:18Balaji Dental College ');
|
||||||
|
newpoints[13]= new Array(12.949155,80.210206, rmark18, '1.0', 'Route no:18Kamkchi Hospital ');
|
||||||
|
newpoints[14]= new Array(12.963552,80.215937, rmark18, '1.0', 'Route no:18Kaiveli ');
|
||||||
|
newpoints[15]= new Array(12.975419,80.220658, rmark18, '1.0', 'Route no:18Vijayanagaram Bus Stop ');
|
||||||
|
newpoints[16]= new Array(12.989205,80.221783, rmark18, '1.0', 'Route no:18Dhandeswarn Kovil ');
|
||||||
|
newpoints[17]= new Array(12.990626,80.220217, rmark18, '1.0', 'Route no:18Gurnanek College ');
|
||||||
|
newpoints[18]= new Array(12.995555,80.216751, rmark18, '1.0', 'Route no:18Vellachery Checkpost ');
|
||||||
|
newpoints[19]= new Array(13.003712,80.211997, rmark18, '1.0', 'Route no:18Maduvankarai ');
|
||||||
|
newpoints[20]= new Array(13.008204,80.209885, rmark18, '1.0', 'Route no:18Guindy ');
|
||||||
|
newpoints[21]= new Array(13.021194,80.183228, rmark18, '1.0', 'Route no:18Ramapuram ');
|
||||||
|
newpoints[22]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:18 ritwflag, ');
|
||||||
|
newpoints[23]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:18 pole, ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 18 Camp Road -Medavakkam -Velacherry-Guindy- to RIT)
|
||||||
|
|
||||||
|
var poly =new GPolyline([new GLatLng(12.922532,80.143493),
|
||||||
|
new GLatLng(12.922639,80.147472),
|
||||||
|
new GLatLng(12.922749,80.151751),
|
||||||
|
new GLatLng(12.923094,80.153575),
|
||||||
|
new GLatLng(12.923387,80.154626),
|
||||||
|
new GLatLng(12.923690,80.156085),
|
||||||
|
new GLatLng(12.923198,80.160334),
|
||||||
|
new GLatLng(12.923515,80.158203),
|
||||||
|
new GLatLng(12.923297,80.160100),
|
||||||
|
new GLatLng(12.922408,80.162951),
|
||||||
|
new GLatLng(12.920866,80.167819),
|
||||||
|
new GLatLng(12.919857,80.171064),
|
||||||
|
new GLatLng(12.918790,80.175066),
|
||||||
|
new GLatLng(12.918408,80.176606),
|
||||||
|
new GLatLng(12.918265,80.177806),
|
||||||
|
new GLatLng(12.918942,80.178903),
|
||||||
|
new GLatLng(12.919266,80.179678),
|
||||||
|
new GLatLng(12.919642,80.181387),
|
||||||
|
new GLatLng(12.920076,80.183275),
|
||||||
|
new GLatLng(12.920259,80.183799),
|
||||||
|
new GLatLng(12.920411,80.183983),
|
||||||
|
new GLatLng(12.920750,80.185542),
|
||||||
|
new GLatLng(12.920007,80.186627),
|
||||||
|
new GLatLng(12.919742,80.186750),
|
||||||
|
new GLatLng(12.918738,80.187895),
|
||||||
|
new GLatLng(12.917951,80.188833),
|
||||||
|
new GLatLng(12.917482,80.189756),
|
||||||
|
new GLatLng(12.917247,80.191014),
|
||||||
|
new GLatLng(12.917070,80.193835),
|
||||||
|
new GLatLng(12.917125,80.194084),
|
||||||
|
new GLatLng(12.919113,80.196007),
|
||||||
|
new GLatLng(12.920567,80.196695),
|
||||||
|
new GLatLng(12.922104,80.197221),
|
||||||
|
new GLatLng(12.923380,80.197446),
|
||||||
|
new GLatLng(12.926153,80.197481),
|
||||||
|
new GLatLng(12.926366,80.197519),
|
||||||
|
new GLatLng(12.927205,80.197897),
|
||||||
|
new GLatLng(12.927728,80.198297),
|
||||||
|
new GLatLng(12.928423,80.200051),
|
||||||
|
new GLatLng(12.928662,80.202496),
|
||||||
|
new GLatLng(12.929331,80.202694),
|
||||||
|
new GLatLng(12.930884,80.202925),
|
||||||
|
new GLatLng(12.933033,80.203687),
|
||||||
|
new GLatLng(12.933341,80.203784),
|
||||||
|
new GLatLng(12.933895,80.203886),
|
||||||
|
new GLatLng(12.934904,80.204015),
|
||||||
|
new GLatLng(12.935589,80.204256),
|
||||||
|
new GLatLng(12.938292,80.205071),
|
||||||
|
new GLatLng(12.939809,80.205527),
|
||||||
|
new GLatLng(12.940985,80.205945),
|
||||||
|
new GLatLng(12.941521,80.206192),
|
||||||
|
new GLatLng(12.942729,80.207230),
|
||||||
|
new GLatLng(12.943288,80.207893),
|
||||||
|
new GLatLng(12.944318,80.208352),
|
||||||
|
new GLatLng(12.949155,80.210206),
|
||||||
|
new GLatLng(12.953818,80.212075),
|
||||||
|
new GLatLng(12.959359,80.214274),
|
||||||
|
new GLatLng(12.963552,80.215937),
|
||||||
|
new GLatLng(12.967400,80.217536),
|
||||||
|
new GLatLng(12.972230,80.219424),
|
||||||
|
new GLatLng(12.975419,80.220658),
|
||||||
|
new GLatLng(12.975704,80.220829),
|
||||||
|
new GLatLng(12.976117,80.221235),
|
||||||
|
new GLatLng(12.977012,80.221248),
|
||||||
|
new GLatLng(12.977533,80.221198),
|
||||||
|
new GLatLng(12.978228,80.221209),
|
||||||
|
new GLatLng(12.979739,80.221097),
|
||||||
|
new GLatLng(12.980715,80.220968),
|
||||||
|
new GLatLng(12.980896,80.220988),
|
||||||
|
new GLatLng(12.981414,80.221182),
|
||||||
|
new GLatLng(12.982084,80.221648),
|
||||||
|
new GLatLng(12.982364,80.221780),
|
||||||
|
new GLatLng(12.982753,80.221871),
|
||||||
|
new GLatLng(12.983174,80.222098),
|
||||||
|
new GLatLng(12.983859,80.222551),
|
||||||
|
new GLatLng(12.984068,80.222637),
|
||||||
|
new GLatLng(12.985045,80.223214),
|
||||||
|
new GLatLng(12.985296,80.223281),
|
||||||
|
new GLatLng(12.985468,80.223265),
|
||||||
|
new GLatLng(12.985795,80.223000),
|
||||||
|
new GLatLng(12.986556,80.222949),
|
||||||
|
new GLatLng(12.987215,80.223054),
|
||||||
|
new GLatLng(12.987665,80.223070),
|
||||||
|
new GLatLng(12.987824,80.223035),
|
||||||
|
new GLatLng(12.988531,80.222499),
|
||||||
|
new GLatLng(12.989205,80.221783),
|
||||||
|
new GLatLng(12.989926,80.220893),
|
||||||
|
new GLatLng(12.990626,80.220217),
|
||||||
|
new GLatLng(12.991525,80.219498),
|
||||||
|
new GLatLng(12.994379,80.217502),
|
||||||
|
new GLatLng(12.995555,80.216751),
|
||||||
|
new GLatLng(12.995555,80.216751),
|
||||||
|
new GLatLng(12.997267,80.216460),
|
||||||
|
new GLatLng(12.997879,80.215774),
|
||||||
|
new GLatLng(13.000907,80.213193),
|
||||||
|
new GLatLng(13.002531,80.212089),
|
||||||
|
new GLatLng(13.003712,80.211997),
|
||||||
|
new GLatLng(13.003610,80.210365),
|
||||||
|
new GLatLng(13.003556,80.209493),
|
||||||
|
new GLatLng(13.003777,80.208676),
|
||||||
|
new GLatLng(13.003934,80.208601),
|
||||||
|
new GLatLng(13.004073,80.208604),
|
||||||
|
new GLatLng(13.005408,80.209205),
|
||||||
|
new GLatLng(13.006302,80.209564),
|
||||||
|
new GLatLng(13.007219,80.209781),
|
||||||
|
new GLatLng(13.008068,80.209974),
|
||||||
|
new GLatLng(13.008204,80.209885),
|
||||||
|
new GLatLng(13.007673,80.206541),
|
||||||
|
new GLatLng(13.007516,80.203666),
|
||||||
|
new GLatLng(13.007391,80.202615),
|
||||||
|
new GLatLng(13.007506,80.200770),
|
||||||
|
new GLatLng(13.007433,80.198613),
|
||||||
|
new GLatLng(13.007391,80.196220),
|
||||||
|
new GLatLng(13.008645,80.196252),
|
||||||
|
new GLatLng(13.009581, 80.195891),
|
||||||
|
|
||||||
|
], "#9900ff" ,3,0.5, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Butt Road to Poonamalle Bypass
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.009581, 80.195891),
|
||||||
|
new GLatLng(13.010710, 80.195891),
|
||||||
|
new GLatLng(13.013956, 80.193817),
|
||||||
|
new GLatLng(13.014511, 80.193320),
|
||||||
|
new GLatLng(13.015504, 80.191657),
|
||||||
|
new GLatLng(13.017897, 80.187203),
|
||||||
|
new GLatLng(13.020364, 80.185433),
|
||||||
|
new GLatLng(13.020918, 80.183867),
|
||||||
|
new GLatLng(13.023897, 80.178621),
|
||||||
|
new GLatLng(13.028106, 80.171181),
|
||||||
|
new GLatLng(13.031158, 80.165527),
|
||||||
|
new GLatLng(13.034401, 80.159738),
|
||||||
|
new GLatLng(13.034370, 80.156948),
|
||||||
|
new GLatLng(13.035614, 80.154030),
|
||||||
|
new GLatLng(13.036267, 80.152942),
|
||||||
|
new GLatLng(13.036194, 80.148953),
|
||||||
|
new GLatLng(13.036246, 80.146464),
|
||||||
|
new GLatLng(13.036936, 80.141657),
|
||||||
|
new GLatLng(13.037448, 80.137741),
|
||||||
|
new GLatLng(13.037565, 80.136969),
|
||||||
|
new GLatLng(13.038096, 80.135259),
|
||||||
|
new GLatLng(13.039423, 80.131948),
|
||||||
|
new GLatLng(13.040594, 80.128751),
|
||||||
|
new GLatLng(13.041890, 80.125597),
|
||||||
|
new GLatLng(13.043249, 80.122453),
|
||||||
|
new GLatLng(13.044566, 80.119224),
|
||||||
|
new GLatLng(13.045298, 80.116939),
|
||||||
|
new GLatLng(13.046312, 80.118892),
|
||||||
|
new GLatLng(13.046960, 80.119600),
|
||||||
|
new GLatLng(13.052610, 80.123398),
|
||||||
|
new GLatLng(13.054259, 80.123936),
|
||||||
|
new GLatLng(13.054450, 80.123613),
|
||||||
|
new GLatLng(13.054491,80.123200),
|
||||||
|
|
||||||
|
], "#9900ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
// Poonamalle bypass uo to ORR junction
|
||||||
|
// maduravoil New5C
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
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),
|
||||||
|
], "#9900ff" , 3 ,0.8, 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),
|
||||||
|
], "#9900ff" , 2 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
// Poonamalle High Road to RIT
|
||||||
|
//
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.035944,80.043705),
|
||||||
|
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),
|
||||||
|
], "#9900ff" , 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>
|
||||||
950
telegram-bot/map_pages/map19.html
Normal file
950
telegram-bot/map_pages/map19.html
Normal file
@@ -0,0 +1,950 @@
|
|||||||
|
|
||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.134463,80.222914), 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(12, 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(13.125322,80.217849, rmark19, '1.0', 'Route no:19 - Ganga Cinimaa ');
|
||||||
|
newpoints[1]= new Array(13.123936,80.212116, rmark19, '1.0', 'Route no:19 - SBI Pumbukar ');
|
||||||
|
newpoints[2]= new Array(13.118844,80.207242, rmark19, '1.0', 'Route no:19 - Donbosco ');
|
||||||
|
newpoints[3]= new Array(13.118731,80.205753, rmark19, '1.0', 'Route no:19 - Poombukar Bus stop ');
|
||||||
|
newpoints[4]= new Array(13.122184,80.205386, rmark19, '1.0', 'Route no:19 - Poombukar (Rajamangalam Police Stn.');
|
||||||
|
newpoints[5]= new Array(13.099767,80.186695, rmark19, '1.0', 'Route no:19 - Korattur Bus Stop ');
|
||||||
|
newpoints[6]= new Array(13.098419,80.181466, rmark19, '1.0', 'Route no:19 - Padi Britania,TVS Show Room ');
|
||||||
|
newpoints[7]= new Array(13.122078,80.147579, rmark19, '1.0', 'Route no:19 - Ambattur ');
|
||||||
|
newpoints[8]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:19 - ritwflag, ');
|
||||||
|
newpoints[9]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:19 - pole, ');
|
||||||
|
|
||||||
|
|
||||||
|
// Ganga cenema to Rajamangalam Police station
|
||||||
|
var poly = new GPolyline([new GLatLng(13.125322, 80.217849),
|
||||||
|
new GLatLng(13.125288, 80.217518),
|
||||||
|
new GLatLng(13.125253, 80.216694),
|
||||||
|
new GLatLng(13.125227, 80.216630),
|
||||||
|
new GLatLng(13.125151, 80.216582),
|
||||||
|
new GLatLng(13.124554, 80.216505),
|
||||||
|
new GLatLng(13.124263, 80.216426),
|
||||||
|
new GLatLng(13.124284, 80.215393),
|
||||||
|
new GLatLng(13.124306, 80.214538),
|
||||||
|
new GLatLng(13.123917, 80.213918),
|
||||||
|
new GLatLng(13.123912, 80.213757),
|
||||||
|
new GLatLng(13.124066, 80.213178),
|
||||||
|
new GLatLng(13.124087, 80.212998),
|
||||||
|
new GLatLng(13.124074, 80.212636),
|
||||||
|
new GLatLng(13.123936, 80.212116),
|
||||||
|
new GLatLng(13.123789, 80.211690),
|
||||||
|
new GLatLng(13.123561, 80.211316),
|
||||||
|
new GLatLng(13.123352, 80.210903),
|
||||||
|
new GLatLng(13.123133, 80.210318),
|
||||||
|
new GLatLng(13.122887, 80.209712),
|
||||||
|
new GLatLng(13.122527, 80.209117),
|
||||||
|
new GLatLng(13.122254, 80.208658),
|
||||||
|
new GLatLng(13.122076, 80.208443),
|
||||||
|
new GLatLng(13.122032, 80.208397),
|
||||||
|
new GLatLng(13.120987, 80.208359),
|
||||||
|
new GLatLng(13.120076, 80.208316),
|
||||||
|
new GLatLng(13.119580, 80.208292),
|
||||||
|
new GLatLng(13.118844, 80.208206),
|
||||||
|
new GLatLng(13.118846, 80.207481),
|
||||||
|
new GLatLng(13.118844, 80.207242),
|
||||||
|
new GLatLng(13.118802, 80.206517),
|
||||||
|
new GLatLng(13.118731, 80.205753),
|
||||||
|
new GLatLng(13.119547, 80.205706),
|
||||||
|
new GLatLng(13.120538, 80.205629),
|
||||||
|
new GLatLng(13.120734, 80.205621),
|
||||||
|
new GLatLng(13.121617, 80.205420),
|
||||||
|
new GLatLng(13.122211, 80.205383),
|
||||||
|
new GLatLng(13.122533, 80.205369),
|
||||||
|
new GLatLng(13.123139, 80.205369),
|
||||||
|
new GLatLng(13.122184, 80.205386),
|
||||||
|
new GLatLng(13.124074, 80.205415),
|
||||||
|
new GLatLng(13.125017, 80.205463),
|
||||||
|
new GLatLng(13.125290, 80.205373),
|
||||||
|
], "#9900ff" ,3,1, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 19 Pumpukar Nagar - padi-koratur - Ambattur- to RIT
|
||||||
|
|
||||||
|
var poly =new GPolyline([
|
||||||
|
new GLatLng(13.125290, 80.205373),
|
||||||
|
new GLatLng(13.122882,80.201154),
|
||||||
|
new GLatLng(13.122300,80.200494),
|
||||||
|
new GLatLng(13.121626,80.200017),
|
||||||
|
new GLatLng(13.120027,80.199223),
|
||||||
|
new GLatLng(13.118684,80.198408),
|
||||||
|
new GLatLng(13.118047,80.198107),
|
||||||
|
new GLatLng(13.117514,80.197898),
|
||||||
|
new GLatLng(13.116781,80.197743),
|
||||||
|
new GLatLng(13.113418,80.197326),
|
||||||
|
new GLatLng(13.110685,80.196998),
|
||||||
|
new GLatLng(13.110095,80.196861),
|
||||||
|
new GLatLng(13.109687,80.196716),
|
||||||
|
new GLatLng(13.107284,80.195380),
|
||||||
|
new GLatLng(13.106255,80.194849),
|
||||||
|
new GLatLng(13.105367,80.194592),
|
||||||
|
new GLatLng(13.101814,80.194345),
|
||||||
|
new GLatLng(13.101417,80.191155),
|
||||||
|
new GLatLng(13.101085,80.189568),
|
||||||
|
new GLatLng(13.100468,80.188722),
|
||||||
|
new GLatLng(13.099767,80.186695),
|
||||||
|
new GLatLng(13.098419,80.181466),
|
||||||
|
new GLatLng(13.097887,80.179356),
|
||||||
|
new GLatLng(13.097840,80.178895),
|
||||||
|
new GLatLng(13.097892,80.177579),
|
||||||
|
new GLatLng(13.098205,80.175347),
|
||||||
|
new GLatLng(13.098236,80.174853),
|
||||||
|
new GLatLng(13.099532,80.171357),
|
||||||
|
new GLatLng(13.099898,80.169288),
|
||||||
|
new GLatLng(13.100067,80.167208),
|
||||||
|
new GLatLng(13.100182,80.166708),
|
||||||
|
new GLatLng(13.101290,80.163189),
|
||||||
|
new GLatLng(13.101501,80.161861),
|
||||||
|
new GLatLng(13.101470,80.159865),
|
||||||
|
new GLatLng(13.101580,80.159561),
|
||||||
|
new GLatLng(13.103085,80.158138),
|
||||||
|
new GLatLng(13.103351,80.157746),
|
||||||
|
new GLatLng(13.103552,80.157106),
|
||||||
|
new GLatLng(13.104184,80.154288),
|
||||||
|
new GLatLng(13.104471,80.153510),
|
||||||
|
new GLatLng(13.105009,80.152700),
|
||||||
|
new GLatLng(13.105343,80.152475),
|
||||||
|
new GLatLng(13.105724,80.152346),
|
||||||
|
new GLatLng(13.107694,80.152239),
|
||||||
|
new GLatLng(13.109120,80.152191),
|
||||||
|
new GLatLng(13.110175,80.152288),
|
||||||
|
new GLatLng(13.110748,80.151853),
|
||||||
|
new GLatLng(13.111317,80.151638),
|
||||||
|
new GLatLng(13.112038,80.150750),
|
||||||
|
new GLatLng(13.112936,80.150175),
|
||||||
|
new GLatLng(13.113312,80.149288),
|
||||||
|
new GLatLng(13.113385,80.148805),
|
||||||
|
new GLatLng(13.113642,80.148496),
|
||||||
|
new GLatLng(13.113978,80.148316),
|
||||||
|
new GLatLng(13.115263,80.147826),
|
||||||
|
new GLatLng(13.116083,80.147944),
|
||||||
|
new GLatLng(13.116399,80.148087),
|
||||||
|
new GLatLng(13.116676,80.148353),
|
||||||
|
new GLatLng(13.117501,80.149345),
|
||||||
|
new GLatLng(13.117671,80.149456),
|
||||||
|
new GLatLng(13.119369,80.149815),
|
||||||
|
new GLatLng(13.119756,80.149818),
|
||||||
|
new GLatLng(13.119996,80.149684),
|
||||||
|
new GLatLng(13.120545,80.149081),
|
||||||
|
new GLatLng(13.121219,80.148652),
|
||||||
|
new GLatLng(13.121540,80.148376),
|
||||||
|
new GLatLng(13.122078,80.147579),
|
||||||
|
new GLatLng(13.122230,80.147182),
|
||||||
|
new GLatLng(13.122750,80.146361),
|
||||||
|
], "#9900ff" ,3,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
// ambattur to Vaishnavi nagar violet
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.121494,80.148340),
|
||||||
|
new GLatLng(13.121816,80.147879),
|
||||||
|
new GLatLng(13.122192,80.147227),
|
||||||
|
new GLatLng(13.122625,80.146570),
|
||||||
|
new GLatLng(13.123965,80.144395),
|
||||||
|
new GLatLng(13.125773,80.141519),
|
||||||
|
new GLatLng(13.128280,80.139556),
|
||||||
|
new GLatLng(13.130161,80.137893),
|
||||||
|
new GLatLng(13.130725,80.134524),
|
||||||
|
new GLatLng(13.130756,80.130790),
|
||||||
|
new GLatLng(13.131331,80.128248),
|
||||||
|
new GLatLng(13.131342,80.127540),
|
||||||
|
new GLatLng(13.131174,80.126950),
|
||||||
|
new GLatLng(13.129074,80.124278),
|
||||||
|
], "#9900ff" ,3,1, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
// Route Thirumulaivoil New 15 violet
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.128745,80.124021),
|
||||||
|
new GLatLng(13.126420,80.121312),
|
||||||
|
new GLatLng(13.126321,80.121161),
|
||||||
|
new GLatLng(13.126169,80.120711),
|
||||||
|
new GLatLng(13.125876,80.119616),
|
||||||
|
new GLatLng(13.125662,80.118785),
|
||||||
|
new GLatLng(13.124785,80.116532),
|
||||||
|
new GLatLng(13.124158,80.114890),
|
||||||
|
new GLatLng(13.123395,80.112755),
|
||||||
|
new GLatLng(13.123322,80.112439),
|
||||||
|
new GLatLng(13.123202,80.111784),
|
||||||
|
new GLatLng(13.123160,80.110819),
|
||||||
|
new GLatLng(13.123071,80.110508),
|
||||||
|
new GLatLng(13.121969,80.108957),
|
||||||
|
new GLatLng(13.121467,80.108410),
|
||||||
|
new GLatLng(13.120673,80.107670),
|
||||||
|
new GLatLng(13.120459,80.107412),
|
||||||
|
new GLatLng(13.120375,80.107241),
|
||||||
|
new GLatLng(13.119853,80.105674),
|
||||||
|
new GLatLng(13.119701,80.105004),
|
||||||
|
new GLatLng(13.119607,80.104221),
|
||||||
|
new GLatLng(13.119539,80.103062),
|
||||||
|
new GLatLng(13.119665,80.101436),
|
||||||
|
new GLatLng(13.119644,80.101174),
|
||||||
|
new GLatLng(13.119612,80.100857),
|
||||||
|
new GLatLng(13.119518,80.099999),
|
||||||
|
new GLatLng(13.119471,80.099232),
|
||||||
|
new GLatLng(13.119383,80.096979),
|
||||||
|
new GLatLng(13.119336,80.095230),
|
||||||
|
], "#9900ff" , 3,0.8, 80);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Pattabiram one way violet part1
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.122058,80.062555),
|
||||||
|
new GLatLng(13.122088,80.062412),
|
||||||
|
new GLatLng(13.121857,80.062443),
|
||||||
|
new GLatLng(13.121790,80.062489),
|
||||||
|
new GLatLng(13.121748,80.062736),
|
||||||
|
new GLatLng(13.121638,80.063176),
|
||||||
|
new GLatLng(13.121264,80.063930),
|
||||||
|
new GLatLng(13.121032,80.064483),
|
||||||
|
new GLatLng(13.120891,80.064679),
|
||||||
|
new GLatLng(13.120763,80.064757),
|
||||||
|
new GLatLng(13.120564,80.064795),
|
||||||
|
new GLatLng(13.120512,80.064776),
|
||||||
|
new GLatLng(13.120055,80.064521),
|
||||||
|
new GLatLng(13.119381,80.064135),
|
||||||
|
new GLatLng(13.118859,80.063867),
|
||||||
|
new GLatLng(13.118467,80.063709),
|
||||||
|
new GLatLng(13.117494,80.063506),
|
||||||
|
new GLatLng(13.116770,80.063385),
|
||||||
|
new GLatLng(13.116306,80.063308),
|
||||||
|
new GLatLng(13.116136,80.063305),
|
||||||
|
new GLatLng(13.116068,80.063284),
|
||||||
|
new GLatLng(13.115645,80.063158),
|
||||||
|
new GLatLng(13.114579,80.062938),
|
||||||
|
new GLatLng(13.113873,80.062859),
|
||||||
|
new GLatLng(13.112920,80.062465),
|
||||||
|
new GLatLng(13.112677,80.062299),
|
||||||
|
new GLatLng(13.111473,80.061945),
|
||||||
|
new GLatLng(13.111227,80.061773),
|
||||||
|
new GLatLng(13.111102,80.061690),
|
||||||
|
new GLatLng(13.110187,80.061358),
|
||||||
|
new GLatLng(13.109704,80.061017),
|
||||||
|
new GLatLng(13.109508,80.060931),
|
||||||
|
new GLatLng(13.108842,80.060570),
|
||||||
|
new GLatLng(13.106603,80.059014),
|
||||||
|
new GLatLng(13.105612,80.058363),
|
||||||
|
new GLatLng(13.103729,80.058498),
|
||||||
|
new GLatLng(13.103026,80.058274),
|
||||||
|
new GLatLng(13.101051,80.058124),
|
||||||
|
new GLatLng(13.100804,80.058054),
|
||||||
|
new GLatLng(13.100524,80.057990),
|
||||||
|
new GLatLng(13.100359,80.057958),
|
||||||
|
new GLatLng(13.099787,80.057923),
|
||||||
|
new GLatLng(13.098867,80.057969),
|
||||||
|
new GLatLng(13.098342,80.057961),
|
||||||
|
new GLatLng(13.097536,80.057889),
|
||||||
|
new GLatLng(13.095888,80.057653),
|
||||||
|
new GLatLng(13.094833,80.057559),
|
||||||
|
new GLatLng(13.093618,80.057492),
|
||||||
|
new GLatLng(13.090763,80.057211),
|
||||||
|
new GLatLng(13.090076,80.057140),
|
||||||
|
], "#9900ff" , 3, 1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.089637,80.057322),
|
||||||
|
new GLatLng(13.089385,80.057391),
|
||||||
|
new GLatLng(13.088818,80.057998),
|
||||||
|
new GLatLng(13.087840,80.058803),
|
||||||
|
new GLatLng(13.087589,80.059043),
|
||||||
|
new GLatLng(13.086962,80.059633),
|
||||||
|
new GLatLng(13.086698,80.059861),
|
||||||
|
new GLatLng(13.086174,80.060294),
|
||||||
|
new GLatLng(13.086000,80.060050),
|
||||||
|
], "#9900ff" , 3, 1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
// 17b Nemilicherry ORR Roundtana to Poonamalle violet
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
new GLatLng(13.086000,80.060050),
|
||||||
|
new GLatLng(13.082892,80.062977),
|
||||||
|
new GLatLng(13.079945,80.065252),
|
||||||
|
new GLatLng(13.075025,80.068475),
|
||||||
|
new GLatLng(13.069636,80.071874),
|
||||||
|
new GLatLng(13.063739,80.075560),
|
||||||
|
new GLatLng(13.058791,80.078731),
|
||||||
|
new GLatLng(13.054895,80.081371),
|
||||||
|
new GLatLng(13.049627,80.083474),
|
||||||
|
new GLatLng(13.048367,80.083959),
|
||||||
|
new GLatLng(13.048215,80.084005),
|
||||||
|
new GLatLng(13.048182,80.084123),
|
||||||
|
new GLatLng(13.047931,80.084244),
|
||||||
|
new GLatLng(13.047680,80.084418),
|
||||||
|
new GLatLng(13.047466,80.084603),
|
||||||
|
new GLatLng(13.047351,80.084826),
|
||||||
|
new GLatLng(13.047309,80.085179),
|
||||||
|
new GLatLng(13.047445,80.085527),
|
||||||
|
new GLatLng(13.047738,80.085720),
|
||||||
|
new GLatLng(13.048126,80.085748),
|
||||||
|
new GLatLng(13.048398,80.085603),
|
||||||
|
new GLatLng(13.048576,80.085351),
|
||||||
|
new GLatLng(13.048649,80.085092),
|
||||||
|
new GLatLng(13.048576,80.084730),
|
||||||
|
new GLatLng(13.048482,80.084288),
|
||||||
|
new GLatLng(13.048241,80.083578),
|
||||||
|
new GLatLng(13.047964,80.082728),
|
||||||
|
new GLatLng(13.047644,80.081750),
|
||||||
|
], "#9900ff" ,3,0.8,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),
|
||||||
|
|
||||||
|
|
||||||
|
], "#ff00ff" , 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),
|
||||||
|
], "#ff00ff" , 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" style="width:100%;height:850px"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
769
telegram-bot/map_pages/map20.html
Normal file
769
telegram-bot/map_pages/map20.html
Normal file
@@ -0,0 +1,769 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.104463,80.042914), 13);
|
||||||
|
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 = "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(13.124777,79.996838, rmark20, '1.0', 'Route no:20Vepampattu Bus Stand ');
|
||||||
|
newpoints[1] = new Array(13.124811,79.997097, rmark20, '1.0', 'Route no:20Vepampattu Railway Station ');
|
||||||
|
newpoints[2] = new Array(13.124792,80.006376, rmark20, '1.0', 'Route no:20veppampattu puliya maram ');
|
||||||
|
newpoints[3] = new Array(13.125864,80.010130, rmark20, '1.0', 'Route no:20Madha Kovil ');
|
||||||
|
newpoints[4] = new Array(13.124770,80.023139, rmark20, '1.0', 'Route no:20Indian Bank Thiruvninravur ');
|
||||||
|
newpoints[5] = new Array(13.124478,80.028368, rmark20, '1.0', 'Route no:20Thiruninravur Railway Station ');
|
||||||
|
newpoints[6] = new Array(13.125520,80.036035, rmark20, '1.0', 'Route no:20Thiruninravur Bridge ');
|
||||||
|
newpoints[7] = new Array(13.124952,80.045050, rmark20, '1.0', 'Route no:20Jaya College ');
|
||||||
|
newpoints[8] = new Array(13.124461,80.051122, rmark20, '1.0', 'Route no:20Nemilicherri Road ');
|
||||||
|
newpoints[9] = new Array(13.123452,80.056708, rmark20, '1.0', 'Route no:20Pattabiram Gandhi Nagar ');
|
||||||
|
newpoints[10]= new Array(13.122572,80.061121, rmark20, '1.0', 'Route no:20Pattabiram ');
|
||||||
|
newpoints[11]= new Array(13.120362,80.067159, rmark20, '1.0', 'Route no:20Pattabiram Vasantha Mandapam ');
|
||||||
|
newpoints[12]= new Array(13.119173,80.073667, rmark20, '1.0', 'Route no:20Hindu College ');
|
||||||
|
newpoints[13]= new Array(13.119269,80.079959, rmark20, '1.0', 'Route no:20Sekkadu Bus Stand ');
|
||||||
|
newpoints[14]= new Array(13.118858,80.086000, rmark20, '1.0', 'Route no:20Kavarapalayam Avadi ');
|
||||||
|
newpoints[15]= new Array(13.119409,80.094941, rmark20, '1.0', 'Route no:20Avadi CheckPost ');
|
||||||
|
newpoints[16]= new Array(13.117150,80.096657, rmark20, '1.0', 'Route no:20Ramarathna Theatre ');
|
||||||
|
newpoints[17]= new Array(13.116221,80.102509, rmark20, '1.0', 'Route no:20Avadi Ponnu Store ');
|
||||||
|
newpoints[18]= new Array(13.114240,80.108121, rmark20, '1.0', 'Route no:20Avadi Mosque ');
|
||||||
|
newpoints[19]= new Array(13.111482,80.108571, rmark20, '1.0', 'Route no:20Avadi J.P.Garden ');
|
||||||
|
newpoints[20]= new Array(13.098489,80.108301, rmark20, '1.0', 'Route no:20Govarthanagiri Bus Stand ');
|
||||||
|
newpoints[21]= new Array(13.086754,80.108592, rmark20, '1.0', 'Route no:20Paruthipattu ');
|
||||||
|
newpoints[22]= new Array(13.056776,80.113887, rmark20, '1.0', 'Route no:20Senneerkuppam ');
|
||||||
|
newpoints[23]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:20 ritwflag, ');
|
||||||
|
newpoints[24]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:20 pole, ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route No 20: Veppampattu via avadi
|
||||||
|
var poly =new GPolyline([
|
||||||
|
new GLatLng(13.124777, 79.996838),
|
||||||
|
new GLatLng(13.124811, 79.997097),
|
||||||
|
new GLatLng(13.124846, 79.997281),
|
||||||
|
new GLatLng(13.125149, 79.998538),
|
||||||
|
new GLatLng(13.125389, 80.000923),
|
||||||
|
new GLatLng(13.125399, 80.001138),
|
||||||
|
new GLatLng(13.125022, 80.003695),
|
||||||
|
new GLatLng(13.124729, 80.005563),
|
||||||
|
new GLatLng(13.124739, 80.005906),
|
||||||
|
new GLatLng(13.124745, 80.006089),
|
||||||
|
new GLatLng(13.124792, 80.006376),
|
||||||
|
new GLatLng(13.125043, 80.007464),
|
||||||
|
new GLatLng(13.125147, 80.009266),
|
||||||
|
new GLatLng(13.125231, 80.009481),
|
||||||
|
new GLatLng(13.125287, 80.009607),
|
||||||
|
new GLatLng(13.125864, 80.010130),
|
||||||
|
new GLatLng(13.126066, 80.010365),
|
||||||
|
new GLatLng(13.126430, 80.011085),
|
||||||
|
new GLatLng(13.126702, 80.013275),
|
||||||
|
new GLatLng(13.126676, 80.013658),
|
||||||
|
new GLatLng(13.125492, 80.017317),
|
||||||
|
new GLatLng(13.125492, 80.017317),
|
||||||
|
new GLatLng(13.125107, 80.019252),
|
||||||
|
new GLatLng(13.124770, 80.023139),
|
||||||
|
new GLatLng(13.124702, 80.025366),
|
||||||
|
new GLatLng(13.124478, 80.028368),
|
||||||
|
new GLatLng(13.124490, 80.031650),
|
||||||
|
new GLatLng(13.124790, 80.033303),
|
||||||
|
new GLatLng(13.125114, 80.034446),
|
||||||
|
new GLatLng(13.125448, 80.035347),
|
||||||
|
new GLatLng(13.125520, 80.036035),
|
||||||
|
new GLatLng(13.125552, 80.037385),
|
||||||
|
new GLatLng(13.125546, 80.037888),
|
||||||
|
new GLatLng(13.125277, 80.039721),
|
||||||
|
new GLatLng(13.125119, 80.042421),
|
||||||
|
new GLatLng(13.124952, 80.045050),
|
||||||
|
new GLatLng(13.124774, 80.048354),
|
||||||
|
new GLatLng(13.124461, 80.051122),
|
||||||
|
new GLatLng(13.124347, 80.051886),
|
||||||
|
new GLatLng(13.124112, 80.052860),
|
||||||
|
new GLatLng(13.123703, 80.054144),
|
||||||
|
new GLatLng(13.123452, 80.056708),
|
||||||
|
new GLatLng(13.123233, 80.058601),
|
||||||
|
new GLatLng(13.123045, 80.059534),
|
||||||
|
new GLatLng(13.122572, 80.061121),
|
||||||
|
new GLatLng(13.122087, 80.062526),
|
||||||
|
new GLatLng(13.121091, 80.064649),
|
||||||
|
new GLatLng(13.120362, 80.067159),
|
||||||
|
new GLatLng(13.119610, 80.070067),
|
||||||
|
new GLatLng(13.119349, 80.071312),
|
||||||
|
new GLatLng(13.119224, 80.072095),
|
||||||
|
new GLatLng(13.119173, 80.073667),
|
||||||
|
new GLatLng(13.119173, 80.074408),
|
||||||
|
new GLatLng(13.119382, 80.079054),
|
||||||
|
new GLatLng(13.119368, 80.079316),
|
||||||
|
new GLatLng(13.119269, 80.079959),
|
||||||
|
new GLatLng(13.118914, 80.081761),
|
||||||
|
new GLatLng(13.118896, 80.082029),
|
||||||
|
new GLatLng(13.118858, 80.086000),
|
||||||
|
new GLatLng(13.118644, 80.089788),
|
||||||
|
new GLatLng(13.118711, 80.090158),
|
||||||
|
new GLatLng(13.119172, 80.092534),
|
||||||
|
new GLatLng(13.119409, 80.094941),
|
||||||
|
new GLatLng(13.118495, 80.094954),
|
||||||
|
new GLatLng(13.118129, 80.094933),
|
||||||
|
new GLatLng(13.117708, 80.095016),
|
||||||
|
new GLatLng(13.117436, 80.095236),
|
||||||
|
new GLatLng(13.117295, 80.095646),
|
||||||
|
new GLatLng(13.117150, 80.096657),
|
||||||
|
new GLatLng(13.116983, 80.097852),
|
||||||
|
new GLatLng(13.116837, 80.098979),
|
||||||
|
new GLatLng(13.116534, 80.100680),
|
||||||
|
new GLatLng(13.116221, 80.102509),
|
||||||
|
new GLatLng(13.115798, 80.104939),
|
||||||
|
new GLatLng(13.115683, 80.105320),
|
||||||
|
new GLatLng(13.115636, 80.105969),
|
||||||
|
new GLatLng(13.115614, 80.107761),
|
||||||
|
new GLatLng(13.115557, 80.107864),
|
||||||
|
new GLatLng(13.114240, 80.108121),
|
||||||
|
new GLatLng(13.111967, 80.108502),
|
||||||
|
new GLatLng(13.111482, 80.108571),
|
||||||
|
new GLatLng(13.111118, 80.108600),
|
||||||
|
new GLatLng(13.107701, 80.108482),
|
||||||
|
new GLatLng(13.103504, 80.108322),
|
||||||
|
new GLatLng(13.101268, 80.108215),
|
||||||
|
new GLatLng(13.099795, 80.108247),
|
||||||
|
new GLatLng(13.098489, 80.108301),
|
||||||
|
new GLatLng(13.095626, 80.108355),
|
||||||
|
new GLatLng(13.093693, 80.108409),
|
||||||
|
new GLatLng(13.090004, 80.108495),
|
||||||
|
new GLatLng(13.086754, 80.108592),
|
||||||
|
new GLatLng(13.083064, 80.108718),
|
||||||
|
new GLatLng(13.082656, 80.108847),
|
||||||
|
new GLatLng(13.079181, 80.110211),
|
||||||
|
new GLatLng(13.075096, 80.111610),
|
||||||
|
new GLatLng(13.071166, 80.112608),
|
||||||
|
new GLatLng(13.070403, 80.112683),
|
||||||
|
new GLatLng(13.069692, 80.112672),
|
||||||
|
new GLatLng(13.066982, 80.112532),
|
||||||
|
new GLatLng(13.063962, 80.112425),
|
||||||
|
new GLatLng(13.063596, 80.112489),
|
||||||
|
new GLatLng(13.058647, 80.113705),
|
||||||
|
new GLatLng(13.056776, 80.113887),
|
||||||
|
], "#009999" ,3,0.9, 90 );map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
// Poonamalle bypass uo to ORR junction
|
||||||
|
// maduravoil New5C
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.056776,80.113887),
|
||||||
|
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),
|
||||||
|
], "#006699" , 3 ,0.8, 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),
|
||||||
|
], "#006699" , 2 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
// Poonamalle High Road to RIT
|
||||||
|
//
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.035944,80.043705),
|
||||||
|
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),
|
||||||
|
], "#006699" , 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>
|
||||||
795
telegram-bot/map_pages/map21.html
Normal file
795
telegram-bot/map_pages/map21.html
Normal file
@@ -0,0 +1,795 @@
|
|||||||
|
<!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(13.044463,80.072914), 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 = "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(13.098368,80.135071, rmark21, '1.0', 'Route no:21Ayappakam water Tank ');
|
||||||
|
newpoints[1] = new Array(13.098353,80.135806, rmark21, '1.0', 'Route no:21BP bunk ');
|
||||||
|
newpoints[2] = new Array(13.097557,80.146773, rmark21, '1.0', 'Route no:21SCF Church ');
|
||||||
|
newpoints[3] = new Array(13.110373,80.152161, rmark21, '1.0', 'Route no:21Canara Bank ');
|
||||||
|
newpoints[4] = new Array(13.121658,80.148211, rmark21, '1.0', 'Route no:21Singapore Shopping ');
|
||||||
|
newpoints[5] = new Array(13.124324,80.143829, rmark21, '1.0', 'Route no:21Sir Ivan Stedeford Hospital ');
|
||||||
|
newpoints[6] = new Array(13.128267,80.139599, rmark21, '1.0', 'Route no:21Saraswathy Nagar Indian Oil Petrol Bunk ');
|
||||||
|
newpoints[7] = new Array(13.130575,80.136100, rmark21, '1.0', 'Route no:21Manikandapuram ');
|
||||||
|
newpoints[8] = new Array(13.130776,80.131491, rmark21, '1.0', 'Route no:21Thirumullaovoyal Junction ');
|
||||||
|
newpoints[9] = new Array(13.130023,80.125323, rmark21, '1.0', 'Route no:21Vaishnavi Nagar ');
|
||||||
|
newpoints[10]= new Array(13.125589,80.118213, rmark21, '1.0', 'Route no:21Murugappa Polytechnic ');
|
||||||
|
newpoints[11]= new Array(13.119681,80.102964, rmark21, '1.0', 'Route no:21Avadi Junction ');
|
||||||
|
newpoints[12]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:21 ritwflag, ');
|
||||||
|
newpoints[13]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:21 pole, ');
|
||||||
|
|
||||||
|
// R 21 Ayapakkam
|
||||||
|
//
|
||||||
|
var poly = new GPolyline([new GLatLng(13.098368, 80.135071),
|
||||||
|
new GLatLng(13.098321, 80.135202),
|
||||||
|
new GLatLng(13.098389, 80.135846),
|
||||||
|
new GLatLng(13.098170, 80.137439),
|
||||||
|
new GLatLng(13.098175, 80.137445),
|
||||||
|
new GLatLng(13.097939, 80.139350),
|
||||||
|
new GLatLng(13.097960, 80.139763),
|
||||||
|
new GLatLng(13.097696, 80.141354),
|
||||||
|
new GLatLng(13.097623, 80.142242),
|
||||||
|
new GLatLng(13.097460, 80.143482),
|
||||||
|
new GLatLng(13.097376, 80.144387),
|
||||||
|
new GLatLng(13.097425, 80.146076),
|
||||||
|
new GLatLng(13.097455, 80.146427),
|
||||||
|
new GLatLng(13.098239, 80.147693),
|
||||||
|
new GLatLng(13.098427, 80.147902),
|
||||||
|
new GLatLng(13.099728, 80.148676),
|
||||||
|
new GLatLng(13.100987, 80.149435),
|
||||||
|
new GLatLng(13.103218, 80.150229),
|
||||||
|
new GLatLng(13.105656, 80.151028),
|
||||||
|
new GLatLng(13.106711, 80.151431),
|
||||||
|
new GLatLng(13.107286, 80.151742),
|
||||||
|
new GLatLng(13.107652, 80.152021),
|
||||||
|
new GLatLng(13.107756, 80.152225),
|
||||||
|
new GLatLng(13.109051, 80.152195),
|
||||||
|
new GLatLng(13.109605, 80.152242),
|
||||||
|
new GLatLng(13.110117, 80.152302),
|
||||||
|
new GLatLng(13.110373, 80.152161),
|
||||||
|
new GLatLng(13.110770, 80.151851),
|
||||||
|
new GLatLng(13.111021, 80.151771),
|
||||||
|
new GLatLng(13.111345, 80.151621),
|
||||||
|
new GLatLng(13.111976, 80.150816),
|
||||||
|
new GLatLng(13.112276, 80.150524),
|
||||||
|
new GLatLng(13.112796, 80.150237),
|
||||||
|
new GLatLng(13.113023, 80.150041),
|
||||||
|
new GLatLng(13.113175, 80.149786),
|
||||||
|
new GLatLng(13.113300, 80.149169),
|
||||||
|
new GLatLng(13.113418, 80.148762),
|
||||||
|
new GLatLng(13.113632, 80.148505),
|
||||||
|
new GLatLng(13.113888, 80.148347),
|
||||||
|
new GLatLng(13.114768, 80.148036),
|
||||||
|
new GLatLng(13.115209, 80.147864),
|
||||||
|
new GLatLng(13.115361, 80.147826),
|
||||||
|
new GLatLng(13.115839, 80.147861),
|
||||||
|
new GLatLng(13.116147, 80.147968),
|
||||||
|
new GLatLng(13.116463, 80.148152),
|
||||||
|
new GLatLng(13.117439, 80.149276),
|
||||||
|
new GLatLng(13.117796, 80.149513),
|
||||||
|
new GLatLng(13.119358, 80.149830),
|
||||||
|
new GLatLng(13.119758, 80.149817),
|
||||||
|
new GLatLng(13.119959, 80.149707),
|
||||||
|
new GLatLng(13.120589, 80.149034),
|
||||||
|
new GLatLng(13.121247, 80.148624),
|
||||||
|
new GLatLng(13.121440, 80.148485),
|
||||||
|
new GLatLng(13.121658, 80.148211),
|
||||||
|
new GLatLng(13.122077, 80.147579),
|
||||||
|
new GLatLng(13.122237, 80.147179),
|
||||||
|
new GLatLng(13.123253, 80.145567),
|
||||||
|
new GLatLng(13.123950, 80.144432),
|
||||||
|
new GLatLng(13.124324, 80.143829),
|
||||||
|
new GLatLng(13.125700, 80.141688),
|
||||||
|
new GLatLng(13.125946, 80.141390),
|
||||||
|
new GLatLng(13.128020, 80.139775),
|
||||||
|
new GLatLng(13.128267, 80.139599),
|
||||||
|
new GLatLng(13.129817, 80.138332),
|
||||||
|
new GLatLng(13.130230, 80.137860),
|
||||||
|
new GLatLng(13.130575, 80.136100),
|
||||||
|
new GLatLng(13.130752, 80.134598),
|
||||||
|
new GLatLng(13.130804, 80.131798),
|
||||||
|
new GLatLng(13.130747, 80.134914),
|
||||||
|
new GLatLng(13.130776, 80.131491),
|
||||||
|
new GLatLng(13.130841, 80.130444),
|
||||||
|
new GLatLng(13.131351, 80.128194),
|
||||||
|
new GLatLng(13.131370, 80.127573),
|
||||||
|
new GLatLng(13.131271, 80.127115),
|
||||||
|
new GLatLng(13.131036, 80.126702),
|
||||||
|
new GLatLng(13.130023, 80.125323),
|
||||||
|
new GLatLng(13.128148, 80.123113),
|
||||||
|
new GLatLng(13.126447, 80.121092),
|
||||||
|
new GLatLng(13.125589, 80.118213),
|
||||||
|
new GLatLng(13.124680, 80.115955),
|
||||||
|
new GLatLng(13.123593, 80.112908),
|
||||||
|
new GLatLng(13.123404, 80.112381),
|
||||||
|
new GLatLng(13.123289, 80.111635),
|
||||||
|
new GLatLng(13.123228, 80.110654),
|
||||||
|
new GLatLng(13.123165, 80.110493),
|
||||||
|
new GLatLng(13.121965, 80.108750),
|
||||||
|
new GLatLng(13.121134, 80.107969),
|
||||||
|
new GLatLng(13.120533, 80.107352),
|
||||||
|
new GLatLng(13.119901, 80.105555),
|
||||||
|
new GLatLng(13.119791, 80.104847),
|
||||||
|
new GLatLng(13.119702, 80.104155),
|
||||||
|
new GLatLng(13.119681, 80.102964),
|
||||||
|
new GLatLng(13.119754, 80.101290),
|
||||||
|
new GLatLng(13.119670, 80.100668),
|
||||||
|
new GLatLng(13.119586, 80.099931),
|
||||||
|
new GLatLng(13.119520, 80.098039),
|
||||||
|
new GLatLng(13.119421, 80.095107),
|
||||||
|
new GLatLng(13.119415, 80.094958),
|
||||||
|
new GLatLng(13.119409, 80.094941),
|
||||||
|
], "#0000ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
//Route No 20: Veppampattu via avadi
|
||||||
|
var poly =new GPolyline([
|
||||||
|
new GLatLng(13.119409, 80.094941),
|
||||||
|
new GLatLng(13.118495, 80.094954),
|
||||||
|
new GLatLng(13.118129, 80.094933),
|
||||||
|
new GLatLng(13.117708, 80.095016),
|
||||||
|
new GLatLng(13.117436, 80.095236),
|
||||||
|
new GLatLng(13.117295, 80.095646),
|
||||||
|
new GLatLng(13.117150, 80.096657),
|
||||||
|
new GLatLng(13.116983, 80.097852),
|
||||||
|
new GLatLng(13.116837, 80.098979),
|
||||||
|
new GLatLng(13.116534, 80.100680),
|
||||||
|
new GLatLng(13.116221, 80.102509),
|
||||||
|
new GLatLng(13.115798, 80.104939),
|
||||||
|
new GLatLng(13.115683, 80.105320),
|
||||||
|
new GLatLng(13.115636, 80.105969),
|
||||||
|
new GLatLng(13.115614, 80.107761),
|
||||||
|
new GLatLng(13.115557, 80.107864),
|
||||||
|
new GLatLng(13.114240, 80.108121),
|
||||||
|
new GLatLng(13.111967, 80.108502),
|
||||||
|
new GLatLng(13.111482, 80.108571),
|
||||||
|
new GLatLng(13.111118, 80.108600),
|
||||||
|
new GLatLng(13.107701, 80.108482),
|
||||||
|
new GLatLng(13.103504, 80.108322),
|
||||||
|
new GLatLng(13.101268, 80.108215),
|
||||||
|
new GLatLng(13.099795, 80.108247),
|
||||||
|
new GLatLng(13.098489, 80.108301),
|
||||||
|
new GLatLng(13.095626, 80.108355),
|
||||||
|
new GLatLng(13.093693, 80.108409),
|
||||||
|
new GLatLng(13.090004, 80.108495),
|
||||||
|
new GLatLng(13.086754, 80.108592),
|
||||||
|
new GLatLng(13.083064, 80.108718),
|
||||||
|
new GLatLng(13.082656, 80.108847),
|
||||||
|
new GLatLng(13.079181, 80.110211),
|
||||||
|
new GLatLng(13.075096, 80.111610),
|
||||||
|
new GLatLng(13.071166, 80.112608),
|
||||||
|
new GLatLng(13.070403, 80.112683),
|
||||||
|
new GLatLng(13.069692, 80.112672),
|
||||||
|
new GLatLng(13.066982, 80.112532),
|
||||||
|
new GLatLng(13.063962, 80.112425),
|
||||||
|
new GLatLng(13.063596, 80.112489),
|
||||||
|
new GLatLng(13.058647, 80.113705),
|
||||||
|
new GLatLng(13.056776, 80.113887),
|
||||||
|
], "#0000ff" ,3,0.9, 90 );map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
// Poonamalle bypass uo to ORR junction
|
||||||
|
// maduravoil New5C
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.056776,80.113887),
|
||||||
|
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),
|
||||||
|
], "#0000ff" , 3 ,0.8, 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),
|
||||||
|
], "#0000ff" , 2 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
// Poonamalle High Road to RIT
|
||||||
|
//
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.035944,80.043705),
|
||||||
|
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),
|
||||||
|
], "#006699" , 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>
|
||||||
1132
telegram-bot/map_pages/map22.html
Normal file
1132
telegram-bot/map_pages/map22.html
Normal file
File diff suppressed because it is too large
Load Diff
784
telegram-bot/map_pages/map23.html
Normal file
784
telegram-bot/map_pages/map23.html
Normal file
@@ -0,0 +1,784 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.074463,80.192914), 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 = "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(13.103564,80.202182, rmark23, '1.0', 'Route no:23Nathamuni Theatre ');
|
||||||
|
newpoints[1] = new Array(13.092279,80.217820, rmark23, '1.0', 'Route no:23K4 Police Station ');
|
||||||
|
newpoints[2] = new Array(13.092582,80.209755, rmark23, '1.0', 'Route no:23Labour officers Quarters ');
|
||||||
|
newpoints[3] = new Array(13.092686,80.206709, rmark23, '1.0', 'Route no:23Vijaya Maruthi (Nuts & Spices ');
|
||||||
|
newpoints[4] = new Array(13.094642,80.206548, rmark23, '1.0', 'Route no:23Udayam colony ');
|
||||||
|
newpoints[5] = new Array(13.094786,80.202590, rmark23, '1.0', 'Route no:23Kambar Colony ');
|
||||||
|
newpoints[6] = new Array(13.093961,80.198599, rmark23, '1.0', 'Route no:23Anna Nagar West Depot ');
|
||||||
|
newpoints[7] = new Array(13.088532,80.198570, rmark23, '1.0', 'Route no:23Thirumangalam Bridge ');
|
||||||
|
newpoints[8] = new Array(13.087373,80.192905, rmark23, '1.0', 'Route no:23Thirumangalam Waves ');
|
||||||
|
newpoints[9] = new Array(13.060569,80.155132, rmark23, '1.0', 'Route no:23Vanagaram ');
|
||||||
|
newpoints[10]= new Array(13.061230,80.138703, rmark23, '1.0', 'Route no:23Velapanchavadi ');
|
||||||
|
newpoints[11]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:23 ritwflag, ');
|
||||||
|
newpoints[12]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:23 pole, ');
|
||||||
|
|
||||||
|
|
||||||
|
// Route No 23 Nathamuni to Mdhuravoil Roundatana
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.103564,80.202182),
|
||||||
|
new GLatLng(13.103668,80.203037),
|
||||||
|
new GLatLng(13.102516,80.205193),
|
||||||
|
new GLatLng(13.100593,80.209273),
|
||||||
|
new GLatLng(13.098336,80.214369),
|
||||||
|
new GLatLng(13.096507,80.219090),
|
||||||
|
new GLatLng(13.094540,80.218372),
|
||||||
|
new GLatLng(13.094234,80.218310),
|
||||||
|
new GLatLng(13.092259,80.218230),
|
||||||
|
new GLatLng(13.092279,80.217820),
|
||||||
|
new GLatLng(13.092285,80.217538),
|
||||||
|
new GLatLng(13.092340,80.216897),
|
||||||
|
new GLatLng(13.092348,80.215722),
|
||||||
|
new GLatLng(13.092434,80.214083),
|
||||||
|
new GLatLng(13.092459,80.212494),
|
||||||
|
new GLatLng(13.092524,80.211134),
|
||||||
|
new GLatLng(13.092582,80.209755),
|
||||||
|
new GLatLng(13.092655,80.208044),
|
||||||
|
new GLatLng(13.092686,80.206709),
|
||||||
|
new GLatLng(13.092682,80.206469),
|
||||||
|
new GLatLng(13.093905,80.206517),
|
||||||
|
new GLatLng(13.094642,80.206548),
|
||||||
|
new GLatLng(13.094686,80.205658),
|
||||||
|
new GLatLng(13.094749,80.204006),
|
||||||
|
new GLatLng(13.094786,80.202590),
|
||||||
|
new GLatLng(13.094828,80.200696),
|
||||||
|
new GLatLng(13.094912,80.199854),
|
||||||
|
new GLatLng(13.094907,80.198631),
|
||||||
|
new GLatLng(13.093961,80.198599),
|
||||||
|
new GLatLng(13.092367,80.198604),
|
||||||
|
new GLatLng(13.090585,80.198588),
|
||||||
|
new GLatLng(13.089283,80.198601),
|
||||||
|
new GLatLng(13.088532,80.198570),
|
||||||
|
new GLatLng(13.087231,80.198550),
|
||||||
|
new GLatLng(13.087373,80.192905),
|
||||||
|
new GLatLng(13.087801,80.189671),
|
||||||
|
new GLatLng(13.087838,80.188002),
|
||||||
|
new GLatLng(13.087886,80.186240),
|
||||||
|
new GLatLng(13.087886,80.186240),
|
||||||
|
new GLatLng(13.087983,80.185284),
|
||||||
|
new GLatLng(13.088283,80.181284),
|
||||||
|
new GLatLng(13.088283,80.177884),
|
||||||
|
new GLatLng(13.088283,80.177284),
|
||||||
|
new GLatLng(13.088460,80.174077),
|
||||||
|
new GLatLng(13.088860,80.169077),
|
||||||
|
new GLatLng(13.088860,80.167577),
|
||||||
|
new GLatLng(13.089160,80.163577),
|
||||||
|
new GLatLng(13.089160,80.161577),
|
||||||
|
new GLatLng(13.089181,80.161515),
|
||||||
|
new GLatLng(13.087374,80.161507),
|
||||||
|
new GLatLng(13.086474,80.161550),
|
||||||
|
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),
|
||||||
|
], "#9900ff" , 3 ,0.9, 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),
|
||||||
|
], "#9900ff" , 3 ,0.9, 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),
|
||||||
|
], "#9900ff" , 3 ,0.9, 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),
|
||||||
|
], "#9900ff" , 3 ,0.9, 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),
|
||||||
|
], "#9900ff0" , 3 ,0.9, 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" style="width:100%;height:850px"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
968
telegram-bot/map_pages/map24.html
Normal file
968
telegram-bot/map_pages/map24.html
Normal file
@@ -0,0 +1,968 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.012373, 80.000215), 13);
|
||||||
|
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 = "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.908689,79.325872, rmark24, '1.0', 'Route no:24 Arcot Bus Stand ');
|
||||||
|
newpoints[1] = new Array(12.931947,79.335625, rmark24, '1.0', 'Route no:24 Muthukadai ');
|
||||||
|
newpoints[2] = new Array(12.925433,79.363995, rmark24, '1.0', 'Route no:24 Walajapettai ');
|
||||||
|
newpoints[3] = new Array(12.898271,79.557766, rmark24, '1.0', 'Route no:24 Perumpullipakkam ');
|
||||||
|
newpoints[4] = new Array(12.854458,79.686627, rmark24, '1.0', 'Route no:24 Vinayagapuram (KPM ');
|
||||||
|
newpoints[5] = new Array(12.849663,79.693126, rmark24, '1.0', 'Route no:24 Olimugamathu Pettai(Gori ');
|
||||||
|
newpoints[6] = new Array(12.844018,79.699733, rmark24, '1.0', 'Route no:24 Egambaranathar Koil ');
|
||||||
|
newpoints[7] = new Array(12.838751,79.701638, rmark24, '1.0', 'Route no:24 Kachapeswarar Koil ');
|
||||||
|
newpoints[8] = new Array(12.829798,79.703642, rmark24, '1.0', 'Route no:24 Ramas Cafe(KPM Bus Stand ');
|
||||||
|
newpoints[9] = new Array(12.848157,79.705829, rmark24, '1.0', 'Route no:24 Indra Nagar (KPM Railwaygate');
|
||||||
|
newpoints[10]= new Array(12.925884,79.880289, rmark24, '1.0', 'Route no:24 Sungawarchthram ');
|
||||||
|
newpoints[11]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:24 ritwflag, ');
|
||||||
|
newpoints[12]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:24 pole, ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var poly = new GPolyline([new GLatLng(12.908689, 79.325872),
|
||||||
|
new GLatLng(12.910351, 79.326516),
|
||||||
|
new GLatLng(12.911610, 79.326866),
|
||||||
|
new GLatLng(12.911702, 79.326678),
|
||||||
|
new GLatLng(12.911346, 79.326139),
|
||||||
|
new GLatLng(12.911066, 79.325621),
|
||||||
|
new GLatLng(12.910959, 79.325181),
|
||||||
|
new GLatLng(12.910962, 79.324650),
|
||||||
|
new GLatLng(12.911033, 79.324293),
|
||||||
|
new GLatLng(12.911660, 79.322536),
|
||||||
|
new GLatLng(12.911911, 79.322324),
|
||||||
|
new GLatLng(12.912029, 79.322316),
|
||||||
|
new GLatLng(12.912186, 79.322421),
|
||||||
|
new GLatLng(12.912259, 79.322990),
|
||||||
|
new GLatLng(12.912400, 79.323446),
|
||||||
|
new GLatLng(12.912638, 79.323915),
|
||||||
|
new GLatLng(12.912892, 79.324274),
|
||||||
|
new GLatLng(12.913130, 79.324515),
|
||||||
|
new GLatLng(12.913420, 79.324740),
|
||||||
|
new GLatLng(12.919470, 79.328472),
|
||||||
|
new GLatLng(12.920683, 79.329411),
|
||||||
|
new GLatLng(12.921218, 79.329869),
|
||||||
|
new GLatLng(12.922325, 79.330108),
|
||||||
|
new GLatLng(12.923203, 79.332340),
|
||||||
|
new GLatLng(12.923459, 79.332874),
|
||||||
|
new GLatLng(12.924659, 79.333877),
|
||||||
|
new GLatLng(12.926803, 79.334311),
|
||||||
|
new GLatLng(12.928234, 79.334552),
|
||||||
|
new GLatLng(12.929238, 79.334981),
|
||||||
|
new GLatLng(12.931246, 79.335260),
|
||||||
|
new GLatLng(12.931947, 79.335625),
|
||||||
|
new GLatLng(12.930517, 79.338311),
|
||||||
|
new GLatLng(12.928885, 79.343361),
|
||||||
|
new GLatLng(12.926804, 79.348961),
|
||||||
|
new GLatLng(12.925487, 79.352244),
|
||||||
|
new GLatLng(12.925537, 79.354692),
|
||||||
|
new GLatLng(12.925380, 79.358072),
|
||||||
|
new GLatLng(12.925464, 79.360701),
|
||||||
|
new GLatLng(12.925433, 79.363995),
|
||||||
|
new GLatLng(12.925140, 79.367342),
|
||||||
|
new GLatLng(12.924910, 79.370099),
|
||||||
|
new GLatLng(12.924150, 79.371302),
|
||||||
|
new GLatLng(12.923997, 79.371831),
|
||||||
|
new GLatLng(12.923406, 79.374374),
|
||||||
|
new GLatLng(12.923234, 79.374860),
|
||||||
|
new GLatLng(12.921476, 79.378000),
|
||||||
|
new GLatLng(12.920200, 79.380476),
|
||||||
|
new GLatLng(12.917400, 79.387880),
|
||||||
|
new GLatLng(12.916797, 79.389904),
|
||||||
|
new GLatLng(12.913740, 79.395949),
|
||||||
|
new GLatLng(12.911150, 79.400791),
|
||||||
|
new GLatLng(12.909568, 79.404036),
|
||||||
|
new GLatLng(12.909238, 79.404982),
|
||||||
|
new GLatLng(12.908150, 79.409005),
|
||||||
|
new GLatLng(12.906539, 79.413307),
|
||||||
|
new GLatLng(12.904932, 79.417509),
|
||||||
|
new GLatLng(12.904482, 79.418979),
|
||||||
|
new GLatLng(12.904294, 79.420921),
|
||||||
|
new GLatLng(12.903133, 79.425288),
|
||||||
|
new GLatLng(12.902422, 79.428464),
|
||||||
|
new GLatLng(12.901732, 79.432702),
|
||||||
|
new GLatLng(12.901042, 79.436436),
|
||||||
|
new GLatLng(12.900645, 79.440878),
|
||||||
|
new GLatLng(12.900446, 79.445127),
|
||||||
|
new GLatLng(12.900237, 79.449622),
|
||||||
|
new GLatLng(12.900122, 79.452251),
|
||||||
|
new GLatLng(12.900392, 79.456577),
|
||||||
|
new GLatLng(12.900737, 79.461330),
|
||||||
|
new GLatLng(12.901197, 79.467617),
|
||||||
|
new GLatLng(12.901636, 79.472681),
|
||||||
|
new GLatLng(12.902086, 79.477241),
|
||||||
|
new GLatLng(12.902400, 79.481468),
|
||||||
|
new GLatLng(12.902395, 79.484420),
|
||||||
|
new GLatLng(12.900591, 79.487924),
|
||||||
|
new GLatLng(12.898876, 79.491872),
|
||||||
|
new GLatLng(12.896899, 79.496593),
|
||||||
|
new GLatLng(12.896282, 79.498363),
|
||||||
|
new GLatLng(12.896251, 79.498921),
|
||||||
|
new GLatLng(12.896323, 79.500046),
|
||||||
|
new GLatLng(12.896731, 79.503801),
|
||||||
|
new GLatLng(12.897432, 79.507910),
|
||||||
|
new GLatLng(12.897621, 79.513516),
|
||||||
|
new GLatLng(12.897877, 79.519293),
|
||||||
|
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(12.898034, 79.523585),
|
||||||
|
new GLatLng(12.898390, 79.526085),
|
||||||
|
new GLatLng(12.898650, 79.530817),
|
||||||
|
new GLatLng(12.898577, 79.531332),
|
||||||
|
new GLatLng(12.898148, 79.533199),
|
||||||
|
new GLatLng(12.898039, 79.534540),
|
||||||
|
new GLatLng(12.898238, 79.539615),
|
||||||
|
new GLatLng(12.898361, 79.544457),
|
||||||
|
new GLatLng(12.898513, 79.549907),
|
||||||
|
new GLatLng(12.898452, 79.553973),
|
||||||
|
new GLatLng(12.898271, 79.557766),
|
||||||
|
new GLatLng(12.898053, 79.564481),
|
||||||
|
new GLatLng(12.897953, 79.565256),
|
||||||
|
new GLatLng(12.897483, 79.568006),
|
||||||
|
new GLatLng(12.896737, 79.573260),
|
||||||
|
new GLatLng(12.896320, 79.576702),
|
||||||
|
new GLatLng(12.894911, 79.581955),
|
||||||
|
new GLatLng(12.894015, 79.585798),
|
||||||
|
new GLatLng(12.893147, 79.587912),
|
||||||
|
new GLatLng(12.890806, 79.592780),
|
||||||
|
new GLatLng(12.890011, 79.594207),
|
||||||
|
new GLatLng(12.889310, 79.594840),
|
||||||
|
new GLatLng(12.883488, 79.598568),
|
||||||
|
new GLatLng(12.882107, 79.601424),
|
||||||
|
new GLatLng(12.880709, 79.603668),
|
||||||
|
new GLatLng(12.879297, 79.606812),
|
||||||
|
new GLatLng(12.878743, 79.608507),
|
||||||
|
new GLatLng(12.877655, 79.612069),
|
||||||
|
new GLatLng(12.877284, 79.612842),
|
||||||
|
new GLatLng(12.876520, 79.613829),
|
||||||
|
new GLatLng(12.875035, 79.615342),
|
||||||
|
new GLatLng(12.874470, 79.616340),
|
||||||
|
new GLatLng(12.874146, 79.617488),
|
||||||
|
new GLatLng(12.874073, 79.618164),
|
||||||
|
new GLatLng(12.874602, 79.625060),
|
||||||
|
new GLatLng(12.874666, 79.626049),
|
||||||
|
new GLatLng(12.874551, 79.627047),
|
||||||
|
new GLatLng(12.872982, 79.631982),
|
||||||
|
new GLatLng(12.872815, 79.633001),
|
||||||
|
new GLatLng(12.872784, 79.634707),
|
||||||
|
new GLatLng(12.872618, 79.635890),
|
||||||
|
new GLatLng(12.871823, 79.638104),
|
||||||
|
new GLatLng(12.869557, 79.646944),
|
||||||
|
new GLatLng(12.869158, 79.648637),
|
||||||
|
new GLatLng(12.867412, 79.654958),
|
||||||
|
new GLatLng(12.865438, 79.660106),
|
||||||
|
new GLatLng(12.863649, 79.664794),
|
||||||
|
new GLatLng(12.862163, 79.670385),
|
||||||
|
new GLatLng(12.861661, 79.672305),
|
||||||
|
new GLatLng(12.861079, 79.674234),
|
||||||
|
new GLatLng(12.859051, 79.678579),
|
||||||
|
new GLatLng(12.857771, 79.681190),
|
||||||
|
new GLatLng(12.857188, 79.682411),
|
||||||
|
new GLatLng(12.854458, 79.686627),
|
||||||
|
new GLatLng(12.851194, 79.691476),
|
||||||
|
new GLatLng(12.850370, 79.692425),
|
||||||
|
new GLatLng(12.849663, 79.693126),
|
||||||
|
new GLatLng(12.849145, 79.693499),
|
||||||
|
new GLatLng(12.849097, 79.693535),
|
||||||
|
new GLatLng(12.848475, 79.693744),
|
||||||
|
new GLatLng(12.847847, 79.693776),
|
||||||
|
new GLatLng(12.847214, 79.694216),
|
||||||
|
new GLatLng(12.846764, 79.695428),
|
||||||
|
new GLatLng(12.846680, 79.695487),
|
||||||
|
new GLatLng(12.845925, 79.695772),
|
||||||
|
new GLatLng(12.845017, 79.696694),
|
||||||
|
new GLatLng(12.844928, 79.696707),
|
||||||
|
new GLatLng(12.844839, 79.696884),
|
||||||
|
new GLatLng(12.844018, 79.699733),
|
||||||
|
new GLatLng(12.843799, 79.700485),
|
||||||
|
new GLatLng(12.843437, 79.701159),
|
||||||
|
new GLatLng(12.841695, 79.701197),
|
||||||
|
new GLatLng(12.838960, 79.701460),
|
||||||
|
new GLatLng(12.838751, 79.701638),
|
||||||
|
new GLatLng(12.837270, 79.704175),
|
||||||
|
new GLatLng(12.833546, 79.703508),
|
||||||
|
new GLatLng(12.832561, 79.703441),
|
||||||
|
new GLatLng(12.831232, 79.703530),
|
||||||
|
new GLatLng(12.829798, 79.703642),
|
||||||
|
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(12.836586, 79.706046),
|
||||||
|
new GLatLng(12.836581, 79.706356),
|
||||||
|
new GLatLng(12.836806, 79.706549),
|
||||||
|
new GLatLng(12.837447, 79.706710),
|
||||||
|
new GLatLng(12.838948, 79.706890),
|
||||||
|
new GLatLng(12.840443, 79.707094),
|
||||||
|
new GLatLng(12.840639, 79.707081),
|
||||||
|
new GLatLng(12.840736, 79.706975),
|
||||||
|
new GLatLng(12.840772, 79.706887),
|
||||||
|
new GLatLng(12.841002, 79.705999),
|
||||||
|
new GLatLng(12.841226, 79.705192),
|
||||||
|
new GLatLng(12.842346, 79.703005),
|
||||||
|
new GLatLng(12.843986, 79.704537),
|
||||||
|
new GLatLng(12.844210, 79.704722),
|
||||||
|
new GLatLng(12.844543, 79.704904),
|
||||||
|
new GLatLng(12.844928, 79.705081),
|
||||||
|
new GLatLng(12.846149, 79.705272),
|
||||||
|
new GLatLng(12.847676, 79.705669),
|
||||||
|
new GLatLng(12.848157, 79.705829),
|
||||||
|
new GLatLng(12.848713, 79.705930),
|
||||||
|
new GLatLng(12.850779, 79.706172),
|
||||||
|
new GLatLng(12.851464, 79.706290),
|
||||||
|
new GLatLng(12.852473, 79.706338),
|
||||||
|
new GLatLng(12.853875, 79.706569),
|
||||||
|
new GLatLng(12.855773, 79.706666),
|
||||||
|
new GLatLng(12.856678, 79.706822),
|
||||||
|
new GLatLng(12.862267, 79.707384),
|
||||||
|
new GLatLng(12.865311, 79.707513),
|
||||||
|
new GLatLng(12.866828, 79.707835),
|
||||||
|
new GLatLng(12.870918, 79.708350),
|
||||||
|
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.906285, 79.827967),
|
||||||
|
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
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),
|
||||||
|
new GLatLng(12.922447, 79.874197),
|
||||||
|
new GLatLng(12.922884, 79.874901),
|
||||||
|
new GLatLng(12.924128, 79.876993),
|
||||||
|
new GLatLng(12.925413, 79.879515),
|
||||||
|
new GLatLng(12.925884, 79.880289),
|
||||||
|
new GLatLng(12.926585, 79.881340),
|
||||||
|
new GLatLng(12.927333, 79.882874),
|
||||||
|
new GLatLng(12.928002, 79.884623),
|
||||||
|
new GLatLng(12.928849, 79.887176),
|
||||||
|
new GLatLng(12.929147, 79.888088),
|
||||||
|
new GLatLng(12.929539, 79.889097),
|
||||||
|
new GLatLng(12.929712, 79.889859),
|
||||||
|
new GLatLng(12.929961, 79.892748),
|
||||||
|
new GLatLng(12.930019, 79.893596),
|
||||||
|
new GLatLng(12.930322, 79.894626),
|
||||||
|
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),
|
||||||
|
new GLatLng(12.962422, 79.945325),
|
||||||
|
new GLatLng(12.962783, 79.945963),
|
||||||
|
new GLatLng(12.964439, 79.950825),
|
||||||
|
new GLatLng(12.964732, 79.951587),
|
||||||
|
new GLatLng(12.965234, 79.952252),
|
||||||
|
new GLatLng(12.965872, 79.952928),
|
||||||
|
new GLatLng(12.966457, 79.953228),
|
||||||
|
new GLatLng(12.968715, 79.954119),
|
||||||
|
new GLatLng(12.971967, 79.955492),
|
||||||
|
new GLatLng(12.973901, 79.956533),
|
||||||
|
new GLatLng(12.975323, 79.957488),
|
||||||
|
new GLatLng(12.977017, 79.959870),
|
||||||
|
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
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);
|
||||||
|
|
||||||
|
// 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>
|
||||||
848
telegram-bot/map_pages/map26.html
Normal file
848
telegram-bot/map_pages/map26.html
Normal file
@@ -0,0 +1,848 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.04463,80.202914), 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 = "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.974296,80.135458, rmark26, '1.0', 'Route no:26Pammal Municipal Office ');
|
||||||
|
newpoints[1] = new Array(12.977467,80.130784, rmark26, '1.0', 'Route no:26Arunmathi Theatre ');
|
||||||
|
newpoints[2] = new Array(12.983241,80.127770, rmark26, '1.0', 'Route no:26Anagaputhur Amman Kovil ');
|
||||||
|
newpoints[3] = new Array(12.985073,80.123172, rmark26, '1.0', 'Route no:26nagaputhur ');
|
||||||
|
newpoints[4] = new Array(12.987888,80.118202, rmark26, '1.0', 'Route no:26Manikandan Nagar ');
|
||||||
|
newpoints[5] = new Array(12.989780,80.116864, rmark26, '1.0', 'Route no:26Karima Nagar ');
|
||||||
|
newpoints[6] = new Array(12.998050,80.097586, rmark26, '1.0', 'Route no:26Kundrathur Thandalam ');
|
||||||
|
newpoints[7] = new Array(13.000110,80.097494, rmark26, '1.0', 'Route no:26Kundrathur ');
|
||||||
|
newpoints[8] = new Array(13.010411,80.114411, rmark26, '1.0', 'Route no:26Kovur EB Office ');
|
||||||
|
newpoints[9] = new Array(13.009757,80.120522, rmark26, '1.0', 'Route no:26Kovur ');
|
||||||
|
newpoints[10]= new Array(13.015488,80.136605, rmark26, '1.0', 'Route no:26Gerugambakkam ');
|
||||||
|
newpoints[11]= new Array(13.019789,80.143133, rmark26, '1.0', 'Route no:26Bai Kadai ');
|
||||||
|
newpoints[12]= new Array(13.020280,80.143670, rmark26, '1.0', 'Route no:26Moulivakkam ');
|
||||||
|
newpoints[13]= new Array(13.022486,80.145925, rmark26, '1.0', 'Route no:26Mathanandapuram ');
|
||||||
|
newpoints[14]= new Array(13.028236,80.151266, rmark26, '1.0', 'Route no:26Venkateswara Nagar ');
|
||||||
|
newpoints[15]= new Array(13.030737,80.152929, rmark26, '1.0', 'Route no:26Porur E.B. Office ');
|
||||||
|
newpoints[16]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:26 ritwflag, ');
|
||||||
|
newpoints[17]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:26 pole, ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Route No 26 Pammal to RIT
|
||||||
|
var poly = new GPolyline([new GLatLng(12.974296, 80.135458),
|
||||||
|
new GLatLng(12.974677, 80.134441),
|
||||||
|
new GLatLng(12.974836, 80.133041),
|
||||||
|
new GLatLng(12.974943, 80.132770),
|
||||||
|
new GLatLng(12.975049, 80.132692),
|
||||||
|
new GLatLng(12.975465, 80.132622),
|
||||||
|
new GLatLng(12.976484, 80.132737),
|
||||||
|
new GLatLng(12.976659, 80.132699),
|
||||||
|
new GLatLng(12.976962, 80.132026),
|
||||||
|
new GLatLng(12.977247, 80.131519),
|
||||||
|
new GLatLng(12.977467, 80.130784),
|
||||||
|
new GLatLng(12.977626, 80.130545),
|
||||||
|
new GLatLng(12.977992, 80.130526),
|
||||||
|
new GLatLng(12.978766, 80.129896),
|
||||||
|
new GLatLng(12.979226, 80.129521),
|
||||||
|
new GLatLng(12.979592, 80.129003),
|
||||||
|
new GLatLng(12.980794, 80.129200),
|
||||||
|
new GLatLng(12.982472, 80.129310),
|
||||||
|
new GLatLng(12.982608, 80.128757),
|
||||||
|
new GLatLng(12.983105, 80.128639),
|
||||||
|
new GLatLng(12.983241, 80.127770),
|
||||||
|
new GLatLng(12.983558, 80.125811),
|
||||||
|
new GLatLng(12.983514, 80.126000),
|
||||||
|
new GLatLng(12.983695, 80.125437),
|
||||||
|
new GLatLng(12.984990, 80.123639),
|
||||||
|
new GLatLng(12.985073, 80.123172),
|
||||||
|
new GLatLng(12.985038, 80.122681),
|
||||||
|
new GLatLng(12.984957, 80.122322),
|
||||||
|
new GLatLng(12.984627, 80.121816),
|
||||||
|
new GLatLng(12.984604, 80.121679),
|
||||||
|
new GLatLng(12.984646, 80.121600),
|
||||||
|
new GLatLng(12.984901, 80.121411),
|
||||||
|
new GLatLng(12.985139, 80.121210),
|
||||||
|
new GLatLng(12.986488, 80.119276),
|
||||||
|
new GLatLng(12.987888, 80.118202),
|
||||||
|
new GLatLng(12.989780, 80.116864),
|
||||||
|
new GLatLng(12.991447, 80.115491),
|
||||||
|
new GLatLng(12.992890, 80.114119),
|
||||||
|
new GLatLng(12.993598, 80.113129),
|
||||||
|
new GLatLng(12.995174, 80.111437),
|
||||||
|
new GLatLng(12.995864, 80.110273),
|
||||||
|
new GLatLng(12.996013, 80.109844),
|
||||||
|
new GLatLng(12.996239, 80.109035),
|
||||||
|
new GLatLng(12.996689, 80.108120),
|
||||||
|
new GLatLng(12.997201, 80.106483),
|
||||||
|
new GLatLng(12.997460, 80.106038),
|
||||||
|
new GLatLng(12.997591, 80.105284),
|
||||||
|
new GLatLng(12.997797, 80.104533),
|
||||||
|
new GLatLng(12.997956, 80.103691),
|
||||||
|
new GLatLng(12.998549, 80.102741),
|
||||||
|
new GLatLng(12.998690, 80.102234),
|
||||||
|
new GLatLng(12.998682, 80.101815),
|
||||||
|
new GLatLng(12.998609, 80.101633),
|
||||||
|
new GLatLng(12.998306, 80.101360),
|
||||||
|
new GLatLng(12.998115, 80.101043),
|
||||||
|
new GLatLng(12.997997, 80.100625),
|
||||||
|
new GLatLng(12.997720, 80.099952),
|
||||||
|
new GLatLng(12.997681, 80.099775),
|
||||||
|
new GLatLng(12.997652, 80.099319),
|
||||||
|
new GLatLng(12.997741, 80.098150),
|
||||||
|
new GLatLng(12.997817, 80.097919),
|
||||||
|
new GLatLng(12.998050, 80.097586),
|
||||||
|
new GLatLng(12.998291, 80.096541),
|
||||||
|
new GLatLng(12.998774, 80.096728),
|
||||||
|
new GLatLng(12.999510, 80.097109),
|
||||||
|
new GLatLng(13.000110, 80.097494),
|
||||||
|
new GLatLng(13.000521, 80.097753),
|
||||||
|
new GLatLng(13.001232, 80.097937),
|
||||||
|
new GLatLng(13.001434, 80.098009),
|
||||||
|
new GLatLng(13.003249, 80.099127),
|
||||||
|
new GLatLng(13.003411, 80.099296),
|
||||||
|
new GLatLng(13.003804, 80.100384),
|
||||||
|
new GLatLng(13.004489, 80.101782),
|
||||||
|
new GLatLng(13.004645, 80.102353),
|
||||||
|
new GLatLng(13.004707, 80.102944),
|
||||||
|
new GLatLng(13.004697, 80.103759),
|
||||||
|
new GLatLng(13.005212, 80.105920),
|
||||||
|
new GLatLng(13.005274, 80.106325),
|
||||||
|
new GLatLng(13.005481, 80.109470),
|
||||||
|
new GLatLng(13.005490, 80.109564),
|
||||||
|
new GLatLng(13.006026, 80.110451),
|
||||||
|
new GLatLng(13.006281, 80.111116),
|
||||||
|
new GLatLng(13.006452, 80.111513),
|
||||||
|
new GLatLng(13.007842, 80.113527),
|
||||||
|
new GLatLng(13.008418, 80.114202),
|
||||||
|
new GLatLng(13.008632, 80.114354),
|
||||||
|
new GLatLng(13.008967, 80.114421),
|
||||||
|
new GLatLng(13.009172, 80.114433),
|
||||||
|
new GLatLng(13.010411, 80.114411),
|
||||||
|
new GLatLng(13.010963, 80.114409),
|
||||||
|
new GLatLng(13.011064, 80.114429),
|
||||||
|
new GLatLng(13.011173, 80.114531),
|
||||||
|
new GLatLng(13.011204, 80.114641),
|
||||||
|
new GLatLng(13.011064, 80.115967),
|
||||||
|
new GLatLng(13.010853, 80.117107),
|
||||||
|
new GLatLng(13.010694, 80.117545),
|
||||||
|
new GLatLng(13.010224, 80.118562),
|
||||||
|
new GLatLng(13.010169, 80.119144),
|
||||||
|
new GLatLng(13.010117, 80.119507),
|
||||||
|
new GLatLng(13.009960, 80.119987),
|
||||||
|
new GLatLng(13.009757, 80.120522),
|
||||||
|
new GLatLng(13.009726, 80.120758),
|
||||||
|
new GLatLng(13.009802, 80.122507),
|
||||||
|
new GLatLng(13.009825, 80.122667),
|
||||||
|
new GLatLng(13.009859, 80.122758),
|
||||||
|
new GLatLng(13.010024, 80.122919),
|
||||||
|
new GLatLng(13.010542, 80.123212),
|
||||||
|
new GLatLng(13.010784, 80.123444),
|
||||||
|
new GLatLng(13.011518, 80.124737),
|
||||||
|
new GLatLng(13.011470, 80.125482),
|
||||||
|
new GLatLng(13.011486, 80.127011),
|
||||||
|
new GLatLng(13.011699, 80.129123),
|
||||||
|
new GLatLng(13.011765, 80.129558),
|
||||||
|
new GLatLng(13.012414, 80.131212),
|
||||||
|
new GLatLng(13.012497, 80.131483),
|
||||||
|
new GLatLng(13.012531, 80.131632),
|
||||||
|
new GLatLng(13.012559, 80.131974),
|
||||||
|
new GLatLng(13.012557, 80.132657),
|
||||||
|
new GLatLng(13.012594, 80.132794),
|
||||||
|
new GLatLng(13.012667, 80.132906),
|
||||||
|
new GLatLng(13.012776, 80.132976),
|
||||||
|
new GLatLng(13.013092, 80.133070),
|
||||||
|
new GLatLng(13.013398, 80.133241),
|
||||||
|
new GLatLng(13.013534, 80.133364),
|
||||||
|
new GLatLng(13.014170, 80.134301),
|
||||||
|
new GLatLng(13.014589, 80.134926),
|
||||||
|
new GLatLng(13.015488, 80.136605),
|
||||||
|
new GLatLng(13.015765, 80.137115),
|
||||||
|
new GLatLng(13.016678, 80.138934),
|
||||||
|
new GLatLng(13.017493, 80.140594),
|
||||||
|
new GLatLng(13.017744, 80.141065),
|
||||||
|
new GLatLng(13.017888, 80.141255),
|
||||||
|
new GLatLng(13.019431, 80.142788),
|
||||||
|
new GLatLng(13.019789, 80.143133),
|
||||||
|
new GLatLng(13.020280, 80.143670),
|
||||||
|
new GLatLng(13.022486, 80.145925),
|
||||||
|
new GLatLng(13.024169, 80.147539),
|
||||||
|
new GLatLng(13.024794, 80.148257),
|
||||||
|
new GLatLng(13.026314, 80.149813),
|
||||||
|
new GLatLng(13.028236, 80.151266),
|
||||||
|
new GLatLng(13.030737, 80.152929),
|
||||||
|
new GLatLng(13.032038, 80.153734),
|
||||||
|
new GLatLng(13.033721, 80.155188),
|
||||||
|
new GLatLng(13.034682, 80.155808),
|
||||||
|
new GLatLng(13.035800, 80.153864),
|
||||||
|
new GLatLng(13.036267, 80.152942),
|
||||||
|
|
||||||
|
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Butt Road to Poonamalle Bypass
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
new GLatLng(13.036267, 80.152942),
|
||||||
|
new GLatLng(13.036194, 80.148953),
|
||||||
|
new GLatLng(13.036246, 80.146464),
|
||||||
|
new GLatLng(13.036936, 80.141657),
|
||||||
|
new GLatLng(13.037448, 80.137741),
|
||||||
|
new GLatLng(13.037565, 80.136969),
|
||||||
|
new GLatLng(13.038096, 80.135259),
|
||||||
|
new GLatLng(13.039423, 80.131948),
|
||||||
|
new GLatLng(13.040594, 80.128751),
|
||||||
|
new GLatLng(13.041890, 80.125597),
|
||||||
|
new GLatLng(13.043249, 80.122453),
|
||||||
|
new GLatLng(13.044566, 80.119224),
|
||||||
|
new GLatLng(13.045298, 80.116939),
|
||||||
|
new GLatLng(13.046312, 80.118892),
|
||||||
|
new GLatLng(13.046960, 80.119600),
|
||||||
|
new GLatLng(13.052610, 80.123398),
|
||||||
|
new GLatLng(13.054259, 80.123936),
|
||||||
|
new GLatLng(13.054450, 80.123613),
|
||||||
|
new GLatLng(13.054491,80.123200),
|
||||||
|
|
||||||
|
], "#ff00ff" , 3 ,0.8, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Poonamalle bypass uo to ORR junction
|
||||||
|
// maduravoil New5C
|
||||||
|
var poly = new GPolyline([
|
||||||
|
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),
|
||||||
|
], "#ff00ff" , 3 ,0.8, 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),
|
||||||
|
], "#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>
|
||||||
834
telegram-bot/map_pages/map27.html
Normal file
834
telegram-bot/map_pages/map27.html
Normal file
@@ -0,0 +1,834 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.034463,80.192914), 13);
|
||||||
|
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 = "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(13.133148,80.103095, rmark27, '1.0', 'Route no:27 - Ajeya Stadium ');
|
||||||
|
newpoints[1] = new Array(13.137139,80.097056, rmark27, '1.0', 'Route no:27 - HVF ');
|
||||||
|
newpoints[2] = new Array(13.151710,80.080751, rmark27, '1.0', 'Route no:27 - CRP ');
|
||||||
|
newpoints[3] = new Array(13.150654,80.079324, rmark27, '1.0', 'Route no:27 - Mitnamalli ');
|
||||||
|
newpoints[4] = new Array(13.146539,80.069636, rmark27, '1.0', 'Route no:27 - Mittanamalli ');
|
||||||
|
newpoints[5] = new Array(13.145743,80.064036, rmark27, '1.0', 'Route no:27 - Muthapudupet ');
|
||||||
|
newpoints[6] = new Array(13.119408,80.094858, rmark27, '1.0', 'Route no:27 - Avadi Checkpost ');
|
||||||
|
newpoints[7] = new Array(13.117140,80.096684, rmark27, '1.0', 'Route no:27 - Rama Rathna Theatre ');
|
||||||
|
newpoints[8] = new Array(13.111492,80.108559, rmark27, '1.0', 'Route no:27 - Avadi Omsakthi Koil JB Estate ');
|
||||||
|
newpoints[9] = new Array(13.105944,80.108412, rmark27, '1.0', 'Route no:27 - Vasantham Nagar ');
|
||||||
|
newpoints[10]= new Array(13.098313,80.108277, rmark27, '1.0', 'Route no:27 - Govarthanagiri ');
|
||||||
|
newpoints[11]= new Array(13.090816,80.108458, rmark27, '1.0', 'Route no:27 - Kendra vihar ');
|
||||||
|
newpoints[12]= new Array(13.086678,80.108592, rmark27, '1.0', 'Route no:27 - Parthipattupammal ');
|
||||||
|
newpoints[13]= new Array(13.077047,80.110937, rmark27, '1.0', 'Route no:27 - Kaduveti ');
|
||||||
|
newpoints[14]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:27 - RIT Flag ');
|
||||||
|
newpoints[15]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:27 - RIT Pole ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Avadi to RIT via avadi Market
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.133148, 80.103095),
|
||||||
|
new GLatLng(13.133764, 80.103036),
|
||||||
|
new GLatLng(13.134904, 80.099835),
|
||||||
|
new GLatLng(13.135091, 80.098398),
|
||||||
|
new GLatLng(13.135352, 80.098065),
|
||||||
|
new GLatLng(13.137139, 80.097056),
|
||||||
|
new GLatLng(13.138510, 80.096330),
|
||||||
|
new GLatLng(13.138971, 80.096054),
|
||||||
|
new GLatLng(13.139431, 80.095583),
|
||||||
|
new GLatLng(13.139980, 80.094870),
|
||||||
|
new GLatLng(13.140403, 80.093872),
|
||||||
|
new GLatLng(13.140716, 80.092381),
|
||||||
|
new GLatLng(13.141108, 80.090418),
|
||||||
|
new GLatLng(13.141474, 80.088916),
|
||||||
|
new GLatLng(13.141876, 80.087988),
|
||||||
|
new GLatLng(13.142649, 80.087068),
|
||||||
|
new GLatLng(13.143547, 80.086456),
|
||||||
|
new GLatLng(13.146044, 80.086156),
|
||||||
|
new GLatLng(13.147423, 80.086789),
|
||||||
|
new GLatLng(13.149011, 80.087830),
|
||||||
|
new GLatLng(13.150923, 80.086854),
|
||||||
|
new GLatLng(13.151320, 80.086350),
|
||||||
|
new GLatLng(13.151564, 80.085289),
|
||||||
|
new GLatLng(13.151710, 80.080751),
|
||||||
|
new GLatLng(13.151417, 80.079946),
|
||||||
|
new GLatLng(13.150654, 80.079324),
|
||||||
|
new GLatLng(13.149651, 80.078884),
|
||||||
|
new GLatLng(13.148679, 80.078122),
|
||||||
|
new GLatLng(13.148320, 80.077766),
|
||||||
|
new GLatLng(13.148163, 80.077289),
|
||||||
|
new GLatLng(13.147379, 80.075991),
|
||||||
|
new GLatLng(13.147128, 80.074891),
|
||||||
|
new GLatLng(13.147050, 80.074430),
|
||||||
|
new GLatLng(13.146939, 80.072584),
|
||||||
|
new GLatLng(13.146539, 80.069636),
|
||||||
|
new GLatLng(13.146109, 80.066740),
|
||||||
|
new GLatLng(13.145743, 80.064036),
|
||||||
|
new GLatLng(13.145436, 80.061856),
|
||||||
|
new GLatLng(13.144399, 80.059984),
|
||||||
|
new GLatLng(13.142518, 80.058192),
|
||||||
|
new GLatLng(13.140506, 80.056557),
|
||||||
|
new GLatLng(13.137142, 80.056482),
|
||||||
|
new GLatLng(13.135572, 80.056427),
|
||||||
|
new GLatLng(13.133356, 80.056386),
|
||||||
|
new GLatLng(13.131970, 80.056421),
|
||||||
|
new GLatLng(13.131814, 80.056467),
|
||||||
|
new GLatLng(13.130509, 80.057296),
|
||||||
|
new GLatLng(13.130415, 80.057366),
|
||||||
|
new GLatLng(13.129498, 80.057881),
|
||||||
|
new GLatLng(13.128366, 80.058481),
|
||||||
|
new GLatLng(13.127365, 80.059048),
|
||||||
|
new GLatLng(13.127109, 80.059574),
|
||||||
|
new GLatLng(13.125992, 80.059536),
|
||||||
|
new GLatLng(13.124890, 80.059464),
|
||||||
|
new GLatLng(13.124174, 80.059434),
|
||||||
|
new GLatLng(13.123103, 80.059359),
|
||||||
|
new GLatLng(13.122697, 80.060787),
|
||||||
|
new GLatLng(13.122527, 80.061395),
|
||||||
|
new GLatLng(13.121911, 80.062884),
|
||||||
|
new GLatLng(13.121126, 80.064528),
|
||||||
|
new GLatLng(13.120758, 80.065697),
|
||||||
|
new GLatLng(13.120320, 80.067331),
|
||||||
|
new GLatLng(13.119832, 80.069153),
|
||||||
|
new GLatLng(13.119353, 80.071284),
|
||||||
|
new GLatLng(13.119269, 80.071831),
|
||||||
|
new GLatLng(13.119217, 80.074561),
|
||||||
|
new GLatLng(13.119223, 80.074801),
|
||||||
|
new GLatLng(13.119379, 80.077878),
|
||||||
|
new GLatLng(13.119336, 80.079590),
|
||||||
|
new GLatLng(13.118917, 80.081922),
|
||||||
|
new GLatLng(13.118890, 80.084636),
|
||||||
|
new GLatLng(13.118678, 80.089003),
|
||||||
|
new GLatLng(13.118647, 80.089888),
|
||||||
|
new GLatLng(13.119192, 80.092374),
|
||||||
|
new GLatLng(13.119408, 80.094858),
|
||||||
|
new GLatLng(13.118662, 80.094949),
|
||||||
|
new GLatLng(13.117898, 80.094954),
|
||||||
|
new GLatLng(13.117632, 80.095056),
|
||||||
|
new GLatLng(13.117433, 80.095249),
|
||||||
|
new GLatLng(13.117297, 80.095606),
|
||||||
|
new GLatLng(13.117140, 80.096684),
|
||||||
|
new GLatLng(13.116985, 80.097779),
|
||||||
|
new GLatLng(13.116907, 80.098514),
|
||||||
|
new GLatLng(13.116540, 80.100629),
|
||||||
|
new GLatLng(13.116149, 80.102863),
|
||||||
|
new GLatLng(13.115811, 80.104943),
|
||||||
|
new GLatLng(13.115704, 80.105241),
|
||||||
|
new GLatLng(13.115636, 80.105568),
|
||||||
|
new GLatLng(13.115608, 80.107779),
|
||||||
|
new GLatLng(13.115533, 80.107882),
|
||||||
|
new GLatLng(13.114256, 80.108139),
|
||||||
|
new GLatLng(13.112369, 80.108446),
|
||||||
|
new GLatLng(13.111492, 80.108559),
|
||||||
|
new GLatLng(13.111196, 80.108578),
|
||||||
|
new GLatLng(13.109596, 80.108563),
|
||||||
|
new GLatLng(13.107627, 80.108489),
|
||||||
|
new GLatLng(13.105944, 80.108412),
|
||||||
|
new GLatLng(13.103692, 80.108326),
|
||||||
|
new GLatLng(13.102647, 80.108303),
|
||||||
|
new GLatLng(13.100986, 80.108224),
|
||||||
|
new GLatLng(13.099379, 80.108266),
|
||||||
|
new GLatLng(13.098313, 80.108277),
|
||||||
|
new GLatLng(13.095910, 80.108347),
|
||||||
|
new GLatLng(13.094000, 80.108397),
|
||||||
|
new GLatLng(13.091858, 80.108443),
|
||||||
|
new GLatLng(13.090816, 80.108458),
|
||||||
|
new GLatLng(13.088486, 80.108544),
|
||||||
|
new GLatLng(13.086678, 80.108592),
|
||||||
|
new GLatLng(13.083329, 80.108705),
|
||||||
|
new GLatLng(13.082845, 80.108784),
|
||||||
|
new GLatLng(13.080358, 80.109764),
|
||||||
|
new GLatLng(13.078856, 80.110339),
|
||||||
|
new GLatLng(13.077047, 80.110937),
|
||||||
|
new GLatLng(13.074916, 80.111654),
|
||||||
|
new GLatLng(13.073167, 80.112169),
|
||||||
|
new GLatLng(13.071260, 80.112603),
|
||||||
|
new GLatLng(13.070860, 80.112680),
|
||||||
|
new GLatLng(13.068345, 80.112592),
|
||||||
|
new GLatLng(13.066045, 80.112491),
|
||||||
|
new GLatLng(13.063810, 80.112431),
|
||||||
|
new GLatLng(13.061532, 80.113053),
|
||||||
|
new GLatLng(13.059156, 80.113605),
|
||||||
|
new GLatLng(13.056792, 80.113893),
|
||||||
|
new GLatLng(13.056771, 80.113139),
|
||||||
|
], "#ff0000" ,3,0.8, 80);map.addOverlay(poly);
|
||||||
|
|
||||||
|
//porur to Poonamalle ORR junction
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
new GLatLng(13.034757,80.155859),
|
||||||
|
new GLatLng(13.035359,80.154753),
|
||||||
|
new GLatLng(13.035950,80.153552),
|
||||||
|
new GLatLng(13.036253,80.153005),
|
||||||
|
new GLatLng(13.036242,80.151588),
|
||||||
|
new GLatLng(13.036200,80.149711),
|
||||||
|
new GLatLng(13.036200,80.148482),
|
||||||
|
new GLatLng(13.036216,80.146723),
|
||||||
|
new GLatLng(13.036420,80.144979),
|
||||||
|
new GLatLng(13.036624,80.143306),
|
||||||
|
new GLatLng(13.036843,80.141691),
|
||||||
|
new GLatLng(13.037089,80.140125),
|
||||||
|
new GLatLng(13.037298,80.138676),
|
||||||
|
new GLatLng(13.037507,80.137078),
|
||||||
|
new GLatLng(13.037585,80.136702),
|
||||||
|
new GLatLng(13.038024,80.135329),
|
||||||
|
new GLatLng(13.038657,80.133773),
|
||||||
|
new GLatLng(13.039143,80.132518),
|
||||||
|
new GLatLng(13.039937,80.130367),
|
||||||
|
new GLatLng(13.040664,80.128484),
|
||||||
|
new GLatLng(13.041280,80.126912),
|
||||||
|
new GLatLng(13.042038,80.125152),
|
||||||
|
new GLatLng(13.042869,80.123280),
|
||||||
|
new GLatLng(13.043580,80.121435),
|
||||||
|
new GLatLng(13.044369,80.119573),
|
||||||
|
new GLatLng(13.044991,80.117712),
|
||||||
|
new GLatLng(13.045215,80.117041),
|
||||||
|
new GLatLng(13.045592,80.117562),
|
||||||
|
new GLatLng(13.045910,80.118216),
|
||||||
|
new GLatLng(13.046318,80.118989),
|
||||||
|
new GLatLng(13.047050,80.119708),
|
||||||
|
new GLatLng(13.047922,80.120330),
|
||||||
|
new GLatLng(13.048790,80.120872),
|
||||||
|
new GLatLng(13.049694,80.121451),
|
||||||
|
new GLatLng(13.050551,80.121987),
|
||||||
|
new GLatLng(13.051413,80.122556),
|
||||||
|
new GLatLng(13.052349,80.123248),
|
||||||
|
new GLatLng(13.052605,80.123388),
|
||||||
|
new GLatLng(13.052892,80.123532),
|
||||||
|
new GLatLng(13.053472,80.123763),
|
||||||
|
new GLatLng(13.054126,80.123886),
|
||||||
|
new GLatLng(13.054429,80.123677),
|
||||||
|
new GLatLng(13.054491,80.123200),
|
||||||
|
], "#ff0000" ,3,0.8, 80);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
// Poonamalle bypass uo to ORR junction
|
||||||
|
// maduravoil New5C
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
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" , 2 ,0.8, 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" , 2 ,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),
|
||||||
|
], "#ff0000" , 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>
|
||||||
807
telegram-bot/map_pages/map28.html
Normal file
807
telegram-bot/map_pages/map28.html
Normal file
@@ -0,0 +1,807 @@
|
|||||||
|
<!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=windows-1252">
|
||||||
|
|
||||||
|
|
||||||
|
<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(13.054815,80.124686), 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 = "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(13.113315,80.227524, rmark28, '1.0', 'Route no:28 - mugugan temple ');
|
||||||
|
newpoints[1] = new Array(13.114393,80.224547, rmark28, '1.0', 'Route no:28 - Thiruvalluvar Thirumanamandapam ');
|
||||||
|
newpoints[2] = new Array(13.114664,80.223859, rmark28, '1.0', 'Route no:28 - Periyar Nagar ');
|
||||||
|
newpoints[3] = new Array(13.115114,80.222687, rmark28, '1.0', 'Route no:28 - Perumal Koil ');
|
||||||
|
newpoints[4] = new Array(13.115822,80.219408, rmark28, '1.0', 'Route no:28 - Kamban Nagar ');
|
||||||
|
newpoints[5] = new Array(13.117917,80.219427, rmark28, '1.0', 'Route no:28 - E.B ');
|
||||||
|
newpoints[6] = new Array(13.118585,80.225975, rmark28, '1.0', 'Route no:28 - Shanmugam Mahal ');
|
||||||
|
newpoints[7] = new Array(13.126012,80.206587, rmark28, '1.0', 'Route no:28 - Sri Serndhaiyan Mahal AC ');
|
||||||
|
newpoints[8] = new Array(13.123363,80.201907, rmark28, '1.0', 'Route no:28 - Senthil Nagar ');
|
||||||
|
newpoints[9] = new Array(13.105656,80.194638, rmark28, '1.0', 'Route no:28 - Thathankuppam ');
|
||||||
|
newpoints[10]= new Array(13.087339,80.193214, rmark28, '1.0', 'Route no:28 - Kalyan Jewalrs ');
|
||||||
|
newpoints[11]= new Array(13.087454,80.191959, rmark28, '1.0', 'Route no:28 - Collector Nagar ');
|
||||||
|
newpoints[12]= new Array(13.087921,80.185755, rmark28, '1.0', 'Route no:28 - Cheriyan Hospital ');
|
||||||
|
newpoints[13]= new Array(13.088221,80.179126, rmark28, '1.0', 'Route no:28 - Golden Flats ');
|
||||||
|
newpoints[14]= new Array(13.038680,80.045138, ritwflag, '1.0', 'Route no:28 - ritwflag, ');
|
||||||
|
newpoints[15]= new Array(13.038680,80.045138, pole, '1.0', 'Route no:28 - pole, ');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Route 28 Agaram-anna nagar to RIT)
|
||||||
|
|
||||||
|
var poly =new GPolyline([new GLatLng(13.115889, 80.231599),
|
||||||
|
new GLatLng(13.115607, 80.231540),
|
||||||
|
new GLatLng(13.114984, 80.231516),
|
||||||
|
new GLatLng(13.114339, 80.231454),
|
||||||
|
new GLatLng(13.113644, 80.231513),
|
||||||
|
new GLatLng(13.113067, 80.231575),
|
||||||
|
new GLatLng(13.112442, 80.231730),
|
||||||
|
new GLatLng(13.112442, 80.231730),
|
||||||
|
new GLatLng(13.112412, 80.231125),
|
||||||
|
new GLatLng(13.112483, 80.230634),
|
||||||
|
new GLatLng(13.112843, 80.229210),
|
||||||
|
new GLatLng(13.113075, 80.228403),
|
||||||
|
new GLatLng(13.113234, 80.227832),
|
||||||
|
new GLatLng(13.113315, 80.227524),
|
||||||
|
new GLatLng(13.113381, 80.227223),
|
||||||
|
new GLatLng(13.113961, 80.225640),
|
||||||
|
new GLatLng(13.114404, 80.224550),
|
||||||
|
new GLatLng(13.114393, 80.224547),
|
||||||
|
new GLatLng(13.114664, 80.223859),
|
||||||
|
new GLatLng(13.115112, 80.222758),
|
||||||
|
new GLatLng(13.115114, 80.222687),
|
||||||
|
new GLatLng(13.115541, 80.221602),
|
||||||
|
new GLatLng(13.115807, 80.220826),
|
||||||
|
new GLatLng(13.115822, 80.219408),
|
||||||
|
new GLatLng(13.116711, 80.219265),
|
||||||
|
new GLatLng(13.117090, 80.219242),
|
||||||
|
new GLatLng(13.117917, 80.219427),
|
||||||
|
new GLatLng(13.118002, 80.220195),
|
||||||
|
new GLatLng(13.117641, 80.221065),
|
||||||
|
new GLatLng(13.117427, 80.221599),
|
||||||
|
new GLatLng(13.116986, 80.222471),
|
||||||
|
new GLatLng(13.116756, 80.222948),
|
||||||
|
new GLatLng(13.116529, 80.224211),
|
||||||
|
new GLatLng(13.116419, 80.224933),
|
||||||
|
new GLatLng(13.117362, 80.224909),
|
||||||
|
new GLatLng(13.117501, 80.224937),
|
||||||
|
new GLatLng(13.118133, 80.225546),
|
||||||
|
new GLatLng(13.118585, 80.225975),
|
||||||
|
new GLatLng(13.119390, 80.225155),
|
||||||
|
new GLatLng(13.120652, 80.224083),
|
||||||
|
new GLatLng(13.122123, 80.223646),
|
||||||
|
new GLatLng(13.122536, 80.223448),
|
||||||
|
new GLatLng(13.123628, 80.222590),
|
||||||
|
new GLatLng(13.124161, 80.221941),
|
||||||
|
new GLatLng(13.124950, 80.220820),
|
||||||
|
new GLatLng(13.126085, 80.219301),
|
||||||
|
new GLatLng(13.127942, 80.216813),
|
||||||
|
new GLatLng(13.129676, 80.214657),
|
||||||
|
new GLatLng(13.129921, 80.214381),
|
||||||
|
new GLatLng(13.130181, 80.213800),
|
||||||
|
new GLatLng(13.129784, 80.213306),
|
||||||
|
new GLatLng(13.129553, 80.212970),
|
||||||
|
new GLatLng(13.128261, 80.210592),
|
||||||
|
new GLatLng(13.126798, 80.207963),
|
||||||
|
new GLatLng(13.126012, 80.206587),
|
||||||
|
new GLatLng(13.124672, 80.204090),
|
||||||
|
new GLatLng(13.123363, 80.201907),
|
||||||
|
new GLatLng(13.122615, 80.200783),
|
||||||
|
new GLatLng(13.121892, 80.200169),
|
||||||
|
new GLatLng(13.119969, 80.199203),
|
||||||
|
new GLatLng(13.118569, 80.198355),
|
||||||
|
new GLatLng(13.117514, 80.197872),
|
||||||
|
new GLatLng(13.114673, 80.197475),
|
||||||
|
new GLatLng(13.111820, 80.197132),
|
||||||
|
new GLatLng(13.110253, 80.196907),
|
||||||
|
new GLatLng(13.109845, 80.196746),
|
||||||
|
new GLatLng(13.108069, 80.195813),
|
||||||
|
new GLatLng(13.106450, 80.194943),
|
||||||
|
new GLatLng(13.105656, 80.194638),
|
||||||
|
new GLatLng(13.104895, 80.194518),
|
||||||
|
new GLatLng(13.102000, 80.194357),
|
||||||
|
new GLatLng(13.100871, 80.194432),
|
||||||
|
new GLatLng(13.099972, 80.194818),
|
||||||
|
new GLatLng(13.099272, 80.195397),
|
||||||
|
new GLatLng(13.098759, 80.196404),
|
||||||
|
new GLatLng(13.098435, 80.197691),
|
||||||
|
new GLatLng(13.097936, 80.198314),
|
||||||
|
new GLatLng(13.097212, 80.198607),
|
||||||
|
new GLatLng(13.094359, 80.198607),
|
||||||
|
new GLatLng(13.092060, 80.198586),
|
||||||
|
new GLatLng(13.089186, 80.198565),
|
||||||
|
new GLatLng(13.087208, 80.198552),
|
||||||
|
new GLatLng(13.087276, 80.196685),
|
||||||
|
new GLatLng(13.087318, 80.194700),
|
||||||
|
new GLatLng(13.087339, 80.193214),
|
||||||
|
new GLatLng(13.087454, 80.191959),
|
||||||
|
new GLatLng(13.087921, 80.185755),
|
||||||
|
new GLatLng(13.088033, 80.183546),
|
||||||
|
new GLatLng(13.088122, 80.182210),
|
||||||
|
new GLatLng(13.088190, 80.180762),
|
||||||
|
new GLatLng(13.088221, 80.179126),
|
||||||
|
new GLatLng(13.088237, 80.177163),
|
||||||
|
new GLatLng(13.088420, 80.174949),
|
||||||
|
new GLatLng(13.088493, 80.173275),
|
||||||
|
new GLatLng(13.088766, 80.169188),
|
||||||
|
new GLatLng(13.088923, 80.165540),
|
||||||
|
new GLatLng(13.089195, 80.161452),
|
||||||
|
new GLatLng(13.087586, 80.161366),
|
||||||
|
new GLatLng(13.085287, 80.161581),
|
||||||
|
new GLatLng(13.084733, 80.161602),
|
||||||
|
new GLatLng(13.080822, 80.161449),
|
||||||
|
new GLatLng(13.076475, 80.161224),
|
||||||
|
new GLatLng(13.072640, 80.161138),
|
||||||
|
new GLatLng(13.069016, 80.161065),
|
||||||
|
new GLatLng(13.065870, 80.160968),
|
||||||
|
new GLatLng(13.061394, 80.161010),
|
||||||
|
new GLatLng(13.060537, 80.161149),
|
||||||
|
new GLatLng(13.060290, 80.161505),
|
||||||
|
new GLatLng(13.060332, 80.161875),
|
||||||
|
new GLatLng(13.060672, 80.162122),
|
||||||
|
new GLatLng(13.061148, 80.161961),
|
||||||
|
new GLatLng(13.061289, 80.161771),
|
||||||
|
new GLatLng(13.061377, 80.160268),
|
||||||
|
new GLatLng(13.061615, 80.158081),
|
||||||
|
new GLatLng(13.061563, 80.157518),
|
||||||
|
new GLatLng(13.060884, 80.156136),
|
||||||
|
], "#0000ff" ,3,1.0, 100);map.addOverlay(poly);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Mdhuravoil Roundatana to Poonamalle bypass bigining
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.060884,80.156136),
|
||||||
|
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),
|
||||||
|
], "#0000ff" , 3 ,1.0, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
// Poonamalle bypass uo to ORR junction
|
||||||
|
var poly = new GPolyline([
|
||||||
|
|
||||||
|
new GLatLng(13.054653,80.123897),
|
||||||
|
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),
|
||||||
|
], "#0000ff" , 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),
|
||||||
|
], "#0000ff" ,3 ,1.0, 80); map.addOverlay(poly);
|
||||||
|
|
||||||
|
// Poonamalle High Road to RIT
|
||||||
|
//
|
||||||
|
var poly = new GPolyline([
|
||||||
|
new GLatLng(13.035944,80.043705),
|
||||||
|
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),
|
||||||
|
], "#0000ff" , 3 ,1.0, 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>
|
||||||
167
telegram-bot/merge_map_data.py
Normal file
167
telegram-bot/merge_map_data.py
Normal file
@@ -0,0 +1,167 @@
|
|||||||
|
"""
|
||||||
|
Merge scraped map coordinates into the existing bus_routes.json.
|
||||||
|
|
||||||
|
Reads:
|
||||||
|
- bus_routes.json (from scrape_bus_routes.py — has route names, timings, stop names)
|
||||||
|
- map_coordinates.json (from scrape_map_coordinates.py — has exact GPS coords + polylines)
|
||||||
|
|
||||||
|
Matches routes by number (e.g. R1 ↔ route with number "R1").
|
||||||
|
For each stop, finds the closest matching stop name from the map data and
|
||||||
|
writes the exact lat/lng. Adds a "polyline" array to each route.
|
||||||
|
"""
|
||||||
|
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
import re
|
||||||
|
from difflib import SequenceMatcher
|
||||||
|
|
||||||
|
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
BUS_ROUTES_PATH = os.path.abspath(os.path.join(CURRENT_DIR, "..", "backend", "src", "main", "resources", "bus_routes.json"))
|
||||||
|
MAP_COORDS_PATH = os.path.join(CURRENT_DIR, "map_coordinates.json")
|
||||||
|
|
||||||
|
|
||||||
|
def normalize(name: str) -> str:
|
||||||
|
"""Normalize a stop name for fuzzy matching."""
|
||||||
|
name = name.lower().strip()
|
||||||
|
# Remove common suffixes/words
|
||||||
|
name = re.sub(r'\b(bus\s*stop|bus\s*depot|railway\s*station|signal|junction|market|stop)\b', '', name)
|
||||||
|
name = re.sub(r'\(.*?\)', '', name)
|
||||||
|
name = re.sub(r'[^a-z0-9\s]', '', name)
|
||||||
|
return ' '.join(name.split())
|
||||||
|
|
||||||
|
|
||||||
|
def similarity(a: str, b: str) -> float:
|
||||||
|
return SequenceMatcher(None, normalize(a), normalize(b)).ratio()
|
||||||
|
|
||||||
|
|
||||||
|
def find_best_match(stop_name: str, map_stops: list[dict], threshold: float = 0.5) -> dict | None:
|
||||||
|
"""Find the best matching stop from map data by name similarity."""
|
||||||
|
best = None
|
||||||
|
best_score = 0
|
||||||
|
norm_name = normalize(stop_name)
|
||||||
|
|
||||||
|
for ms in map_stops:
|
||||||
|
norm_map = normalize(ms["name"])
|
||||||
|
|
||||||
|
# Exact match
|
||||||
|
if norm_name == norm_map:
|
||||||
|
return ms
|
||||||
|
|
||||||
|
# Check if one contains the other
|
||||||
|
if norm_name in norm_map or norm_map in norm_name:
|
||||||
|
score = 0.85
|
||||||
|
else:
|
||||||
|
score = SequenceMatcher(None, norm_name, norm_map).ratio()
|
||||||
|
|
||||||
|
if score > best_score:
|
||||||
|
best_score = score
|
||||||
|
best = ms
|
||||||
|
|
||||||
|
if best_score >= threshold:
|
||||||
|
return best
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
def merge():
|
||||||
|
if not os.path.exists(BUS_ROUTES_PATH):
|
||||||
|
print(f"Error: {BUS_ROUTES_PATH} not found")
|
||||||
|
return
|
||||||
|
|
||||||
|
if not os.path.exists(MAP_COORDS_PATH):
|
||||||
|
print(f"Error: {MAP_COORDS_PATH} not found")
|
||||||
|
return
|
||||||
|
|
||||||
|
with open(BUS_ROUTES_PATH, "r", encoding="utf-8") as f:
|
||||||
|
routes = json.load(f)
|
||||||
|
|
||||||
|
with open(MAP_COORDS_PATH, "r", encoding="utf-8") as f:
|
||||||
|
map_data = json.load(f)
|
||||||
|
|
||||||
|
print(f"Loaded {len(routes)} bus routes and {len(map_data)} map routes")
|
||||||
|
|
||||||
|
matched_routes = 0
|
||||||
|
matched_stops = 0
|
||||||
|
total_stops = 0
|
||||||
|
|
||||||
|
for route in routes:
|
||||||
|
route_num = route.get("number", "") # e.g. "R01", "R29A"
|
||||||
|
|
||||||
|
# Try exact key match first
|
||||||
|
map_route = map_data.get(route_num)
|
||||||
|
|
||||||
|
# Try stripping leading zeros (e.g. "R01" -> "R1")
|
||||||
|
if not map_route:
|
||||||
|
clean_num = re.sub(r'^R0+(\d+)', r'R\1', route_num)
|
||||||
|
map_route = map_data.get(clean_num)
|
||||||
|
|
||||||
|
# Try without letter suffix (e.g. "R01A" -> "R1")
|
||||||
|
if not map_route:
|
||||||
|
clean_num = re.sub(r'^R0+(\d+)', r'R\1', route_num)
|
||||||
|
base_num = re.sub(r'[A-Za-z]+$', '', clean_num)
|
||||||
|
map_route = map_data.get(base_num)
|
||||||
|
|
||||||
|
# Always clean up dummy/defaulted RIT Campus coordinates first for all stops in the route
|
||||||
|
for stop in route.get("stops", []):
|
||||||
|
if stop.get("lat") == 13.0118 and stop.get("lng") == 80.0214 and not "rit" in stop["name"].lower():
|
||||||
|
stop.pop("lat", None)
|
||||||
|
stop.pop("lng", None)
|
||||||
|
|
||||||
|
if not map_route:
|
||||||
|
print(f" [WARN] No map data for route {route_num} ({route.get('name', '')}) - Cleaned dummy coords only.")
|
||||||
|
# Set route-level from/to coordinates from first/last valid stop
|
||||||
|
valid_stops = [s for s in route.get("stops", []) if s.get("lat")]
|
||||||
|
if valid_stops:
|
||||||
|
route["from_lat"] = valid_stops[0]["lat"]
|
||||||
|
route["from_lng"] = valid_stops[0]["lng"]
|
||||||
|
route["to_lat"] = valid_stops[-1]["lat"]
|
||||||
|
route["to_lng"] = valid_stops[-1]["lng"]
|
||||||
|
else:
|
||||||
|
route["from_lat"] = 13.0118
|
||||||
|
route["from_lng"] = 80.0214
|
||||||
|
route["to_lat"] = 13.0118
|
||||||
|
route["to_lng"] = 80.0214
|
||||||
|
continue
|
||||||
|
|
||||||
|
matched_routes += 1
|
||||||
|
map_stops = map_route.get("stops", [])
|
||||||
|
polyline = map_route.get("polyline", [])
|
||||||
|
|
||||||
|
# Match each stop against map stops
|
||||||
|
for stop in route.get("stops", []):
|
||||||
|
total_stops += 1
|
||||||
|
match = find_best_match(stop["name"], map_stops)
|
||||||
|
if match:
|
||||||
|
stop["lat"] = match["lat"]
|
||||||
|
stop["lng"] = match["lng"]
|
||||||
|
matched_stops += 1
|
||||||
|
|
||||||
|
# Set route-level from/to coordinates from first/last valid stop
|
||||||
|
valid_stops = [s for s in route.get("stops", []) if s.get("lat")]
|
||||||
|
if valid_stops:
|
||||||
|
route["from_lat"] = valid_stops[0]["lat"]
|
||||||
|
route["from_lng"] = valid_stops[0]["lng"]
|
||||||
|
route["to_lat"] = valid_stops[-1]["lat"]
|
||||||
|
route["to_lng"] = valid_stops[-1]["lng"]
|
||||||
|
else:
|
||||||
|
route["from_lat"] = 13.0118
|
||||||
|
route["from_lng"] = 80.0214
|
||||||
|
route["to_lat"] = 13.0118
|
||||||
|
route["to_lng"] = 80.0214
|
||||||
|
|
||||||
|
# Add the polyline path
|
||||||
|
if polyline:
|
||||||
|
route["polyline"] = polyline
|
||||||
|
|
||||||
|
# Save enriched data
|
||||||
|
with open(BUS_ROUTES_PATH, "w", encoding="utf-8") as f:
|
||||||
|
json.dump(routes, f, indent=2, ensure_ascii=False)
|
||||||
|
|
||||||
|
print(f"\nMerge complete!")
|
||||||
|
print(f" Matched routes: {matched_routes}/{len(routes)}")
|
||||||
|
print(f" Matched stops: {matched_stops}/{total_stops}")
|
||||||
|
print(f" Output: {BUS_ROUTES_PATH}")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
merge()
|
||||||
|
|
||||||
168
telegram-bot/scrape_map_coordinates.py
Normal file
168
telegram-bot/scrape_map_coordinates.py
Normal file
@@ -0,0 +1,168 @@
|
|||||||
|
"""
|
||||||
|
Save all RIT Transport map pages (map01.php - map29.php) to local HTML files.
|
||||||
|
Uses read_url_content results that are already saved, or can be run after
|
||||||
|
manually downloading with a tool that handles JS challenge pages.
|
||||||
|
|
||||||
|
This script reads downloaded .md content files and re-saves them as .html
|
||||||
|
for parsing by scrape_map_coordinates.py.
|
||||||
|
"""
|
||||||
|
|
||||||
|
import os
|
||||||
|
import glob
|
||||||
|
import re
|
||||||
|
import json
|
||||||
|
|
||||||
|
STEPS_DIR = r"C:\Users\dorut\.gemini\antigravity-ide\brain\3efb5b3c-ca4b-435b-a851-7cc558e7691b\.system_generated\steps"
|
||||||
|
OUTPUT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "map_pages")
|
||||||
|
MAP_COORDS_OUTPUT = os.path.join(os.path.dirname(os.path.abspath(__file__)), "map_coordinates.json")
|
||||||
|
|
||||||
|
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
||||||
|
|
||||||
|
|
||||||
|
def extract_stops(js_text: str) -> list:
|
||||||
|
stops = []
|
||||||
|
pattern = re.compile(
|
||||||
|
r"new\s+Array\s*\(\s*"
|
||||||
|
r"([\d.]+)\s*,\s*([\d.]+)\s*,"
|
||||||
|
r"\s*\w+\s*,"
|
||||||
|
r"\s*'[^']*'\s*,"
|
||||||
|
r"\s*'([^']*)'"
|
||||||
|
r"\s*\)",
|
||||||
|
re.IGNORECASE
|
||||||
|
)
|
||||||
|
for m in pattern.finditer(js_text):
|
||||||
|
lat = float(m.group(1))
|
||||||
|
lng = float(m.group(2))
|
||||||
|
label = m.group(3).strip()
|
||||||
|
label_match = re.match(r"Route\s+no\s*:\s*(\d+)\s*-\s*(.*)", label, re.IGNORECASE)
|
||||||
|
if label_match:
|
||||||
|
route_num = label_match.group(1).strip()
|
||||||
|
stop_name = label_match.group(2).strip()
|
||||||
|
if stop_name:
|
||||||
|
stops.append({"route_num": route_num, "name": stop_name, "lat": lat, "lng": lng})
|
||||||
|
return stops
|
||||||
|
|
||||||
|
|
||||||
|
def extract_polylines(js_text: str) -> list:
|
||||||
|
polylines = []
|
||||||
|
poly_pattern = re.compile(r"GPolyline\s*\(\s*\[(.*?)\]", re.DOTALL | re.IGNORECASE)
|
||||||
|
coord_pattern = re.compile(r"GLatLng\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*\)")
|
||||||
|
for poly_match in poly_pattern.finditer(js_text):
|
||||||
|
block = poly_match.group(1)
|
||||||
|
coords = []
|
||||||
|
for coord_match in coord_pattern.finditer(block):
|
||||||
|
coords.append([float(coord_match.group(1)), float(coord_match.group(2))])
|
||||||
|
if coords:
|
||||||
|
polylines.append(coords)
|
||||||
|
return polylines
|
||||||
|
|
||||||
|
|
||||||
|
def merge_polylines(polylines):
|
||||||
|
if not polylines:
|
||||||
|
return []
|
||||||
|
merged = list(polylines[0])
|
||||||
|
for seg in polylines[1:]:
|
||||||
|
if not seg:
|
||||||
|
continue
|
||||||
|
if merged and seg:
|
||||||
|
last = merged[-1]
|
||||||
|
first = seg[0]
|
||||||
|
if abs(last[0] - first[0]) < 0.001 and abs(last[1] - first[1]) < 0.001:
|
||||||
|
seg = seg[1:]
|
||||||
|
merged.extend(seg)
|
||||||
|
return merged
|
||||||
|
|
||||||
|
|
||||||
|
def find_map_content_files():
|
||||||
|
"""Find all content.md files from read_url_content that contain ritRouteMap."""
|
||||||
|
results = {}
|
||||||
|
for step_dir in glob.glob(os.path.join(STEPS_DIR, "*")):
|
||||||
|
content_file = os.path.join(step_dir, "content.md")
|
||||||
|
if os.path.exists(content_file):
|
||||||
|
try:
|
||||||
|
with open(content_file, "r", encoding="utf-8") as f:
|
||||||
|
content = f.read()
|
||||||
|
# Check if this is a ritRouteMap page
|
||||||
|
source_match = re.search(r"Source:\s*https?://fit25\.com/ritRouteMap/map(\d+)\.php", content)
|
||||||
|
if source_match:
|
||||||
|
map_num = int(source_match.group(1))
|
||||||
|
results[map_num] = content
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
return results
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
print("Searching for downloaded map page content files...")
|
||||||
|
content_files = find_map_content_files()
|
||||||
|
print(f"Found {len(content_files)} map page(s): {sorted(content_files.keys())}")
|
||||||
|
|
||||||
|
all_routes = {}
|
||||||
|
|
||||||
|
for map_num in sorted(content_files.keys()):
|
||||||
|
content = content_files[map_num]
|
||||||
|
print(f"\nParsing map{map_num:02d}.php ...")
|
||||||
|
|
||||||
|
stops = extract_stops(content)
|
||||||
|
polylines = extract_polylines(content)
|
||||||
|
merged_poly = merge_polylines(polylines)
|
||||||
|
|
||||||
|
if not stops and not polylines:
|
||||||
|
print(f" -> No data found")
|
||||||
|
continue
|
||||||
|
|
||||||
|
route_nums = set()
|
||||||
|
for s in stops:
|
||||||
|
rn = s["route_num"]
|
||||||
|
route_nums.add(rn)
|
||||||
|
key = f"R{rn}"
|
||||||
|
if key not in all_routes:
|
||||||
|
all_routes[key] = {"stops": [], "polyline": []}
|
||||||
|
all_routes[key]["stops"].append({
|
||||||
|
"name": s["name"],
|
||||||
|
"lat": s["lat"],
|
||||||
|
"lng": s["lng"]
|
||||||
|
})
|
||||||
|
|
||||||
|
if merged_poly:
|
||||||
|
if len(route_nums) == 1:
|
||||||
|
rn = list(route_nums)[0]
|
||||||
|
key = f"R{rn}"
|
||||||
|
existing = all_routes.get(key, {}).get("polyline", [])
|
||||||
|
if existing:
|
||||||
|
all_routes[key]["polyline"] = merge_polylines([existing, merged_poly])
|
||||||
|
else:
|
||||||
|
all_routes[key]["polyline"] = merged_poly
|
||||||
|
else:
|
||||||
|
for rn in sorted(route_nums):
|
||||||
|
key = f"R{rn}"
|
||||||
|
if not all_routes[key].get("polyline"):
|
||||||
|
all_routes[key]["polyline"] = merged_poly
|
||||||
|
break
|
||||||
|
|
||||||
|
total_waypoints = sum(len(p) for p in polylines)
|
||||||
|
print(f" -> {len(stops)} stops, {len(polylines)} polyline segments ({total_waypoints} waypoints)")
|
||||||
|
print(f" -> Routes: {sorted(route_nums)}")
|
||||||
|
|
||||||
|
# Deduplicate stops
|
||||||
|
for key, data in all_routes.items():
|
||||||
|
seen = set()
|
||||||
|
unique = []
|
||||||
|
for s in data["stops"]:
|
||||||
|
ident = (s["name"], round(s["lat"], 5), round(s["lng"], 5))
|
||||||
|
if ident not in seen:
|
||||||
|
seen.add(ident)
|
||||||
|
unique.append(s)
|
||||||
|
data["stops"] = unique
|
||||||
|
|
||||||
|
with open(MAP_COORDS_OUTPUT, "w", encoding="utf-8") as f:
|
||||||
|
json.dump(all_routes, f, indent=2, ensure_ascii=False)
|
||||||
|
|
||||||
|
total_stops = sum(len(d["stops"]) for d in all_routes.values())
|
||||||
|
total_wp = sum(len(d["polyline"]) for d in all_routes.values())
|
||||||
|
print(f"\nDone! Scraped {len(all_routes)} routes, {total_stops} stops, {total_wp} polyline waypoints")
|
||||||
|
print(f"Output: {MAP_COORDS_OUTPUT}")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
@@ -21,6 +21,16 @@ logging.basicConfig(
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Load env variables from .env if present
|
||||||
|
env_path = os.path.join(os.path.dirname(__file__), ".env")
|
||||||
|
if os.path.exists(env_path):
|
||||||
|
with open(env_path, "r", encoding="utf-8") as env_file:
|
||||||
|
for line in env_file:
|
||||||
|
line = line.strip()
|
||||||
|
if line and not line.startswith("#") and "=" in line:
|
||||||
|
key, val = line.split("=", 1)
|
||||||
|
os.environ[key.strip()] = val.strip()
|
||||||
|
|
||||||
# Load Configuration
|
# Load Configuration
|
||||||
CONFIG_PATH = os.path.join(os.path.dirname(__file__), "config.json")
|
CONFIG_PATH = os.path.join(os.path.dirname(__file__), "config.json")
|
||||||
|
|
||||||
@@ -122,8 +132,8 @@ def telegram_polling_thread():
|
|||||||
# Re-load config dynamic updates
|
# Re-load config dynamic updates
|
||||||
current_config = load_config()
|
current_config = load_config()
|
||||||
helpers = current_config.get("helper_chat_ids", [])
|
helpers = current_config.get("helper_chat_ids", [])
|
||||||
backend_url = current_config.get("spring_backend_url")
|
backend_url = os.environ.get("SPRING_BACKEND_URL") or current_config.get("spring_backend_url")
|
||||||
bot_token = current_config.get("telegram_bot_token")
|
bot_token = os.environ.get("TELEGRAM_BOT_TOKEN") or current_config.get("telegram_bot_token")
|
||||||
|
|
||||||
url = f"https://api.telegram.org/bot{bot_token}/getUpdates"
|
url = f"https://api.telegram.org/bot{bot_token}/getUpdates"
|
||||||
params = {"offset": offset, "timeout": 20}
|
params = {"offset": offset, "timeout": 20}
|
||||||
|
|||||||
Reference in New Issue
Block a user