Custom current location marker?

Hello!

I’m building an app that pretty heavily uses user location and shares location with friends. Does anyone know a way to change the “Current Location” marker? I’d like the marker to show the user’s profile picture so a user can quickly tell which friend is where. I’m currently using MapBox as the map provider if that is helpful.

yes, this has can be done with JQuery. I remember seeing this on the forums somewhere and replicating it a while back.

Declare two variables:

let lastUpdated = “”;
let lastAddress = “”;

Create a new HTML element: JS Functions: Update Location
Screen Shot 2022-03-15 at 1.58.09 PM

1 Like

update: found the test app i made :smiley: