I am new to Iphone Development,
Given the following map. I want to raise a touch event whenever i select a particular part like \"Western Australia\". But that parti
@Jim gives excellent advice on the general, portable algorithm. Since you're on iPhone, it may be convenient to convert your map information into UIBezierPath
objects, however. See the Drawing and Printing Guide for details on how to create this kind of path object. You can then use [UIBezierPath containsPoint:]
to do hit-testing for you. Having a path object also makes it convenient to do your highlighting if you want the same kind of effect as the webpage has.