iansargent Posted January 10, 2022 Share Posted January 10, 2022 Hey! Sorry if this has been answered elsewhere, I did a search and couldn't see anything. I've created a map for my client via Snazzy maps (he needed something with a lot of location markers so the normal map widget wouldn't suffice). He's now asked if it is possible for the users GPS location to be displayed on the map when someone is on the page. I assume it's not possible as there's no option in snazzy maps itself. But wonder if there's a way around that as it's basically taking google maps and adding a skin to it. Cheers, Ian Beyondspace 1 Link to comment
Beyondspace Posted January 10, 2022 Share Posted January 10, 2022 4 hours ago, iansargent said: Hey! Sorry if this has been answered elsewhere, I did a search and couldn't see anything. I've created a map for my client via Snazzy maps (he needed something with a lot of location markers so the normal map widget wouldn't suffice). He's now asked if it is possible for the users GPS location to be displayed on the map when someone is on the page. I assume it's not possible as there's no option in snazzy maps itself. But wonder if there's a way around that as it's basically taking google maps and adding a skin to it. Cheers, Ian You can implement this feature using html5 geolocation or using IP detection to get the current user lat-lng and display on the map, snazzy map is only a styling map which is provided via JSON option, the main feature still be google maps Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
iansargent Posted January 10, 2022 Author Share Posted January 10, 2022 9 minutes ago, bangank36 said: You can implement this feature using html5 geolocation or using IP detection to get the current user lat-lng and display on the map, snazzy map is only a styling map which is provided via JSON option, the main feature still be google maps ah OK, so I need to embed some code in my Google Maps API? Link to comment
Beyondspace Posted January 10, 2022 Share Posted January 10, 2022 2 minutes ago, iansargent said: ah OK, so I need to embed some code in my Google Maps API? Yes I think so Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
iansargent Posted January 10, 2022 Author Share Posted January 10, 2022 3 minutes ago, bangank36 said: Yes I think so Yeah, just looked into it. Found the code for geolocation on google maps platform, just need to find out how to implement it in a way that plays nicely with squarespace. Everything I've tried so far doesn't work. Thanks anyway, you've got me one step closer! Link to comment
iansargent Posted February 10, 2022 Author Share Posted February 10, 2022 Quick bump on this as I've hit a bit of a dead end. Anyone had success getting this working in a squarespace site? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment