OpenBeta / open-tacos

Rock climbing route catalog (openbeta.io)
https://openbeta.io
GNU Affero General Public License v3.0
110 stars 111 forks source link

feat: (#1113) save map view state #1125

Closed svkorepanov closed 2 months ago

svkorepanov commented 2 months ago

name: Pull request about: Create a pull request title: '' labels: '' assignees: ''


What type of PR is this?(check all applicable)

Description

This pull request addresses https://github.com/OpenBeta/open-tacos/issues/1113, where we want to create a shareable link that we can communicate zoom level and lat long center values.

Related Issues

Issue #1113

What this PR achieves

Screenshots, recordings

ezgif-7-e600230a0a

Notes

vercel[bot] commented 2 months ago

@svkorepanov is attempting to deploy a commit to the openbeta-dev Team on Vercel.

A member of the Team first needs to authorize it.

musoke commented 2 months ago

Would it be possible to format the coordinates in the URL similar to the OSM example? Just so it's easier to read and to copy and paste.

I think it's just the "/" vs "%2F" that is different. A comma might be even better.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
open-tacos ✅ Ready (Inspect) Visit Preview Apr 29, 2024 4:41pm
svkorepanov commented 2 months ago

Would it be possible to format the coordinates in the URL similar to the OSM example? Just so it's easier to read and to copy and paste.

I think it's just the "/" vs "%2F" that is different. A comma might be even better.

@musoke Thank you for the comment. I managed to format slash "/" without being percent encoded. Also gave my opinion on that here

svkorepanov commented 2 months ago

Updated footage

save-map

vnugent commented 2 months ago

@all-contributors add @svkorepanov for code

allcontributors[bot] commented 2 months ago

@vnugent

I've put up a pull request to add @svkorepanov! :tada: