简体   繁体   中英

Different static image per zoom level with OpenLayers

Seeking an opportunity with OpenLayers to display per zoom level a custom static graphic. As an example, for two zoom levels I need two different graphics. Can anyone help me further? Thank you.

通过以编程方式获取地图的缩放比例来编写自定义JavaScript,或者您可以使用规则来做一些事情: http : //trac.osgeo.org/openlayers/wiki/Styles#AdvancedRule-basedStyling

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM