views:

60

answers:

0

Hi there- think I may need an iPhone guru with some math skills for this one. I have two map views on one page, call them map A and map B. When the user updates map A, map B gets updated automatically, and vice-versa...

Where it gets tricky is that when the user updates map A (drag/swipe/zoom), I need map B to update so that the coordinate of a specific point in map B that is not the center gets set to the new center coordinate of map A... since I'm not just keeping the center coordinates in sync, I can't do this:

[mapB setCenterCoordinate:mapA.centerCoordinate animated:YES];

I need sometime like this, which as far as I know does not exist:

[mapB setCoordinateOfPoint:cgPoint toCoordinate:mapA.centerCoordinate animated:YES]

How can I do this?