T1000
T1000

Reputation: 2941

BingMap get polygons in view

I have map with 30-50 polygons on it. There are like 4000 points in every polygon but they are hidden at beginning. I want to disply the point only when zoom is <=6 but not all of the point but only ones related to the currently displayed polygon(s). So I need to get the polygons in view (displayed in this moment on the screen).
Do you know how to get the polys in view ? ps.Im working with javascript

Upvotes: 1

Views: 906

Answers (1)

Gingemonster
Gingemonster

Reputation: 927

Wont be quick if you have complex or lots of polygons but works (assumes v7 api):

https://gist.github.com/1704172

Upvotes: 1

Related Questions