0
votes

I have a custom photoshop image of an area.

It is mostly rectangular, so I have taken the coordinates of the 4 corners using Google maps.

I would like to translate these 4 corners to x and y axis on that image alone and then use Core Location to display the user's location within those 4 corners (anything outside of that is not necessary).

Can I do this without using a mapview? I really don't need any other functionality outside that small area. Or do I have to overlay a custom tile on mapkit, limit the view and zoom on that area and work from there? (which seems more resource demanding than if there were a Mercator coordinates way of doing this)

Any good tutorials appreciated!

1

1 Answers

0
votes

While it's certainly possible to translate latitude and longitude to x,y coordinates on an image, it's usually more beneficial to use an MKOverlayView (as you described in your question) due to the free functionality you get: current position, annotations, zoom, etc.

One of the projects I've worked on in recent years benefited from having our custom map graphic surrounded by the Apple (or Google) map tiles -- it ended up giving everything a little bit more geographical context.