Add user's location to Google Map that is linked to a collection?

I have a google map on my site that is linked to a collection. This map has different markers for different types of members. I love everything about it except the fact that when you open the page, the most recently added record from the collection is selected, and the tool-tip box covers a big part of the map.

Is there a way to have none of the markers selected on load?

I also thought it would be fun to add the current user’s location to the map. I figured out how to do this, but it takes that most recently added pin, and replaces that with the information - I’m using .location on the google map to set it with the details from the location of the user. Maybe this isn’t kosher since the pins are connected to a collection, but it would be a fun way to show things.

Here’s my map: https://flowersites.wixsite.com/utah-flower-farms/local-flower-map

1 Like