1 2//è¹è®¯ç½H5å¹³å°çé ç½®æ¥å£çèµå¼ 3// è¹è¶æ°æ®æ¥å£ 4var _domain = window.location.origin; 5if (typeof _domain === 'undefined') { 6 _domain = location.protocol + '//' + location.host; 7} 8 9setInterval(function () { 10 ShipxyOptions.shipDataServer.getShipInfoUrlShipxy = _domain + getShipUrl() + "?mmsi={0}"; 11}, 1000 * 20); 12 13// åºåè¹æ¥è¯¢(Shipxy) 14//ShipxyOptions.shipDataServer.getAreaShipsUrlShipxy = _domain + "/ship/getareaships?scode={0}&level={1}&area={2}&enc=0&src=0"; 15//// åºåè¹æ¥è¯¢(Shipxy)-ç²¾ç® 16//ShipxyOptions.shipDataServer.getAreaShipsSimple = _domain+"/ship/getareashipssimple?scode={0}&level={1}&area={2}&enc=0&src=0"; 17 18// åºåè¹æ¥è¯¢(Shipxy) 19ShipxyOptions.shipDataServer.getAreaShipsUrlShipxy = _domain + "/ship/getarea?scode={0}&level={1}&area={2}&enc=0&src=0&datatype=5"; 20//// åºåè¹æ¥è¯¢(Shipxy)-ç²¾ç® 21ShipxyOptions.shipDataServer.getAreaShipsSimple = _domain + "/ship/getareasimple?scode={0}&level={1}&area={2}&enc=0&src=0&datatype=5"; 22//// èªæ å 23ShipxyOptions.shipDataServer.getNavigationUrlShipxy = _domain + "/ship/GetNavigateMark?mmsi={0}"; 24ShipxyOptions.shipDataServer.getNavigationUrl = _domain + "/ship/getarea?scode=0&level={level}&area={area}&enc=0&src=0&datatype=2"; 25 26// æ¥è¯¢è¹éæå±è¹è¶(Shipxy) 27ShipxyOptions.shipDataServer.getFleetShipsUrlShipxy = _domain + "/Ship/getships"; 28// æ¥è¯¢è¹è¶ä¿¡æ¯(Shipxy) 29ShipxyOptions.shipDataServer.getShipInfoUrlShipxy = _domain + getShipUrl() + "?mmsi={0}"; 30// æ¥è¯¢è¹è¶ä¿¡æ¯(Shipxy)ï¼å¤è¹ï¼,apiæ¥å£ç¨ï¼v3ææ¶ä¸ç¨ 31//ShipxyOptions.shipDataServer.getManyShipInfoUrl = _domain + "/apicall/GetManyShip?k={k}&id={0}&enc=1&v=4"; 32// DPlusï¼å¤è¹ï¼ 33ShipxyOptions.shipDataServer.getDShipUrl = _domain + "/ship/getdplusships"; 34 35//æ½®æ± 36ShipxyOptions.weather.tidesGuoWaiUrl = 'https://test.shipfinder.com/apicall/GetAllTidePort';//æ½®æ±ï¼å½å¤ï¼ 37ShipxyOptions.weather.tidesInfoGuoWaiUrl = 'https://test.shipfinder.com/apicall/GetSinglePortTide?pid={0}&sdate={1}&edate={2}';//æ½®æ±ï¼å½å¤ï¼ 38//æµ·åºé¢æ¥ 39ShipxyOptions.weather.yananUrl = _domain + '/apicall/GetWeather?type=1'; 40ShipxyOptions.weather.jinhaiUrl = _domain + '/apicall/GetWeather?type=2'; 41ShipxyOptions.weather.yuanhaiUrl = _domain + '/apicall/GetWeather?type=3'; 42//å°é£ 43ShipxyOptions.weather.typhoonListUrl = _domain + '/apicall/GetAllTyphoon';//å°é£åè¡¨ä¿¡æ¯ 44ShipxyOptions.weather.typhoonInfoUrl= _domain +'/apicall/GetSingleTyphoon?&tid={0}';//å ·ä½å°é£ä¿¡æ¯ï¼éå ç¼å· 45 46 47//æµè¯ 48 49ShipxyOptions.weather.weatherDataUrl = "https://qx.shipxy.com/oceanweather/v1/grid?type={type}&time={time}&forecasttime={forecasttime}&level=5&enc=1&source=1"; 50ShipxyOptions.weather.weatherTileUrl = 'https://qx.shipxy.com/oceanweather/v1/tile?type={type}&time={time}&forecasttime={forecasttime}&level={zl}&source=1&x={x}&y={y}&z={z}'; 51ShipxyOptions.weather.getQBBeginTimeURL = "https://qx.shipxy.com/oceanweather/v1/time"; 52ShipxyOptions.weather.getLatLngWeatherURL = "https://qx.shipxy.com/oceanweather/v1/point?type={type}&forecasttime={forecasttime}&time={time}&x={x}&y={y}&source=1"; 53 54//æ¸¯å£ 55ShipxyOptions.portTiles.GETLATLNGDATA_URL = "https://chart.shipxy.com/map/Port?x={x}&y={y}&z={z}"; 56ShipxyOptions.portTiles.MERCATOR_URL = "https://chart.shipxy.com/map/PortTile?m=m&z={z}&x={x}&y={y}"; 57ShipxyOptions.portTiles.WEB_MERCATOR_GCJ02_URL = "https://chart.shipxy.com/map/PortTile?m=wmgcj&z={z}&x={x}&y={y}"; 58ShipxyOptions.portTiles.WEB_MERCATOR_URL = "https://chart.shipxy.com/map/PortTile?m=wm&z={z}&x={x}&y={y}"; 59 60//é¿æ±èªé æ£å¼ --------google: http://cjhd.shipxy.com/tile.c?x={x}&y={y}&z={z}&m=d;;;;;; 天å°å¾ï¼ http://cjhd.shipxy.com/tile.c?x={x}&y={y}&z={z}&m=d2 61ShipxyOptions.CJHDOptions.url = 'https://cjhd.shipxy.com/tile.c?x={x}&y={y}&z={z}&m={m}' // cjhd.shipxy.com test: ttcjhd.shipxy.com:8888 62//é¿æ±èªé æ°æ£å¼ 63//ShipxyOptions.CJHDConf.CJHD_GOOGLE.url = "http://cjhd.shipxy.com/tile.c?m={m}&x={x}&y={y}&z={z}"; 64 65////é¿æ±èªéceshi 66//ShipxyOptions.CJHDOptions.url = 'http://changjiang.elane.com/tile.c?x={x}&y={y}&z={z}&m={m}'
67////é¿æ±èªé æ°ceshi 68//ShipxyOptions.CJHDConf.CJHD_GOOGLE.url = "http://changjiang.elane.com/tile.c?m={m}&x={x}&y={y}&z={z}"; 69 70//å°å¾ç±»åï¼ç»åé¿æ±èªéå¾å±ï¼ 71ShipxyOptions.CJHDOptions.m_types['MT_SEASEASON'] = "h" 72ShipxyOptions.CJHDOptions.m_types['MT_SEA'] = "h" 73 74 75//å°å¾ç¦ç 1-8级 76ShipxyOptions.tiles.googleTileUrl_shipxy = "https://gdtc.shipxy.com/tile.g?l=en&m=d&z={z}&x={x}&y={y}"; //http://g1-8.shipxy.com/{z}/{x}/{y}.png 77//æµ·å¾ç¦ç 78ShipxyOptions.tiles.seaTileUrl = "https://m12.shipxy.com/tile.c?l=Na&m=o&x={x}&y={y}&z={z}&"; 79//å°å¾ç¦ç 9-18级 80ShipxyOptions.tiles.googleTileUrl = "https://gdtc.shipxy.com/tile.g?l=en&m=d&z={z}&x={x}&y={y}"; // http://mt2.google.cn/vt?lyrs=m@180000000&hl=zh-CN&gl=cn&src=app&x={x}&y={y}&z={z}&s=Gal"; 81//嫿13-18,é»è®¤arcgis åç§» 82//ShipxyOptions.tiles.satelliteTileUrl = "https://g1.shipxy.com/tile.g?m=1&x={x}&y={y}&z={z}"; 83//嫿13-18,é»è®¤arcgis åç§» 84//ShipxyOptions.tiles.satelliteTileUrl = "https://g1.shipxy.com/tile.g?m=1&x={x}&y={y}&z={z}"; 85//æµè¯ 86//ShipxyOptions.providerTiles.RASTER_WORLD="http://192.168.1.184:85/sp.dll?cmd=112&scode=11111111&z={z}&y={y}&x={x}"; 87//ShipxyOptions.providerTiles.RASTER_WORLD_GOOGLE="http://192.168.1.184:85/sp.dll?cmd=112&scode=11111111&z={z}&y={y}&x={x}"; 88//ShipxyOptions.providerTiles.RASTER_WORLD ="https://r.shipfinder.com/r/sp.dll?cmd=112&scode=11111111&z={z}&y={y}&x={x}"; 89//ShipxyOptions.providerTiles.RASTER_WORLD_GOOGLE = "https://r-g.shipfinder.com/r/sp.dll?cmd=112&scode=11111111&z={z}&y={y}&x={x}"; 90//å æ ç»¿ç¹ https://r2.shipxy.com/r2/sp.dll?cmd=112&scode=11111111&z=7&y=53&x=106 91ShipxyOptions.providerTiles.RASTER_WORLD = "https://r2.shipxy.com/r2/sp.dll?cmd=112&scode=11111111&z={z}&y={y}&x={x}"; 92//å æ ç»¿ç¹ https://r-g.shipxy.com/r/sp.dll?cmd=112&scode=11111111&z=7&y=55&x=108 93ShipxyOptions.providerTiles.RASTER_WORLD_GOOGLE = "https://r-g.shipxy.com/r/sp.dll?cmd=112&scode=11111111&z={z}&y={y}&x={x}"; 94 95 96//ais徿 97ShipxyOptions.data_img.labelIconBase = "/content/images/ais/"; 98 99ShipxyOptions.tiles.errorTileUrl = "/content/images/erroshipxy.png";
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.