PageSourceSearch

https://www.shipfinder.com/Content/js/elanemap_sp/ElaneMapConfig.js?v=1

js shipfinder.com collected 2026-10-03 23:59:14 UTC 6,310 bytes, 99 lines download raw bytes

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.