Hello,
I want the user to select features by drawing a rectangle on the map. I know how to select the features inside the rectangle but how can I draw it.
I know I can draw on the map with interactiveOverlay. Am I on the right way?
Thomas
Hello,
I want the user to select features by drawing a rectangle on the map. I know how to select the features inside the rectangle but how can I draw it.
I know I can draw on the map with interactiveOverlay. Am I on the right way?
Thomas
Before we show you some sample code on how to do that, I want to make sure I understand exactly what you are expecting. You want to track a rectangle on the map and have the features inside it selected and displayed differently, correct? Thank you.
I think that you might be interested in checking the project Select With Track Shape because, I think, it is pretty similar to what you are asking for.
code.thinkgeo.com/projects/s...trackshape
Val, thanks for information. The sample project shows exactly what I want.
Thomas
You are welcome. Let us know if you have other questions.