Select a map area?

Hi,


I've been asked to create a map view that allows the user to select an area on the map. Ideally, we want the user to be able to describe a rectangular area by dragging and resizing a semi-transparent rectangle, while simultaneously retaining the ability to drag and resize the map itself.


What I'd like to do would be similar to the Find Friends app when you set notifications, except Find Friends only lets you define a circular area and I don't think you can move the area other than by typing in a new address.


Are there controls like this built in to the map view? If not, would I be able to roll my own fairly easily or is this a complicated and/or impossible task?


I know how to track touches and draw shapes, and I'm pretty sure I could build a separate overlay view that provides these UI elements, but I'm not immediately seeing how I'd keep my view in sync with the map view (i.e. scrolling my view when the map scrolls).


Thanks,

Frank

Select a map area?
 
 
Q