Click or drag to resize

PushPin Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A light-weight object that can be quickly drawn on a map.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.89.0.0
Syntax
[SerializableAttribute]
public class PushPin : IMapRenderer

The PushPin type exposes the following members.

Constructors
  NameDescription
Public methodCode examplePushPin(LatLon)
Create a new pushpin at the given location (as a LatLon).
Public methodCode examplePushPin(LatLon, Int32)
Create a new pushpin at the given location (as a LatLon) with a selected icon.
Top
Properties
  NameDescription
Public propertyCode exampleAlwaysOnTop
Controls whether labels are always shown above other map elements.
Public propertyCode exampleIcon
Gets or sets the Icon number. See IconCache for details.
Public propertyLocation
Gets or sets the location (as a LatLon) of the push pin.
Public propertyRequiredRendermodes
Gets the RenderMode required by this PushPin.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRender
Render pushpins on the given map.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldTag
A user object containing data to associate with this PushPin.
Top
Remarks

A push pin is a light-weight object that can be drawn on an IMap to display information. An example of this is the BalloonPushPin which can be used to show name and address details for a given location on the map. Push pins can be made to respond to mouse clicks by implementing the IMapMouseHandler interface.

Related articles: Map Control Tutorial, Mouse Events.

See Also