Delete unused map and coordinates scraper scripts
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,203 +0,0 @@
|
|||||||
"""
|
|
||||||
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()
|
|
||||||
@@ -1,217 +0,0 @@
|
|||||||
import os
|
|
||||||
import json
|
|
||||||
import time
|
|
||||||
import requests
|
|
||||||
import re
|
|
||||||
|
|
||||||
# File Paths
|
|
||||||
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"))
|
|
||||||
CACHE_PATH = os.path.join(CURRENT_DIR, "coordinates_cache.json")
|
|
||||||
|
|
||||||
# Domain restriction (Chennai, Tiruvallur, Kanchipuram districts)
|
|
||||||
MIN_LAT, MAX_LAT = 12.7, 13.4
|
|
||||||
MIN_LNG, MAX_LNG = 79.6, 80.4
|
|
||||||
|
|
||||||
def is_valid_coordinate(lat, lng):
|
|
||||||
return MIN_LAT <= lat <= MAX_LAT and MIN_LNG <= lng <= MAX_LNG
|
|
||||||
|
|
||||||
# Predefined coordinates for hard-to-geocode stops or fallback landmarks in Chennai
|
|
||||||
STATIC_COORDINATES = {
|
|
||||||
"RIT Campus": {"lat": 13.0118, "lng": 80.0214},
|
|
||||||
"Rajalakshmi Institute of Technology": {"lat": 13.0118, "lng": 80.0214},
|
|
||||||
"Kuthambakkam": {"lat": 13.0125, "lng": 80.0210},
|
|
||||||
"Lift Gate": {"lat": 13.1610, "lng": 80.3015},
|
|
||||||
"Wimco Market": {"lat": 13.1782, "lng": 80.3021},
|
|
||||||
"Ajax": {"lat": 13.1685, "lng": 80.3005},
|
|
||||||
"Theradi": {"lat": 13.1620, "lng": 80.2995},
|
|
||||||
"Apollo": {"lat": 13.1189, "lng": 80.2874},
|
|
||||||
"Mint": {"lat": 13.1075, "lng": 80.2785},
|
|
||||||
"Parry's": {"lat": 13.0898, "lng": 80.2882},
|
|
||||||
"Central": {"lat": 13.0827, "lng": 80.2707},
|
|
||||||
"Egmore": {"lat": 13.0792, "lng": 80.2598},
|
|
||||||
"Dasprakash": {"lat": 13.0811, "lng": 80.2524},
|
|
||||||
"Ice House Police Station": {"lat": 13.0520, "lng": 80.2762},
|
|
||||||
"Choolaimedu Subway": {"lat": 13.0645, "lng": 80.2224},
|
|
||||||
"Kellys Signal": {"lat": 13.0820, "lng": 80.2435},
|
|
||||||
"Anna Nagar Roundtana": {"lat": 13.0850, "lng": 80.2101},
|
|
||||||
"VR Mall": {"lat": 13.0722, "lng": 80.1989},
|
|
||||||
"Mogappair West depot": {"lat": 13.0805, "lng": 80.1654},
|
|
||||||
"Nolambur": {"lat": 13.0737, "lng": 80.1614},
|
|
||||||
"MGR University": {"lat": 13.0337, "lng": 80.2014},
|
|
||||||
"Guindy": {"lat": 13.0067, "lng": 80.2206},
|
|
||||||
"Butt Road": {"lat": 13.0084, "lng": 80.1987},
|
|
||||||
"Porur": {"lat": 13.0382, "lng": 80.1565},
|
|
||||||
"Ayyapanthangal": {"lat": 13.0410, "lng": 80.1412},
|
|
||||||
"Poonamallee": {"lat": 13.0473, "lng": 80.0945},
|
|
||||||
"Tambaram": {"lat": 12.9238, "lng": 80.1214},
|
|
||||||
"Avadi": {"lat": 13.1166, "lng": 80.1013},
|
|
||||||
"Chrompet": {"lat": 12.9610, "lng": 80.1462},
|
|
||||||
"Koyambedu": {"lat": 13.0728, "lng": 80.2019},
|
|
||||||
"Koyambedu Metro": {"lat": 13.0728, "lng": 80.2019},
|
|
||||||
"CMBT": {"lat": 13.0678, "lng": 80.2054},
|
|
||||||
"Aminjikarai": {"lat": 13.0734, "lng": 80.2195},
|
|
||||||
"Skywalk": {"lat": 13.0741, "lng": 80.2185},
|
|
||||||
"Maduravoyal": {"lat": 13.0673, "lng": 80.1627},
|
|
||||||
"Vanagaram": {"lat": 13.0636, "lng": 80.1548},
|
|
||||||
"Kasi Theatre": {"lat": 13.0305, "lng": 80.2132},
|
|
||||||
"Ashok Pillar": {"lat": 13.0336, "lng": 80.2114},
|
|
||||||
"Olympia": {"lat": 13.0135, "lng": 80.2155},
|
|
||||||
"Mandaveli": {"lat": 13.0238, "lng": 80.2687},
|
|
||||||
"Santhome": {"lat": 13.0336, "lng": 80.2785},
|
|
||||||
"Pattinapakkam": {"lat": 13.0287, "lng": 80.2788},
|
|
||||||
"Kovilampakkam": {"lat": 12.9510, "lng": 80.1874},
|
|
||||||
"Keelkattalai": {"lat": 12.9687, "lng": 80.2014},
|
|
||||||
"Madipakkam": {"lat": 12.9738, "lng": 80.2087},
|
|
||||||
"Nanganallur": {"lat": 12.9838, "lng": 80.1987},
|
|
||||||
"Saidapet": {"lat": 13.0238, "lng": 80.2287},
|
|
||||||
"KK Nagar": {"lat": 13.0373, "lng": 80.2045},
|
|
||||||
"Virugampakkam": {"lat": 13.0487, "lng": 80.1914},
|
|
||||||
"Ramapuram": {"lat": 13.0287, "lng": 80.1788},
|
|
||||||
"Tiruvallur": {"lat": 13.1438, "lng": 79.9087},
|
|
||||||
}
|
|
||||||
|
|
||||||
def load_cache():
|
|
||||||
if os.path.exists(CACHE_PATH):
|
|
||||||
try:
|
|
||||||
with open(CACHE_PATH, "r", encoding="utf-8") as f:
|
|
||||||
data = json.load(f)
|
|
||||||
# Clean coordinates that are outside the map route domain
|
|
||||||
cleaned = {}
|
|
||||||
for name, coords in data.items():
|
|
||||||
if is_valid_coordinate(coords["lat"], coords["lng"]):
|
|
||||||
cleaned[name] = coords
|
|
||||||
else:
|
|
||||||
print(f"Removing invalid cache entry for '{name}': {coords}")
|
|
||||||
return cleaned
|
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
return {}
|
|
||||||
|
|
||||||
def save_cache(cache):
|
|
||||||
with open(CACHE_PATH, "w", encoding="utf-8") as f:
|
|
||||||
json.dump(cache, f, indent=2)
|
|
||||||
|
|
||||||
def clean_name(name):
|
|
||||||
# Remove contents inside parentheses
|
|
||||||
name = re.sub(r'\(.*?\)', '', name)
|
|
||||||
# Remove descriptors like 'Route', 'Stop', 'Signal', 'Bunk', etc.
|
|
||||||
name = re.sub(r'\b(stop|signal|bunk|junction|crossing|stage|bus stop|market|railway station|station)\b', '', name, flags=re.IGNORECASE)
|
|
||||||
# Normalize whitespaces
|
|
||||||
return " ".join(name.split()).strip()
|
|
||||||
|
|
||||||
def geocode_nominatim(name):
|
|
||||||
# 1. Check static overrides first
|
|
||||||
cleaned = clean_name(name)
|
|
||||||
for key, coords in STATIC_COORDINATES.items():
|
|
||||||
if key.lower() == name.lower() or key.lower() == cleaned.lower():
|
|
||||||
return coords
|
|
||||||
|
|
||||||
# 2. Try clean geocoding
|
|
||||||
search_queries = [
|
|
||||||
f"{name}, Chennai, Tamil Nadu, India",
|
|
||||||
f"{cleaned}, Chennai, Tamil Nadu, India",
|
|
||||||
f"{cleaned}, Tamil Nadu, India"
|
|
||||||
]
|
|
||||||
|
|
||||||
headers = {
|
|
||||||
"User-Agent": "RITFreshersHubBusGeocoderConsolidator/2.0 (mail@ritchennai.edu.in)"
|
|
||||||
}
|
|
||||||
|
|
||||||
for query in search_queries:
|
|
||||||
try:
|
|
||||||
url = "https://nominatim.openstreetmap.org/search"
|
|
||||||
params = {"q": query, "format": "json", "limit": 1}
|
|
||||||
print(f"Requesting: {query} ...")
|
|
||||||
res = requests.get(url, headers=headers, params=params, timeout=10)
|
|
||||||
if res.status_code == 200:
|
|
||||||
data = res.json()
|
|
||||||
if data:
|
|
||||||
lat = float(data[0]["lat"])
|
|
||||||
lng = float(data[0]["lon"])
|
|
||||||
if is_valid_coordinate(lat, lng):
|
|
||||||
print(f"-> Found within domain: {lat}, {lng}")
|
|
||||||
return {"lat": lat, "lng": lng}
|
|
||||||
else:
|
|
||||||
print(f"-> Found but DISCARDED (outside domain): {lat}, {lng}")
|
|
||||||
# Rest to respect API limit
|
|
||||||
time.sleep(1.2)
|
|
||||||
except Exception as e:
|
|
||||||
print(f"Error querying {query}: {e}")
|
|
||||||
time.sleep(1.2)
|
|
||||||
|
|
||||||
# 3. Fallback keywords check
|
|
||||||
for key, coords in STATIC_COORDINATES.items():
|
|
||||||
if key.lower() in name.lower() or key.lower() in cleaned.lower():
|
|
||||||
print(f"-> Matching fallback keyword: '{key}' for '{name}'")
|
|
||||||
return coords
|
|
||||||
|
|
||||||
# Default fallback: RIT Campus coordinates
|
|
||||||
print(f"-> No match found for '{name}'. Defaulting to RIT Campus.")
|
|
||||||
return STATIC_COORDINATES["RIT Campus"]
|
|
||||||
|
|
||||||
def update_bus_routes_json(routes, cache):
|
|
||||||
# Enrich bus_routes.json
|
|
||||||
for r in routes:
|
|
||||||
from_coords = cache.get(r["from"], STATIC_COORDINATES["RIT Campus"])
|
|
||||||
to_coords = cache.get(r["to"], STATIC_COORDINATES["RIT Campus"])
|
|
||||||
r["from_lat"] = from_coords["lat"]
|
|
||||||
r["from_lng"] = from_coords["lng"]
|
|
||||||
r["to_lat"] = to_coords["lat"]
|
|
||||||
r["to_lng"] = to_coords["lng"]
|
|
||||||
|
|
||||||
for stop in r.get("stops", []):
|
|
||||||
stop_coords = cache.get(stop["name"], STATIC_COORDINATES["RIT Campus"])
|
|
||||||
stop["lat"] = stop_coords["lat"]
|
|
||||||
stop["lng"] = stop_coords["lng"]
|
|
||||||
|
|
||||||
# Write enriched data back
|
|
||||||
with open(BUS_ROUTES_PATH, "w", encoding="utf-8") as f:
|
|
||||||
json.dump(routes, f, indent=2)
|
|
||||||
|
|
||||||
def geocode_routes():
|
|
||||||
if not os.path.exists(BUS_ROUTES_PATH):
|
|
||||||
print(f"Error: {BUS_ROUTES_PATH} does not exist.")
|
|
||||||
return
|
|
||||||
|
|
||||||
with open(BUS_ROUTES_PATH, "r", encoding="utf-8") as f:
|
|
||||||
routes = json.load(f)
|
|
||||||
|
|
||||||
cache = load_cache()
|
|
||||||
|
|
||||||
# Save the cleaned cache to start
|
|
||||||
save_cache(cache)
|
|
||||||
|
|
||||||
# Write coordinates to the JSON immediately for any stops that are already in the cache!
|
|
||||||
update_bus_routes_json(routes, cache)
|
|
||||||
print("Initial cache applied to bus_routes.json.")
|
|
||||||
|
|
||||||
# Collect all unique stop names
|
|
||||||
unique_names = set()
|
|
||||||
for r in routes:
|
|
||||||
unique_names.add(r["from"])
|
|
||||||
unique_names.add(r["to"])
|
|
||||||
for stop in r.get("stops", []):
|
|
||||||
unique_names.add(stop["name"])
|
|
||||||
|
|
||||||
print(f"Total unique stops to geocode: {len(unique_names)}")
|
|
||||||
|
|
||||||
# Geocode each stop
|
|
||||||
count = 0
|
|
||||||
for name in sorted(unique_names):
|
|
||||||
if name not in cache:
|
|
||||||
coords = geocode_nominatim(name)
|
|
||||||
cache[name] = coords
|
|
||||||
count += 1
|
|
||||||
# Save cache and update JSON incrementally
|
|
||||||
save_cache(cache)
|
|
||||||
update_bus_routes_json(routes, cache)
|
|
||||||
print(f"Updated routes JSON with '{name}' ({coords['lat']}, {coords['lng']})")
|
|
||||||
|
|
||||||
# Final save
|
|
||||||
save_cache(cache)
|
|
||||||
update_bus_routes_json(routes, cache)
|
|
||||||
print("Geocoding process complete! bus_routes.json fully synchronized.")
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
geocode_routes()
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,907 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,848 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,853 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,736 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,803 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,678 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,769 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,797 +0,0 @@
|
|||||||
<!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>
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,846 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,728 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,940 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,853 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,755 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,943 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,762 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,741 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,827 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,950 +0,0 @@
|
|||||||
|
|
||||||
<!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>
|
|
||||||
@@ -1,769 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,795 +0,0 @@
|
|||||||
<!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>
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,784 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,968 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,848 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,834 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,807 +0,0 @@
|
|||||||
<!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>
|
|
||||||
@@ -1,167 +0,0 @@
|
|||||||
"""
|
|
||||||
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()
|
|
||||||
|
|
||||||
@@ -1,138 +0,0 @@
|
|||||||
import requests
|
|
||||||
import json
|
|
||||||
import re
|
|
||||||
import os
|
|
||||||
from urllib.parse import urljoin
|
|
||||||
from bs4 import BeautifulSoup
|
|
||||||
|
|
||||||
def scrape_routes():
|
|
||||||
base_url = "https://www.rittransport.com/"
|
|
||||||
index_url = urljoin(base_url, "js/51jan26.php")
|
|
||||||
|
|
||||||
print(f"Fetching index from {index_url}...")
|
|
||||||
res = requests.get(index_url)
|
|
||||||
res.encoding = 'utf-8'
|
|
||||||
soup = BeautifulSoup(res.text, 'html.parser')
|
|
||||||
|
|
||||||
routes = []
|
|
||||||
# Find table
|
|
||||||
table = soup.find('table')
|
|
||||||
if not table:
|
|
||||||
print("No table found on index page.")
|
|
||||||
return
|
|
||||||
|
|
||||||
rows = table.find_all('tr')
|
|
||||||
for row in rows:
|
|
||||||
cells = row.find_all('td')
|
|
||||||
if len(cells) < 4:
|
|
||||||
continue
|
|
||||||
|
|
||||||
sno = cells[0].get_text(strip=True)
|
|
||||||
rno = cells[1].get_text(strip=True)
|
|
||||||
rname = cells[2].get_text(strip=True)
|
|
||||||
|
|
||||||
# Link is in cells[3] (Timing column)
|
|
||||||
link_tag = cells[3].find('a')
|
|
||||||
if not link_tag or not link_tag.get('href'):
|
|
||||||
continue
|
|
||||||
|
|
||||||
href = link_tag.get('href')
|
|
||||||
detail_url = urljoin("https://www.rittransport.com/js/", href.strip())
|
|
||||||
|
|
||||||
start_time = cells[4].get_text(strip=True)
|
|
||||||
|
|
||||||
routes.append({
|
|
||||||
"number": rno,
|
|
||||||
"name": rname,
|
|
||||||
"detail_url": detail_url,
|
|
||||||
"start_time": start_time
|
|
||||||
})
|
|
||||||
|
|
||||||
print(f"Found {len(routes)} routes. Fetching details...")
|
|
||||||
|
|
||||||
detailed_routes = []
|
|
||||||
|
|
||||||
# Colors for frontend UI
|
|
||||||
colors = [
|
|
||||||
'#F97316', '#3B82F6', '#10B981', '#8B5CF6', '#EF4444',
|
|
||||||
'#EC4899', '#06B6D4', '#F59E0B', '#14B8A6', '#6366F1'
|
|
||||||
]
|
|
||||||
|
|
||||||
for i, r in enumerate(routes):
|
|
||||||
try:
|
|
||||||
detail_res = requests.get(r['detail_url'])
|
|
||||||
detail_res.encoding = 'utf-8'
|
|
||||||
html_content = detail_res.text
|
|
||||||
|
|
||||||
dsoup = BeautifulSoup(html_content, 'html.parser')
|
|
||||||
stops = []
|
|
||||||
detail_rows = dsoup.find_all('tr')
|
|
||||||
|
|
||||||
for drow in detail_rows:
|
|
||||||
tds = drow.find_all('td')
|
|
||||||
if len(tds) >= 2:
|
|
||||||
stop_name = tds[0].get_text(strip=True)
|
|
||||||
stop_time = tds[1].get_text(strip=True)
|
|
||||||
|
|
||||||
stop_name = re.sub(r'\s+', ' ', stop_name).strip()
|
|
||||||
stop_time = re.sub(r'\s+', ' ', stop_time).strip()
|
|
||||||
|
|
||||||
if stop_name and not stop_name.startswith("R-") and not "Boarding" in stop_name:
|
|
||||||
# Normalize time format
|
|
||||||
stop_time = stop_time.replace('.', ':')
|
|
||||||
if ':' in stop_time:
|
|
||||||
parts = stop_time.split()
|
|
||||||
time_part = parts[0]
|
|
||||||
ampm_part = parts[1].upper() if len(parts) > 1 else "AM"
|
|
||||||
h_m = time_part.split(':')
|
|
||||||
if len(h_m) == 2:
|
|
||||||
h, m = h_m[0].strip(), h_m[1].strip()
|
|
||||||
h = "".join(filter(str.isdigit, h))
|
|
||||||
m = "".join(filter(str.isdigit, m))
|
|
||||||
if h and m:
|
|
||||||
h_int = int(h)
|
|
||||||
h_str = f"{h_int:02d}"
|
|
||||||
m_str = f"{int(m):02d}"
|
|
||||||
stop_time = f"{h_str}:{m_str} {ampm_part}"
|
|
||||||
|
|
||||||
stops.append({
|
|
||||||
"name": stop_name,
|
|
||||||
"time": stop_time
|
|
||||||
})
|
|
||||||
|
|
||||||
if len(stops) > 0:
|
|
||||||
from_point = stops[0]['name']
|
|
||||||
to_point = stops[-1]['name']
|
|
||||||
departure_time = stops[0]['time']
|
|
||||||
arrival_time = stops[-1]['time']
|
|
||||||
else:
|
|
||||||
from_point = r['name']
|
|
||||||
to_point = "RIT Campus"
|
|
||||||
departure_time = r['start_time']
|
|
||||||
arrival_time = "07:40 AM"
|
|
||||||
|
|
||||||
detailed_routes.append({
|
|
||||||
"number": r['number'],
|
|
||||||
"name": r['name'] + " Route",
|
|
||||||
"from": from_point,
|
|
||||||
"to": to_point,
|
|
||||||
"departureTime": departure_time,
|
|
||||||
"arrivalTime": arrival_time,
|
|
||||||
"color": colors[i % len(colors)],
|
|
||||||
"stops": stops
|
|
||||||
})
|
|
||||||
except Exception as e:
|
|
||||||
print(f"Error scraping {r['number']}: {e}")
|
|
||||||
|
|
||||||
# Save directly to the backend resources folder
|
|
||||||
target_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "backend", "src", "main", "resources"))
|
|
||||||
if not os.path.exists(target_dir):
|
|
||||||
os.makedirs(target_dir, exist_ok=True)
|
|
||||||
output_path = os.path.join(target_dir, "bus_routes.json")
|
|
||||||
|
|
||||||
with open(output_path, "w", encoding="utf-8") as f:
|
|
||||||
json.dump(detailed_routes, f, indent=2)
|
|
||||||
print(f"Scraping completed. Saved to {output_path}.")
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
scrape_routes()
|
|
||||||
@@ -1,168 +0,0 @@
|
|||||||
"""
|
|
||||||
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()
|
|
||||||
Reference in New Issue
Block a user