PlaceInfo.Show PlaceInfo.Show PlaceInfo.Show PlaceInfo.Show PlaceInfo.Show Method

Definition

Overloads

Show(Rect) Show(Rect) Show(Rect) Show(Rect) Show(Rect)

Shows in a pop-up window, the map location and related information that is described in the PlaceInfo.

Show(Rect, Placement) Show(Rect, Placement) Show(Rect, Placement) Show(Rect, Placement) Show(Rect, Placement)

Shows in a light-dismissible window, the map location and related information that is described in the PlaceInfo.

Show(Rect) Show(Rect) Show(Rect) Show(Rect) Show(Rect)

Shows in a pop-up window, the map location and related information that is described in the PlaceInfo.

public : void Show(Rect selection)
void Show(Rect selection) const;
public void Show(Rect selection)
Public Sub Show(selection As Rect)
placeInfo.show(selection);

Parameters

selection
Rect Rect Rect

The Rect is the rectangular area of user selection (for example, pressing a button), around which the operating system displays the light-dismissible window, not within that rectangular area. For example, if an app uses a button to show the place, pass the Rect of the button so the light-dismissible window displays around the button, not overlapping it.

Remarks

By default, this window appears below the selection rectangle. If you want to specify a different placement for this window, use the overloaded version of this method that accepts a Placement value as a parameter. This method closes any place card UIs that are already visible.

Show(Rect, Placement) Show(Rect, Placement) Show(Rect, Placement) Show(Rect, Placement) Show(Rect, Placement)

Shows in a light-dismissible window, the map location and related information that is described in the PlaceInfo.

public : void Show(Rect selection, Placement preferredPlacement)
void Show(Rect selection, Placement preferredPlacement) const;
public void Show(Rect selection, Placement preferredPlacement)
Public Sub Show(selection As Rect, preferredPlacement As Placement)
placeInfo.show(selection, preferredPlacement);

Parameters

selection
Rect Rect Rect

The Rect is the rectangular area of user selection (for example, pressing a button), around which the operating system displays the light-dismissible window, not within that rectangular area. For example, if an app uses a button to show the place, pass the Rect of the button so the light-dismissible window displays around the button, not overlapping it.

preferredPlacement
Placement Placement Placement

The preferred placement of the light-dismissible window relative to the rectangle.

Remarks

This method closes any place card UIs that are already visible.