Mapbox from list of addresses AND user's GPS location

  • Add a “Your location” row to your locations table.
  • Add an if-then-else column, if the location name is “Your location”, then use the coordinates from signed-in user’s row, else use the location from the Locations table.
  • Use that if-then-else column in the map.
  • Color the “Your location” pin using CSS.
1 Like