Tolong pilih kategori sesuai, jenis posting (diskusi atau bukan) dan sertakan tag/topik yang sesuai seperti komputer, java, php, mysql, dll. Promosi atau posting tidak pada tempatnya akan kami hapus!
- Bagi Anda yang ingin mendaftar, baca link berikut:
http://diskusiweb.com/discussion/50491/how-to-registrasi-diskusiweb-com-baca-ini-terlebih-dahulu
- Cara menyisipkan kode program supaya tampil rapi dan terformat dengan baik di diskusiweb.com: http://www.diskusiweb.com/discussion/50415/cara-menyisipkan-kode-program-di-diskusiweb-com
- Cara posting gambar/image di post Anda: http://www.diskusiweb.com/discussion/47345/cara-menyisipkan-menyertakan-image-pada-posting/p1

mendecode js

edited September 2012 in Diskusi Pemrograman & IT

Comments

  • edited September 2012
    _mPreferMetric=true;
    var langMap=
    {
    };
    langMap["success"]="Success";
    langMap["missingAddr"]="Missing Address: The address was either missing or had no value.";
    langMap["unknownaddr"]="Unknown Address: No corresponding geographic location could be found for the specified address.";
    langMap["unavailaddr"]="Unavailable Address: The geocode for the given address cannot be returned due to legal or contractual reasons.";
    langMap["badkey"]="Bad Key: The API key is either invalid or does not match the domain for which it was given";
    langMap["toomanyqueries"]="Too Many Queries: The daily geocoding quota for this site has been exceeded.";
    langMap["servererror"]="Server error: The geocoding request could not be successfully processed.";
    langMap["noquery"]="No query was specified in the input.";
    langMap["gdircompute"]="The GDirections object could not compute directions between the points.";
    langMap["faileddir"]="Failed to obtain directions";
    langMap["phone"]="Phone:";
    langMap["description"]="Description:";
    langMap["showonmap"]="show on map";
    langMap["getdirections"]="get directions";
    langMap["didyoumean"]="Did you mean:";
    langMap["UKpostcodes"]="UK postcodes are truncated by Google. Enter streetname and house number to pinpoint your location.";
    langMap["coudntfind"]="Could not find";
    langMap["maxheightobst"]="Max Height of Obstacle";
    langMap["movemarkerobst"]="Move the marker to find out the maximum height an obstacle can have without blocking the line of sight.";
    langMap["d"]="d";
    langMap["distancetoobst"]="the distance to the obstacle (e.g. a tree)";
    langMap["h"]="h";
    langMap["maxheight"]="the maximum height of obstacle measured from the base of the dish.";
    langMap["obsttip"]="Tip: A residential floor height is about 2.75m (9ft), an office floor height about 3.25m (11ft)";
    langMap["address"]="Address";
    langMap["latitude"]="Latitude";
    langMap["longitude"]="Longitude";
    langMap["satellite"]="Satellite";
    langMap["elevation"]="Elevation";
    langMap["azimuthtrue"]="Azimuth (true)";
    langMap["azimuthmag"]="Azimuth (magn.)";
    langMap["clickanddrag"]="You can click and drag the marker";
    langMap["zoomin"]="zoom in";
    langMap["zoomout"]="zoom out";
    var map=null;
    var geocoder=null;
    var point=null;
    var lngURL;
    var marker;
    var icon_obst;
    var icon_bus;
    var line;
    var poly;
    var poly1;
    var dist;
    var label1;
    var marker_obst;
    var si_units=1;
    var city;
    var region_name;
    var countrycode="US";
    var lat=40.810;
    var lng=-73.962;
    var popsats;
    var satcode="s2690";
    var address;
    var cursat;
    var zoom=16;
    var maptype=1;
    var address="Broadway, New York";
    var distance=[];
    var sortbusli=[];
    var gmarkers=[];
    var i=0;
    var satellite;
    var pgecolor;
    var cache_countrycode;
    var cache_lat;
    var cache_lng;
    var cache_satcode;
    var DskewD;
    var Azimuth1;
    var Mdecl;
    var Elevation1;
    var Tilt1;
    var Sdistance1;
    var Dskew;
    var DeclA;
    var satname;
    var reasons=[];
    reasons[G_GEO_SUCCESS]=langMap["success"];
    reasons[G_GEO_MISSING_ADDRESS]=langMap["missingAddr"];
    reasons[G_GEO_UNKNOWN_ADDRESS]=langMap["unknownaddr"];
    reasons[G_GEO_UNAVAILABLE_ADDRESS]=langMap["unavailaddr"];
    reasons[G_GEO_BAD_KEY]=langMap["badkey"];
    reasons[G_GEO_TOO_MANY_QUERIES]=langMap["toomanyqueries"];
    reasons[G_GEO_SERVER_ERROR]=langMap["servererror"];
    reasons[G_GEO_MISSING_QUERY]=langMap["noquery"];
    reasons[G_GEO_UNKNOWN_DIRECTIONS]=langMap["gdircompute"];
    function load()
    {
    if(GBrowserIsCompatible())
    {
    dpIcon=new GIcon(G_DEFAULT_ICON);
    dpIcon.image="http://www.dishpointer.com/dpplus/dpIcon2.png";
    dpIcon.shadow="http://www.dishpointer.com/dpplus/dpIcon2_shadow.png";
    dpIcon.iconSize=new GSize(26,37);
    dpIcon.iconAnchor=new GPoint(13,37);
    dpIcon.shadowSize=new GSize(39,34);
    dpIcon.infoWindowAnchor=new GPoint(17,6);
    dpIcon.printImage="http://www.dishpointer.com/dpplus/dpIcon2_print.gif";
    dpIcon.mozPrintImage="http://www.dishpointer.com/dpplus/dpIcon2_mozPrint.gif";
    dpIcon.printShadow="http://www.dishpointer.com/dpplus/dpIcon2_printShadow.gif";
    dpIcon.transparent="http://www.dishpointer.com/dpplus/dpIcon2_transparent.png";
    dpIcon.imageMap=[13,36,10,29,0,16,0,10,9,1,17,1,25,10,25,17,15,29];
    displayMap()
    }
    }


    Sebagian script sengaja dihilangkan  :-)
Sign In or Register to comment.