Place ID Lookup - Apple Maps - Apple Developer
Google Maps have Places ID - Apple Maps have Place ID.
There is no Apple Maps API access without Developer ID (I mean, fair, it's the same for Google Maps) - and in this case, it's only a few places, so I'll manually look up Apple Place ID.
Link format: https://maps.apple.com/place?place-id=I297773D412434F3E
I think the planner is done!
- I spent two days thinking about data synchronization - how to detect the data insertion/deletion/corruption
- I was going to go for overkill and set up WebSocket - but going for a lot less efficient but simpler way - writing into a file
- The script fetches overall file every 3 seconds
- Very wasteful, not scalable
- The script posts to update file only when changes are made
- Hypothetically, if one submits with outdated data, then some newest change (less than 3 seconds old) will be lost
- Statistically, this is unlikely
- The script fetches overall file every 3 seconds
- I was going to go for overkill and set up WebSocket - but going for a lot less efficient but simpler way - writing into a file
Testing tomorrow!
I think the front end logic is pretty much done - now to the backend.
I was thinking simply saving/loading a static json file since the file is small, and only up to four people will be using it at any given time. Buttttt... when else would I get a chance to learn something very new?
I will be looking at websockets, something I've never done, and yes, very much overkill for the purpose :)