Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TappedMapPin

A user taps a pin on a City Guide map: the city map, or the map view of a guide or itinerary

This schema describes events sent to Segment from [[tappedMapPin]]

example

A single pin

 {
   action: "tappedMapPin",
   context_screen_owner_slug: "london-united-kingdom",
   context_screen_owner_type: "cityGuideMap",
   is_cluster: false,
   owner_id: "5f2c930b1ee0d500043b47dd",
   owner_slug: "andy-warhol-flowers",
   owner_type: "show"
 }
example

A cluster of pins

 {
   action: "tappedMapPin",
   context_screen_owner_id: "b0b1c2d3-e4f5-4a6b-8c9d-0e1f2a3b4c5d",
   context_screen_owner_type: "cityGuideGuide",
   is_cluster: true
 }

Hierarchy

  • TappedMapPin

Index

Properties

action

action: tappedMapPin

Optional context_screen_owner_id

context_screen_owner_id: undefined | string

Optional context_screen_owner_slug

context_screen_owner_slug: undefined | string

context_screen_owner_type

context_screen_owner_type: ScreenOwnerType

is_cluster

is_cluster: boolean

Optional owner_id

owner_id: undefined | string

The pin's entity. Not set for a cluster, or for a custom stop with no Artsy entity.

Optional owner_slug

owner_slug: undefined | string

Optional owner_type

owner_type: OwnerType

Generated using TypeDoc