|
2 | 2 | <html xmlns="http://www.w3.org/1999/html"> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | | - <title data-i18n="resources.title_graphicLayer"></title> |
| 5 | + <title data-i18n="resources.title_plotSymbolPerformance"></title> |
6 | 6 | <script type="text/javascript" include="bootstrap-css" src="../js/include-web.js"></script> |
7 | 7 | </head> |
8 | 8 | <body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;"> |
@@ -47,7 +47,7 @@ <h5 class="panel-title text-center" style=" font-size: 16px;color: #ffffff;">高 |
47 | 47 | L.supermap.symbolInfoService(serverUrl).getSymbolInfo(params, function(result){ |
48 | 48 | for (var i = 0; i < count; ++i) { |
49 | 49 | var coordinates = [2 * e * Math.random() - e, 2 * e * Math.random() - e]; |
50 | | - var dotSymbol = L.PlottingObject.createSymbol(421, 10100, L.latLng(coordinates[0], coordinates[1]), {serverUrl:serverUrl,symbolData: result.result, textContent: "常住人口"}, null, null); |
| 50 | + var dotSymbol = L.supermap.plotting.PlottingObject.createSymbol(421, 10100, L.latLng(coordinates[0], coordinates[1]), {serverUrl:serverUrl,symbolData: result.result, textContent: "常住人口"}, null, null); |
51 | 51 | features.push(dotSymbol); |
52 | 52 | } |
53 | 53 | graphicLayer.addFeatures(features); |
@@ -76,7 +76,7 @@ <h5 class="panel-title text-center" style=" font-size: 16px;color: #ffffff;">高 |
76 | 76 | for(var i = 0; i < count; ++i){ |
77 | 77 | var coordinates = [2 * e * Math.random() - e, 2 * e * Math.random() - e]; |
78 | 78 | var randomIndex = Math.floor(10 * Math.random()); |
79 | | - var dotSymbol = L.PlottingObject.createSymbol(421, randomCode[randomIndex], L.latLng(coordinates[0], coordinates[1]), {serverUrl:serverUrl,symbolData: randomSymbolData[randomIndex]}, null, null); |
| 79 | + var dotSymbol = L.supermap.plotting.PlottingObject.createSymbol(421, randomCode[randomIndex], L.latLng(coordinates[0], coordinates[1]), {serverUrl:serverUrl,symbolData: randomSymbolData[randomIndex]}, null, null); |
80 | 80 | features.push(dotSymbol); |
81 | 81 | } |
82 | 82 | graphicLayer.addFeatures(features); |
|
0 commit comments