nextcloud / maps

🌍🌏🌎 The whole world fits inside your cloud!
https://apps.nextcloud.com/apps/maps
GNU Affero General Public License v3.0
495 stars 89 forks source link

Share images through maps #714

Open kbftech opened 2 years ago

kbftech commented 2 years ago

Description:

Use cases:

Acceptance crieria:

Spartachetto commented 2 years ago

Other Nice to have :

  1. It is possible for the other apps to interact with this functionality (an API, maybe).
  2. this functionality works also for the contacts (1+2 = I can send a message to all my contacts/users in a specific area)
  3. I can define complex regions like "inside this circle A except the ones inside the circle B". If a society is organizing an event it could share all the photos except the ones "in the backstage". This last one can grow really complex and requires a lot of work for the interface.
tacruc commented 2 years ago

@Spartachetto: Point 2+3 The esiest way for this abstract Region would be a validation function, which returns truw if the point is inside and falls otherwise. In this abstract way I'm not shure whats would the job oft the maps APP. You can get contact with geo attribute from the Server via DAV. All which remains is a For loop filtiering with the validation function. So this for loop would add an entrie dependency to the maps APP.

Spartachetto commented 2 years ago

@tacruc first of all thanks for taking the time to answer.

I get your point: the logical definition of a complex area (point 3) and the verification if an object like a contact falls within it (point 2) are probably better done in the server.

What could be the role of the maps app? Here are some suggestions for your consideration: