Click or drag to resize

BalloonPushPin Constructor (String, GeocodeAddress)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Construct a new BalloonPushPin with a given name, placed at the given GeocodeAddress and displaying information about that address.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public BalloonPushPin(
	string name,
	GeocodeAddress address
)

Parameters

name
Type: SystemString
The name of the new balloon.
address
Type: Telogis.GeoBaseGeocodeAddress
A GeocodeAddress which is resolved to street address information.
Remarks

Information is set to contain street and postal information.

By using this constructor (instead of BalloonPushPin(String, LatLon)) it ensures that the correct address is used to label the balloon (as a LatLon may resolve to an undesired address).

Examples
C#
GeocodeAddress[] addresses = GeoCoder.GeoCode("14 Enterprise, Aliso Viejo, California, 92656", Country.USA);
BalloonPushPin myPin = new BalloonPushPin("Name Example", addresses[0]);
See Also