简体   繁体   English

Google Maps API多边形与Trulia.com多边形

[英]Google Maps API polygons vs. Trulia.com polygons

i know how to do polygons with Google Maps API. 我知道如何使用Google Maps API进行多边形。 http://code.google.com/apis/maps/documentation/javascript/overlays.html#Polygons http://code.google.com/apis/maps/documentation/javascript/overlays.html#Polygons

How did Trulia.com done their Polygon-Search? Trulia.com是如何完成多边形搜索的? http://www.trulia.com/for_sale/Berlin,NH/x_map#for_sale/My%20Custom%20Area__awunGvsqqL%7CgCpGrlCkrKlzCh%60FofHb%7BL_sp/x_map http://www.trulia.com/for_sale/柏林,NH / x_map#for_sale / My%20Custom%20Area__awunGvsqqL%7CgCpGrlCkrKlZCh%60FofHb%7BL_sp / x_map

Do they use a complete custom JS (like Raphael) do do their Polysearch or is this possible by extending the Google Maps drawing Libraries? 他们是否使用完整的自定义JS(例如Raphael)来进行Polysearch,还是可以通过扩展Google Maps图形库来实现?

They wrote their own since theirs predated the Google Maps API Drawing Library. 他们是在Google Maps API图形库之前编写自己的代码。 However, it's pretty simple now using the Drawing Library so I'd recommend using it instead. 但是,现在使用图形库非常简单,因此建议您改用它。

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

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