Creating other selection shapes

Jun 10, 2010 at 7:51 AM

Hi,

i am using GMap.NET WPF Version. Can anybody suggest me how to create selection shapes like Rectangle which is already built in for selection of markers in map.

i want to include selection shapes like Square,Circle etc.,

 

Regards,

Balaji

Jun 10, 2010 at 8:39 AM

check top Change Set

Jun 10, 2010 at 10:47 AM

Hi Radioman,

 

Thanks for quick reply. Can you please brief me a bit on the above i couldn't able to get. please provide sample code if any and if possible. To be more precise on my requirement i need some thing like the below URL

http://www.geoxmf.com/gmap/client/gmap.jsp

 

Regards,

Balaji

 

Jun 10, 2010 at 11:03 AM

there is one dynamic interaction of circle is demo, but not very optimal...

Jun 10, 2010 at 11:52 AM

Hi Radioman,

The circle you mean is by using Circle.xaml which i believe created as marker overlay. But i want similar to Rectangle selection Holding shift key and on mouse move drawing rectangle and selecting a group of markers.

Please correct me if am overlooking.

Regards,

Balaji

 

Jun 11, 2010 at 12:20 PM

Hi,

waiting for reply. It's urgent please let me know how to process drawing of circle by holding shift key similar to Rectangle.

In GMap we have a class GPolygon through which they pass arguments for drawing circle,Polygon etc., on mouse move as done in the above URL is there anything like that?.

Regards,

Balaji

 

Jun 11, 2010 at 12:48 PM

MainMap.SelectionUseCircle = true;

Jun 11, 2010 at 2:45 PM

Radioman really great!.

Ok. How to process if suppose we need something like "free Hand" tool for selection.

Regards,

Balaji

 

Jun 11, 2010 at 3:59 PM

you need to 'make it so!' ;}