SeaItRise / SeaItRise-v1

Apache License 2.0
1 stars 0 forks source link

Access the kinvey filestore and plot markers for all photos taken in a given map bounding box #2

Closed cpsarason closed 6 years ago

cpsarason commented 7 years ago

A central piece of functionality missing from the Sea It Rise app is the linking of photos taken by the user community to the map view.

Story: As a user browses the map view, Sea It Rise will display marker icons for photos taken nearby. Only photos in the nearby area should be shown, so that the map loads quickly (less than 1s)

cpsarason commented 7 years ago

need to break this into some discrete tasks:

  1. add lat/lon metadata to kinvey metadata for photos in the file store
  2. figure out how to pull back coordinates and fileIDs for only those photos in a bounding box
  3. Plot resulting markers on the map.
cpsarason commented 7 years ago

Made progress getting Kinvey to only return images inside a bounding box, but need to have all images contain geolocation data. (items 1&2 well underway).

cpsarason commented 7 years ago

changes at ~/experiment/files-geo.html

cpsarason commented 7 years ago

use this? https://www.w3schools.com/html/html5_geolocation.asp

cpsarason commented 6 years ago

Completed for web app. Markers have some kind of magic appear/disappear behavior (I believe related to being able to cluster them) so still a bit wonky, but basically works