Skip to content

Commit 80bc532

Browse files
修改打开文件范例参数名 review by songym
1 parent ab7f3df commit 80bc532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/mapboxgl/widgets_openfile_vue.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
2121
<div id="main">
2222
<sm-map :map-options="mapOptions">
23-
<sm-open-file :layer-styles="layerStyles"></sm-open-file>
23+
<sm-open-file :layer-style="layerStyle"></sm-open-file>
2424
</sm-map>
2525
</div>
2626
<script>
@@ -33,7 +33,7 @@
3333
" with <span>© <a href='http://iclient.supermap.io' target='_blank'>SuperMap iClient</a> | </span>" +
3434
" Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> ";
3535
return {
36-
layerStyles: {
36+
layerStyle: {
3737
line: new SuperMap.Widgets.commontypes.LineStyle({
3838
"line-width": 3,
3939
"line-color": "#3fb1e3"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy