frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Indicate Points of Interest (POI) on the map

Open jpmens opened this issue 1 year ago β€’ 2 comments

As a proof of concept, our OwnTracks iOS app is able to submit a Point of Interest (POI) upon manually publishing a location from the UI. The app displays these POI on its map.

poi

This POI is added to the JSON payload (element: poi), and as with all elements therein, surfaced by Recorder in the API:

{
      "_type": "location",
      "lat": 17.065921,
      "lon": -96.717023,
      "poi": "Oaxaca, hotel Los Pilares",
      "t": "u",
      "tid": "jp",
      "tst": 1703040222,
     ...
}

It seems to me a good idea to have these POI indicated in the Frontend as well.

jpmens avatar Jan 23 '24 14:01 jpmens

ACK, keeping up with new features provided by the app(s) seems desirable - I'll look into this πŸ‘

linusg avatar Jan 23 '24 14:01 linusg

I'm not particularly fond of shape nor colour combinations, but this is how http://umap.openstreetmap.fr places the label on a geoJSON feature:

rabbit-10637

jpmens avatar Jan 23 '24 16:01 jpmens

Glad to see a feature request was raised for this. I have several POIs submitted but wish I could see these on the front end map.

ykram avatar Jun 01 '24 04:06 ykram

Until that is implemented there's a bit of a workaround (not using Frontend) as detailed in https://github.com/owntracks/recorder/issues/439

jpmens avatar Jun 01 '24 11:06 jpmens

@jpmens how do you like this?

image

linusg avatar Jun 10 '24 18:06 linusg

@linusg that is gorgeous. SHIP IT! ☺️

jpmens avatar Jun 10 '24 18:06 jpmens

Shipped :) https://github.com/owntracks/frontend/releases/tag/v2.15.0

linusg avatar Jun 10 '24 19:06 linusg

Shipped

I've no excuses left: now I'll just have to write the blog post detailing all that has occurred lately in our OwnTracks project (iOS, Android, Frontend) over the past year or two, for our 11th aniversary on the weekend.

jpmens avatar Jun 10 '24 19:06 jpmens

Forgot to link to the blog at the time. Eleven years with OwnTracks

jpmens avatar Dec 27 '24 08:12 jpmens