I want these lines to be visible on a regular map in such a way where each square represents 1x1m.
I looked into MKTileOverlay
but didn't find too much about it. Is it possible to show the gridline on the map as well as change the color?
Copyright © 2021 Jogjafile Inc.
I've done something very similar for an app I've been playing around with. Mine is for putting a coloured grid over a map so that there are 15 columns and rows in a square mile around a home location, so you'll need to adjust the calculations for your distances but the same general approach should work. The app is only a prototype at the moment, and hasnt been optimised (could refactor code out of viewDidLoad for a start!), but the code should be good enough to get you started.