Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Feature #2292

Closed
wants to merge 1 commit into from
Closed

Map Feature #2292

wants to merge 1 commit into from

Conversation

EPP100
Copy link

@EPP100 EPP100 commented Apr 19, 2023

A map view to display where photos were taken

@vercel
Copy link

vercel bot commented Apr 19, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
immich ⬜️ Ignored (Inspect) Apr 19, 2023 3:56pm

Copy link
Member

@bo0tzz bo0tzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! For now, just a few high level thoughts from me.

@@ -17,7 +17,7 @@
"name": "assetId",
"required": false,
"in": "query",
"description": "Only returns albums that contain the asset\nIgnores the shared parameter\nundefined: get all albums",
"description": "Only returns albums that contain the asset\rIgnores the shared parameter\rundefined: get all albums",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some odd whitespace changes in this PR, please remove those.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, I believe that EPP said on discord that he wouldn't be able to work on this further

Comment on lines +38 to +40
.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this approach is not in compliance with OSM's tile usage policy (https://operations.osmfoundation.org/policies/tiles/). Can we change things so that it is, or do we need to evaluate using another tileserver?

Comment on lines +152 to +157
<link
rel="stylesheet"
href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""
/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please install this as an NPM dependency instead of using a CDN.

@bo0tzz
Copy link
Member

bo0tzz commented Apr 29, 2023

Superseded by #2355

@bo0tzz bo0tzz closed this Apr 29, 2023
@jrasm91
Copy link
Contributor

jrasm91 commented Apr 29, 2023

Thanks for kick starting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants