Share via


PaneState property

Returns or sets the state of the pane on the MapPoint window. Defaults to geoPaneNone for the MapPoint Control. Read/write GeoPaneState.

GeoPaneState

Value

Description

geoPaneLegend

0

Displays the Legend and overview pane

geoPaneNearbyPlaces

2

Displays the Find nearby places pane

geoPaneNone

3

Displays the map only

geoPaneRoutePlanner

1

Displays the Route planner pane

geoPaneTerritory

4

Displays the Territories pane

geoPaneSearchResults

5

Displays the Search results pane

geoPaneGPS

6

Displays the GPS pane

geoPaneMapSettings

8

Displays the Map settings pane

Applies to

Objects: Application, MappointControl

Syntax

object.PaneState

Parameters

Part

Description

object

Required. An expression that returns an Application or MappointControl object.

Remarks

Example

  Sub ShowRoutePlanner()

  Dim objApp As New MapPoint.Application

  'Set up the application
  objApp.Visible = True
  objApp.UserControl = True

  'Show the Route Planner
  objApp.PaneState = geoPaneRoutePlanner

  End Sub