20191215
Showing
2 changed files
with
6 additions
and
4 deletions
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | * @Author: jiangbotao | 2 | * @Author: jiangbotao |
3 | * @Date: 2019-12-13 23:53:57 | 3 | * @Date: 2019-12-13 23:53:57 |
4 | * @LastEditors: jiangbotao | 4 | * @LastEditors: jiangbotao |
5 | * @LastEditTime: 2019-12-15 18:39:11 | 5 | * @LastEditTime: 2019-12-15 20:55:42 |
6 | * @FilePath: \supermapvue\src\components\menu\MyMenu.vue | 6 | * @FilePath: \supermapvue\src\components\menu\MyMenu.vue |
7 | --> | 7 | --> |
8 | <template> | 8 | <template> | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | * @Author: jiangbotao | 2 | * @Author: jiangbotao |
3 | * @Date: 2019-12-10 22:15:53 | 3 | * @Date: 2019-12-10 22:15:53 |
4 | * @LastEditors: jiangbotao | 4 | * @LastEditors: jiangbotao |
5 | * @LastEditTime: 2019-12-15 19:21:09 | 5 | * @LastEditTime: 2019-12-15 20:57:03 |
6 | * @FilePath: \supermapvue\src\components\vt\Map_wz.vue | 6 | * @FilePath: \supermapvue\src\components\vt\Map_wz.vue |
7 | --> | 7 | --> |
8 | <template> | 8 | <template> |
... | @@ -45,10 +45,12 @@ export default { | ... | @@ -45,10 +45,12 @@ export default { |
45 | var sqlParam = new SuperMap.GetFeaturesBySQLParameters({ | 45 | var sqlParam = new SuperMap.GetFeaturesBySQLParameters({ |
46 | queryParameter: { | 46 | queryParameter: { |
47 | name: "poi", | 47 | name: "poi", |
48 | attributeFilter: "SMID > 0" | 48 | attributeFilter: "SMID > 0", |
49 | targetEpsgCode:4326 | ||
49 | }, | 50 | }, |
50 | datasetNames: ["China:poi"], | 51 | datasetNames: ["China:poi"], |
51 | maxFeatures: 1000, | 52 | targetEpsgCode:4326, |
53 | maxFeatures: 1500, | ||
52 | toIndex: -1 | 54 | toIndex: -1 |
53 | }); | 55 | }); |
54 | var featureService = new mapboxgl.supermap.FeatureService(dataUrl); | 56 | var featureService = new mapboxgl.supermap.FeatureService(dataUrl); | ... | ... |
-
Please register or sign in to post a comment