I have only one comment about the
onMarkerPress but it is just an enhancement of the code.
I can see that you are only checking one single column from the row. So I would suggest to have a variable list and store [list of values…locLati] In it before the loop.
In the loop for locLati not for ID just check if it matches the required Latitude and if YES then get the ID corresponding to the same index (counter) in the locLati list and read the row to obtain the image and name.
This way you will not require to read all rows to check for the required Latitude.
However, the existing code is just fine.