您好,可以用OpenLayers加载map服务的矢量瓦片接口,通过修改vectorstyles.json中子图层的风格,再在前端使用修改后的风格渲染
例如:https://iclient.supermap.io/examples/openlayers/editor.html#mvtvectorlayer_mbstyle_linestyle
请问范例里发布的这个map-mvt-California地图服务是如何发布的,我看里面的功能和普通的地图服务又或是矢量瓦片服务都不一样。
请问是iServer11.1.0和11.3.0的区别吗
如果是发布的工作空间,可以直接在http://localhost:8090/iserver/services/map-xxx/rest/maps/xxx/tileFeature/vectorstyles.json中获取到风格服务,或者发布服务时,勾选矢量瓦片服务(例如:https://iclient.supermap.io/examples/openlayers/editor.html#mvtvectorlayer_vectortilerest)。
示例使用的是发布的UGCV5(MVT)矢量瓦片服务