ABmaps - Interactive World Map - AtlasCT
.Title{
font-family: Helvetica, Arial, sans-serif;
font-weight:bold;
color:#FFFFFF;
font-size:14px;
letter-spacing:0.6px;
}
.TextA {
font-family: trebuchet ms;
font-size:12px;
color:#1270CD;
font-weight:bold;
}
.TextB {
font-family: trebuchet ms;
font-size:9px;
color:#7C7C7C;
font-weight:normal;
}
.TextC {font-family: arial;font-size:11px;color:#0E62B6;}
.TextD {font-family: arial;font-size:15px;color:#346ADA;font-weight:bold}
.TextE {font-family: trebuchet ms;font-size:12px;color:#1270CD;}
.TextF {font-family: arial;font-size:12px;color:#041D35;}
.TextG {font-family: arial;font-size:12px;color:#FFFFFF;font-weight:bold}
.TextH {font-family: arial;font-size:12px;color:#A01F1F;font-weight:bold}
.TextI {font-family: arial;font-size:11px;color:#0E62B6;}
.LayerLabel {
font-family: trebuchet ms;
font-size:11px;
color:#1270CD;
}
.InputBox {
font-family:arial;
font-size:12px;
color:#1270CD;
direction:ltr;
width:185px;
height:19px;
border:1px solid #65AAEF;
padding-right:5px
}
.SelectBox {
font-family: arial;
font-size:11px;
direction:ltr;
color:#1270CD;
}
.SelectBox2 {
font-family: arial;
font-size:10px;
direction:ltr;
color:#1270CD;
border:1px solid #65AAEF;
}
.LanguageSelectBox {
font-family: arial;
font-size:11px;
color:#1270CD;
}
tr.LanguageSelectBoxOption td {
font-family: arial;
font-size:11px;
color:#1270CD;
}
tr.LanguageSelectBoxOptionHover td {
font-family: arial;
font-size:11px;
color:#FFFFFF;
background-color:#316AC5;
}
.Btn { color:#1270CD;font-family: verdana; font-size: 11px;background-color: #EFEFF3;border: 1px solid #65AAEF;cursor:hand}
.LinkA{font-family: trebuchet ms;font-size:11px;color:#1270CD;font-weight:bold;text-decoration:none;}
.LinkA:hover{color:#1270CD;text-decoration:underline}
.LinkB{font-family: arial;font-size:11px;color:#0E62B6;text-decoration:none;text-decoration:none;}
.LinkB:hover{text-decoration:underline}
.LinkC{font-family: arial;font-size:12px;color:#0E559C;font-weight:bold;text-decoration:none;}
.LinkC:hover{color:#0E559C;text-decoration:underline}
.LinkD{font-family: arial;font-size:11px;color:#0A4076;text-decoration:none;text-decoration:none;}
.LinkD:hover{text-decoration:underline}
.formTable {
/* Mozilla ignores crazy MS image filters, so it will skip the following */
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src="http://www.abmaps.com//Images/FormBG.png");
}
/* IE ignores styles with [attributes], so it will skip the following. */
.formTable[class] {
background-image:url(Images/FormBG.png);
}
.link-text-language {
font-family: arial;
font-size:11px;
color:#FFFFFF;
text-decoration:none;
}
.link-text-language:hover{text-decoration:underline}
.link-full-screen-mode {
font-family: arial;
font-size:11px;
color:#4689f8;
}
.link-full-screen-mode:hover{
color:#f84e46;
}
.header-link {
font-family: arial;
font-size:11px;
color:#F0F5FD;
text-decoration:none;
}
.header-link:hover {
text-decoration:underline;
}
.header-link-selected {
font-family: arial;
font-size:11px;
color:#d7ffe3;
font-weight:bold;
}
.bottom-tools-links {
font-family: arial;
font-size:10px;
color:#1E5BB7;
text-decoration:none;
}
.bottom-tools-links:hover{color:#D53535;text-decoration:underline}
.seperator {
padding-left:11px;
padding-right:11px;
}
.copy-right-link{font-family: arial;font-size:10px;color:#E1EFFB;xfont-weight:bold;text-decoration:none;}
.copy-right-link:hover{color:#BDF5BC;text-decoration:underline}
//var map = new Map("100%","100%",new LatLong(3513825,-3370228),-9);
var map = new Map("100%","100%")
map.setTilesLoadingSensitive(65)
var route = new Route();
// Route2.lineStyle(6,"0x2EBC18",100)
var layersManager = map.getLayersManager()
function onRouteDescMouseOver(routeDescId) {
var address = ". " + (routeDescId+1) + route.maneuversList[routeDescId].description
var coordinate = route.maneuversList[routeDescId].location
var zoomPower = map.getZoomPower();
map.getFlash().runFunction("/:ExternalDynamicLayers/addressTooltip","showWindow",coordinate.getMapX() - 16/zoomPower,coordinate.getMapY() + 8/zoomPower, address)
}
function onRouteDescMouseOut(routeDescId) {
map.getFlash().runFunction("/:ExternalDynamicLayers/addressTooltip","hideWindow")
}
//////////////////////////////////////////////////////
// PushPins
var pushpinsList = new Array();
layerPushpins = layersManager.createLocalVectorLayer("pushpins")
layerSourcePushpin = layersManager.createLocalVectorLayer("pushpinSource")
layerDestPushpin = layersManager.createLocalVectorLayer("pushpinDest")
layerPushpins.setClustering(LocalVectorLayer.CLUSTERING_LOW)
var pushpinSourceMarker = null;
var pushpinDestMarker = null;
pushpinSourceGeocode = null;
pushpinDestGeocode = null;
function onGeocodePushpinSourceResult(sender, geocode) {
pushpinSourceGeocode = geocode
_type = "S"
if (geocode.resultCode!=-1) {
setFieldValue(getEl("txtAddress" + _type),"[Location: " + geocode.geoResult.fullAddress.replace(", ישראל","")+"]",_type)
if ((pushpinDestGeocode!=null) && (pushpinDestGeocode.resultCode!=-1)) {
findRoute();
}
} else {
setFieldValue(getEl("txtAddress" + _type),"[Location: רחוב לא נמצא]",_type)
}
}
function onGeocodePushpinDestResult(sender, geocode) {
pushpinDestGeocode = geocode
_type = "D"
if (geocode.resultCode!=-1) {
setFieldValue(getEl("txtAddress" + _type),"[Location: " + geocode.geoResult.fullAddress.replace(", ישראל","")+"]",_type)
if ((pushpinSourceGeocode!=null) && (pushpinSourceGeocode.resultCode!=-1)) {
findRoute();
}
} else {
setFieldValue(getEl("txtAddress" + _type),"[Location: רחוב לא נמצא]",_type)
}
}
function removeRowsFromTable(tbl) {
// var tbl = document.getElementById('tblSample');
// var lastRow = tbl.rows.length;
// if (lastRow> 2) tbl.deleteRow(lastRow - 1);
var tbl = document.getElementById(tbl)
var length = tbl.rows.length
for (var i=0;i
הצג כתובת על המפה
קבע ככתובת מקור
קבע ככתובת יעד
מחק כתובת
הצג מסלול על המפה
מחק מסלול
writeDivImg('images/layout/Tip_Measure.png',155,65)
writeDivImg('images/layout/Tip_FullScreen_eng.png',152,62)
writeDivImg('images/layout/FullScreenMode_eng.png',113,42)
Back to normal
src = "images/layout/bottomBarBg.png"
switch (BrowserDetect.browser.toLowerCase()) {
case "firefox" :
document.write("");
break;
default :
document.write("");
break;
}
Copyright © 2008 Atlas Cartographic Technologies Ltd. All rights reserved.
Terms Of Use
| Privacy Policy
src = "images/layout/bottomToolsBg.png"
switch (BrowserDetect.browser.toLowerCase()) {
case "firefox" :
document.write("");
break;
default :
document.write("");
break;
}
Print
writeDivImg('Images/Icons/Printer_Small.png',17,17)
|
Send To Friend
writeDivImg('Images/Icons/Email_Small.png',17,17)
|
Legend
writeDivImg('Images/Icons/Legend.png',14,15)
src = "images/layout/TopBarBG.png"
switch (BrowserDetect.browser.toLowerCase()) {
case "firefox" :
document.write("");
break;
default :
document.write("");
break;
}
writeDivImg("images/layout/ABmaps_logo.png","172","57","ABmaps_logo")
English
עברית
writeDivImg('images/layout/FullScreenIcon.png',24,21)
Full Screen
writeDivImg("images/layout/WeatherIcon_eng.png","51","42","WeatherIcon")
writeDivImg("images/layout/TrafficIcon_eng.png","58","43","TrafficIcon")
writeDivImg("images/layout/linksHeaderBG/left.png","21","40","linksHeaderBG")
src = "images/layout/linksHeaderBG/bg.png"
width = 278
switch (BrowserDetect.browser.toLowerCase()) {
case "firefox" :
document.write("");
break;
default :
document.write("");
break;
}
Maps
About AtlasCT
Technology
Products
writeDivImg("images/layout/linksHeaderBG/right.png","27","40","linksHeaderBG")
writeDivImg("images/layout/AtlasCT_logo.png","87","35","AtlasCT_Logo","cursor:pointer")
כותרת המיקום:
תיאור המיקום:
var searchMessage = new Flash();
searchMessage.init("SearchMessage","230","130","Flash/SearchMessage.swf","",true,"")
searchMessage.writeFlash()
function onSearchMessageClick(evt,args) {
map.hideOverlay("SearchMessage");
}
flashListener.addListener("FlashSearchMessage",onSearchMessageClick,"Press")
src = "Images/Layout/OverViewBG.png"
switch (BrowserDetect.browser.toLowerCase()) {
case "firefox" :
document.write("");
break;
default :
document.write("");
break;
}
overviewMap.writeMap()
writePngImg('Images/Forms/Border/TopLeft.png',9,9)
writePngImg('Images/Forms/Border/Top.png',244,9)
writePngImg('Images/Forms/Border/TopRight.png',9,9)
if (BrowserDetect.browser.toLowerCase()=="firefox") {
document.write('');
} else {
document.write('');
}
writeDivImg('Images/Icons/car.png',22,19)
Find address and route
Country
USA
Australia
Austria
Belgium
Brazil
Canada
Croatia
Czech
Denmark
England
Finland
France
Germany
Greece
Hungary
Ireland
Israel
Italy
Latvia
Luxemburg
Mexico
Netherlands
Norway
Poland
Portugal
Russia
Scotland
Slovakia
Slovenia
Spain
Sweden
Switzerland
Origin Address:
Example: New York, 10001
Example: Chage elise, Paris
City:
Street:
House:
Destination Address
City:
Street:
House:
writeDivImg('images/layout/SwapIcon.png',16,17)
Swap
writeDivImg('images/layout/SwapIcon.png',16,17)
Route Options
Fastest
Pedestrian
Shortest
Use Tollways
writeDivImg('Images/Icons/Route.png',21,21)
Route Description
Measurement
writeDivImg('Images/Icons/Measure.png',22,20)
לחץ על המפה על מנת להתחיל את המדידה, לאחר מכן הזז את העכבר ולחץ בנקודה הבאה. שברצונך לסיים, לחץ לחיצה כפולה על נקודת הסיום או הקש על מקש Enter במקלדת (מקש Esc לביטול).
הסר
writeDivImg('Images/Icons/measureClose.png',16,16)
:מרחק מצטבר
מייל
ק"מ
הצג תגיות
writeDivImg('Images/Icons/Traffic.png',18,19)
writeDivImg('Images/Icons/Weather.png',21,19)
Weather
Layers
writeDivImg('Images/Icons/Layers.png',16,17)
Police
Cinema
Parking
Hotel
PostOffice
Park
Hospitals
Synagogue
BusStation
DrugStore
writeDivImg('Images/Icons/newIcon.png',26,16)
writeDivImg('Images/Icons/user.png',13,17)
writeDivImg('Images/Icons/Home_tiny.png',15,15)
הכתובות שלי:
רשימה ריקה
writeDivImg('Images/Icons/route_car.png',15,13)
המסלולים שלי:
רשימה ריקה
Legend
writeDivImg('Images/Icons/Legend.png',17,19)
כבישים ורחובות
רחוב
כביש עירוני
כביש בינעירוני
כביש ראשי
כביש אגרה
שביל להולכי רגל
רמזור
חץ כיוון התנועה
יישובים
עיר בירה
עיר
עיירה
כפר\יישוב\קיבוץ
איזור עירוני
מבנים ושטחים ציבוריים
מוסדות בריאות ורווחה
השכלה וחינוך
מרכזי קניות
תרבות,בידור ופנאי
איזורי תעשייה ומשרדים
מנהל ומשפט
נופש וספורט
בריכות שחייה
בתי עלמין
שונות
תחנות דלק
פסי רכבת
נחלים
A שטח
B שטח
if (BrowserDetect.browser.toLowerCase()=="firefox") {
document.write('');
} else {
document.write('');
}
writePngImg('Images/Forms/Border/BottomLeft.png',9,9)
writePngImg('Images/Forms/Border/Bottom.png',244,9)
writePngImg('Images/Forms/Border/BottomRight.png',9,9)
map.writeMap()
function getQueryParamsList(str) {
var paramsList = new Array();
var strSplit = str.split("&")
for (var i=0;i1) {
paramsList[params[0]] = params[1]
}
}
return paramsList;
}
var urlParams = window.location.hash
document.title = "ABmaps - Interactive World Map - AtlasCT"
urlParams = urlParams.split("#")
if (urlParams.length>1) {
paramsList = getQueryParamsList(urlParams[1]);
ad = paramsList["ad"] // address
adO = paramsList["adO"] // route's origin address
adD = paramsList["adD"] // route's origin destination
lt = paramsList["lt"] // latitude
lg = paramsList["lg"] // longitude
zl = paramsList["zl"] // zoom level
st = paramsList["st"] // show target (true/false)
tlt = paramsList["tlt"] // target latitude
tlg = paramsList["tlg"] // target longitude
mv = paramsList["mv"] // map view
if ((adO!=null) && (adD!=null)) {
setFieldValue(getEl("txtAddressS"),unescape(adO),"S")
setFieldValue(getEl("txtAddressD"),unescape(adD),"D")
findRoute();
} else {
if ((lt!=null) && (lg!=null) && (zl!=null)) {
map.setCenterPosition(new LatLong(lt,lg),zl);
if (st=="true") {
map.showTargetIcon(new LatLong(lt,lg))
}
if ((tlt!=null) && (tlg!=null)) {
map.showTargetIcon(new LatLong(tlt,tlg))
}
if (ad!=null) {
setFieldValue(getEl("txtAddressS"),unescape(ad),"S")
}
} else {
if (ad!=null) {
map.setCenterPosition(new Address(unescape(ad)));
}
}
}
if (mv!=null) {
switch (mv.toLowerCase()) {
case "s":
map.setView(Map.VIEW_SATELLITE)
break;
case "h":
map.setView(Map.VIEW_HYBRID)
break;
}
}
}
a = new Array("sds");
var tabsList = new Array();
//tabsList.push(new Array(1,"MainTitle","MainBody",760))
tabsList.push(new Array(1,"AddressFromTitle","AddressFromBody",760))
tabsList.push(new Array(0,"LegendFromTitle","LegendFromBody",760))
tabsList.push(new Array(0,"UserFromTitle","UserFromBody",760))
tabsList.push(new Array(0,"RouteDescriptionFormTitle","RouteDescriptionFormBody",760))
tabsList.push(new Array(0,"MeasureFormTitle","MeasureFormBody",760))
tabsList.push(new Array(0,"TrafficFormTitle","TrafficFormBody",760))
tabsList.push(new Array(0,"WeatherFormTitle","WeatherFormBody",760))
tabsList.push(new Array(0,"LayersFormTitle","LayersFormBody",360))
// tabsList.push(new Array(0,"HistoryFormTitle","HistoryFormBody",360))
function buildAddress(houseNum,street,city) {
_houseNum = houseNum.value
_street = street.value
_city = city.value
str = ""
if ((_street!="") && (street.isFirstClick!=null)) str = _street
if ((_houseNum!="") && (houseNum.isFirstClick!=null)) {
if (str!="") {
str += " " + _houseNum
} else {
str = _houseNum
}
}
if ((_city!="") && (city.isFirstClick!=null)) {
if (str!="") {
str += ", " + _city
} else {
str = _city
}
}
return str;
}
citySAutoSuggest = new AutoSuggest(getEl("txtCityS"))
streetSAutoSuggest = new AutoSuggest(getEl("txtStreetS"),getEl("txtCityS"))
cityDAutoSuggest = new AutoSuggest(getEl("txtCityD"))
streetDAutoSuggest = new AutoSuggest(getEl("txtStreetD"),getEl("txtCityD"))
function onAddressKeyUp(_type) {
if ( ((getEl("txtHouseNum"+_type).value!="") && (getEl("txtHouseNum"+_type).isFirstClick!=null)) || ((getEl("txtStreet"+_type).value!="") && (getEl("txtStreet"+_type).isFirstClick!=null)) || ((getEl("txtCity"+_type).value!="") && (getEl("txtCity"+_type).isFirstClick!=null))) {
setFieldValue(getEl("txtAddress"+_type),buildAddress(getEl("txtHouseNum"+_type),getEl("txtStreet"+_type),getEl("txtCity"+_type)))
}
}
function onAddressSourceKeyUp(e) {
if (e==null) e = event
var keyCode = e.keyCode? e.keyCode : e.charCode;
if(keyCode == 13) { // Enter Key
// findByEnterKey('address',e);
} else {
isLastTextBoxSplitS = true
onAddressKeyUp("S")
}
}
function onAddressDestKeyUp(e) {
if (e==null) e = event
var keyCode = e.keyCode? e.keyCode : e.charCode;
if(keyCode == 13) { // Enter Key
// findByEnterKey('route',e);
} else {
isLastTextBoxSplitD = true
onAddressKeyUp("D")
}
}
citySAutoSuggest.onkeyup = onAddressSourceKeyUp
streetSAutoSuggest.onkeyup = onAddressSourceKeyUp
getEl("txtHouseNumS").onkeyup = onAddressSourceKeyUp
cityDAutoSuggest.onkeyup = onAddressDestKeyUp
streetDAutoSuggest.onkeyup = onAddressDestKeyUp
getEl("txtHouseNumD").onkeyup = onAddressDestKeyUp
|
|