Skip to content

Commit d71472e

Browse files
修改ElasticSearch为Elasticsearch
1 parent 47eda51 commit d71472e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/leaflet/ESHeatMap.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
zoom: 4,
343343
crs: L.CRS.EPSG3857
344344
});
345-
var attr = 'Data © <a href="https://www.elastic.co/products/elasticsearch" target="_blank">ElasticSearch</a> Map Data <span>© <a href="http://support.supermap.com.cn/product/iServer.aspx" target="_blank">SuperMap iServer</a></span> with <span>© <a href="http://iclient.supermapol.com" target="_blank">SuperMap iClient</a></span>';
345+
var attr = 'Data © <a href="https://www.elastic.co/products/elasticsearch" target="_blank">Elasticsearch</a> Map Data <span>© <a href="http://support.supermap.com.cn/product/iServer.aspx" target="_blank">SuperMap iServer</a></span> with <span>© <a href="http://iclient.supermapol.com" target="_blank">SuperMap iClient</a></span>';
346346
var host = window.isLocal ? document.location.protocol + "//" + document.location.host : "http://support.supermap.com.cn:8090";
347347
var url = host + "/iserver/services/map-china400/rest/maps/ChinaDark";
348348
L.supermap.tiledMapLayer(url,{attribution:attr}).addTo(map);

examples/leaflet/PlanesMonitor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@
404404
zoom: 5,
405405
crs: L.CRS.EPSG3857
406406
});
407-
var attr = 'Data © <a href="https://www.elastic.co/products/elasticsearch" target="_blank">ElasticSearch</a> Map Data <span>© <a href="http://support.supermap.com.cn/product/iServer.aspx" target="_blank">SuperMap iServer</a></span> with <span>© <a href="http://iclient.supermapol.com" target="_blank">SuperMap iClient</a></span>';
407+
var attr = 'Data © <a href="https://www.elastic.co/products/elasticsearch" target="_blank">Elasticsearch</a> Map Data <span>© <a href="http://support.supermap.com.cn/product/iServer.aspx" target="_blank">SuperMap iServer</a></span> with <span>© <a href="http://iclient.supermapol.com" target="_blank">SuperMap iClient</a></span>';
408408
var host = window.isLocal ? document.location.protocol + "//" + document.location.host : "http://support.supermap.com.cn:8090";
409409
var url = host + "/iserver/services/map-china400/rest/maps/ChinaDark";
410410
L.supermap.tiledMapLayer(url,{attribution:attr}).addTo(map);

examples/leaflet/config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ var exampleConfig = {
372372
}
373373
}
374374
},
375-
"ElasticSearch": {
376-
name: "ElasticSearch",
375+
"Elasticsearch": {
376+
name: "Elasticsearch",
377377
content: {
378378
"": {
379379
name: "可视化",
@@ -719,7 +719,7 @@ var sideBarIconConfig = {
719719
"iPortal": "fa-desktop",
720720
"Online": "fa-cloud",
721721
"iManager": "fa-group",
722-
"ElasticSearch": "fa-tasks",
722+
"Elasticsearch": "fa-tasks",
723723
"plot": "fa-edit",
724724
"control": "fa-sliders",
725725
"clientSpatialAnalyst": "fa-object-group",
@@ -738,7 +738,7 @@ var exampleIconConfig = {
738738
"iPortal": "fa-desktop",
739739
"Online": "fa-cloud",
740740
"iManager": "fa-group",
741-
"ElasticSearch": "fa-tasks",
741+
"Elasticsearch": "fa-tasks",
742742
"plot": "fa-edit",
743743
"control": "fa-sliders",
744744
"clientSpatialAnalyst": "fa-object-group",

0 commit comments

Comments
 (0)