简体   繁体   中英

OpenLayers set/modify property “projection”

Is it possible to set/modify property projection of ol.source.Source ?

No method is allowed like setProjection .

Is there a reason for this?

What would be the benefit of changing the projection? Your data source provides data in one projection, right? Using a different projection means that you have a different data source, so you should create new ol.Source instance.

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