Oleg Ignatov


Hello, All!
How can I fill some polygon on the map for boundaries of geo location For example for some state of USA.
I.e. I want to paint over some state on the map.
To understand what do I mean please redirect this page http://www.blogthevote.net/veshapefilec.htm and push Load button on it.
Thanks




Re: Custom polygon filling

Derek Chan


Are you looking for a clickable polygon such that the user clicks on the polygon and its filled with a certain colour





Re: Custom polygon filling

SoulSolutions

wow the old V1 commerical control

http://dev.virtualearth.net/commercial/v1/VE_MapSearchControl.js

You know VE is upto Version 4 with 3D There is no seperate commerical control anymore

John.







Re: Custom polygon filling

Oleg Ignatov

What do you mean. I don't know about clickable polygon something.
Please put here an example or an example reference.
Thanks.




Re: Custom polygon filling

Oleg Ignatov

I look for Point in Polygon in this forum.
I have found out that I need get the list of LatLongs for city/state/country. And then I will easy fill polygon for state or city.
But how can I get this list of LatLongs
Is it a free or not




Re: Custom polygon filling

Derek Chan

Depends on what you are using this for.  If this is for a production (commercial) environment, then it won't be free.  If this is a private small application, then you can use a developer "demo" account for Mappoint Web Service to get your lat/longs (limit of 1000 transactions per day) and pass the results to your Virtual Earth application.  More information on evaluation accounts here:

https://mappoint-css.partners.extranet.microsoft.com/MwsSignup/Eval2.aspx




Re: Custom polygon filling

Virsharma

For this you have to get the lat long from each vertex of the state & then from that set of point, Fill the polygon. you will get the state polygon.