QQ*群里分享的一个3D样式,虽然没有读懂,记录一下,以备后用
<FeatureTypeStyle>
<Rule>
<PolygonSymbolizer>
<Geometry>
<ogc:Function name="isometric">
<ogc:PropertyName>geom</ogc:PropertyName>
<ogc:Literal>7</ogc:Literal>
</ogc:Function>
</Geometry>
<Fill>
<CssParameter name="fill">#dddddd</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#999999</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
</FeatureTypeStyle>
<FeatureTypeStyle>
<Rule>
<PolygonSymbolizer>
<Geometry>
<ogc:Function name="offset">
<ogc:PropertyName>geom</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>7</ogc:Literal>
</ogc:Function>
</Geometry>
<Fill>
<CssParameter name="fill">#FFDCC7</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#999999</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
</FeatureTypeStyle>
那个群居然是敏感词,只好中间加个星号
本文介绍了一种使用特定函数实现的3D样式地图配置方法,通过调整几何对象的填充颜色和描边颜色来呈现立体效果。该配置利用了isometric和offset函数来创建阴影和高亮,从而达到3D视觉体验。
1170

被折叠的 条评论
为什么被折叠?



