Skip to content

RFC: Physical Venue Map References #7

@deniz-blue

Description

@deniz-blue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions