Firstly apologies, I have asked this question a couple times already on this forum, both as its own post and in the comments of other posts, but I have still not been able to find an answer. So any help would be greatly appreciated.
I have followed the below example:
I have been able to create a map with multiple markers all coming from my database. I would now like to centre the map on the users location.
I have found bits of advise on this forum and via google, but haven't been able to get it to work. Could anyone tell me how to change the code in the example above so that it centres on the user.
Many thanks - this has been frustrating me for awhile!