Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道我如何在图形中添加比例(单个图形)?我有图形层,我需要其中的每个图形都有不同的比例
我现在所有的图形都以相同的比例显示
我通过使用 map.graphics.add() 做到了,我也使用了 SimpleSymbol
谢谢
var 多边形 = featureSet.features[0].geometry; var polygonExtent = polygon.getExtent();
对于其中的每个图形都具有不同的比例(获取几何扩展和缩放以扩展)