Currently, PhysicalVenue#coordinates exists to provide latitude and longitude coordinates of a physical venue. This, by itself, is somewhat enough to create a link to open inside multiple maps applications.
Would it be a good idea to also store specific ID's/references to the venue in the maps databases? For Google Maps, it would be the Place ID; for OpenStreetMap it would be Node id.
@EmeraldSnorlax proposes that we should enforce a specific map vendor and we should model the metadata using URLs.
I was thinking about something like this however:
interface PhysicalVenue {
maps?: {
google: { placeId: string };
osm: { nodeId: string };
[vendor: string]: any;
};
}
Rain has pointed out reasons as to why a vendor-lock in is a good idea:
- When creating events, its not good UX to show "choose a map vendor" and a mile long list
- Having the embed change depending on vendor is bad
Currently,
PhysicalVenue#coordinatesexists to provide latitude and longitude coordinates of a physical venue. This, by itself, is somewhat enough to create a link to open inside multiple maps applications.Would it be a good idea to also store specific ID's/references to the venue in the maps databases? For Google Maps, it would be the Place ID; for OpenStreetMap it would be Node id.
@EmeraldSnorlax proposes that we should enforce a specific map vendor and we should model the metadata using URLs.
I was thinking about something like this however:
Rain has pointed out reasons as to why a vendor-lock in is a good idea: