简体   繁体   English

Google地图中的多个多边形

[英]Multiple polygons in Google maps

Is there any way to id multiple polygons in Google maps v3? 有什么方法可以在Google Maps v3中标识多个多边形? Also, can you track when a polygon changes size? 另外,您可以跟踪多边形何时更改尺寸吗? I wasn't clear about how to do that from the Google Maps API guide. 根据Google Maps API指南,我不清楚如何执行此操作。

I want to set up a div or textbox that has the size of a polygon on creation, but changes value when the user changes the size. 我想设置一个在创建时具有多边形大小的div或文本框,但是当用户更改大小时会更改值。

我只是定义了自己的id属性,并使用了它-非常简单,实际上

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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