User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.cloudpopup

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.CloudPopup

<!– Class –> Represents the popups that appear in a cloud (a.k.a. balloon) shape.

Remarks

When you add a <strong>CloudPopup</strong> object to map, a cloud-shaped popup will be created at the client side.

You can put any HTML string in the <strong>ContentHtml</strong> property, which will be parsed and displayed in the popup.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodCloudPopup Initialize an instance of the CloudPopup class.
Public MethodCloudPopup String Initialize an instance of the CloudPopup class with an Id string.
Public MethodCloudPopup String, PointShape Initialize an instance of the CloudPopup class with an Id string and the position.
Public MethodCloudPopup String, PointShape, String Initialize an instance of the CloudPopup class with an Id string, position and the content of the popup.
Public MethodCloudPopup String, PointShape, String, Int32, Int32 Initialize an instance of the CloudPopup class with Id string, position, popup content and size.
Public MethodCloudPopup String, PointShape, String, Int32, Int32, Boolean Initialize an instance of the CloudPopup class with an Id string, position, popup content, popup size and a boolean value that determines whether to pan the map if necessary to show the full popup.
Public MethodCloudPopup String, PointShape, String, Int32, Int32, Boolean, Boolean Initialize an instance of the CloudPopup class with an Id string, position, popup's content, popup size, a boolean value for whether to pan the map to show the popup, and a boolean value for whether to have a close button on the popup.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodCloneShallow Popup Creates a shallow copy of the current popup object.
Public MethodEquals Object Object
Public MethodFromJson String Popup
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToJson Popup Returns a JSON string which contains the popup's information and is used to create the popup at the client side.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyAutoPan Boolean Popup Gets or sets a value that indicates whether to pan the map to display the entire popup if the popup is not fully displayed.
Public PropertyAutoSize Boolean Popup Gets or sets a value that indicates whether the popup is automatically resized to fit its contents.
Public PropertyContentHtml String Gets or sets the content HTML of the popup window.
Public PropertyHasCloseButton Boolean Popup Gets or sets a value that indicates whether the popup window has a close button in the upper right corner.
Public PropertyHeight Int32 Popup Gets or sets the height of the popup.
Public PropertyId String Popup Gets the identifier by which you can find the popup.
Public PropertyIsVisible Boolean Popup Gets or sets a value that indicates whether the popup is visible on the map.
Public PropertyOffsetXInPixels Int32 Popup Gets or sets the popup's pixel offset in X direction.
Public PropertyOffsetYInPixels Int32 Popup Gets or sets the popup's pixel offset in Y direction.
Public PropertyOpacity Single Popup Gets or sets the opacity level of the popup.
Public PropertyPosition PointShape Popup Gets or sets a point shape in world coordinates that represents the position of the popup.
Public PropertyWidth Int32 Popup Gets or sets the width of the popup.

Protected Properties

Name Return DeclaringType Summary
Protected PropertyPopupType String Popup(overriden) Gets a string that represents the type of the Popup object.

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

CloudPopup()

Initialize an instance of the CloudPopup class.

Overloads

Initialize an instance of the CloudPopup class.

Parameters

Name Type Description

Go Back

CloudPopup(String)

Initialize an instance of the CloudPopup class with an Id string.

Overloads

Initialize an instance of the CloudPopup class.

Parameters

Name Type Description
id String<!– System.String –> The identifier by which you can find the popup.

Go Back

CloudPopup(String, PointShape)

Initialize an instance of the CloudPopup class with an Id string and the position.

Overloads

Initialize an instance of the CloudPopup class.

Parameters

Name Type Description
id String<!– System.String –> The identifier by which you can find the popup.
position PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> A point shape in world coordinates that indicates the position of the popup.

Go Back

CloudPopup(String, PointShape, String)

Initialize an instance of the CloudPopup class with an Id string, position and the content of the popup.

Overloads

Initialize an instance of the CloudPopup class.

Parameters

Name Type Description
id String<!– System.String –> The identifier by which you can find the popup.
position PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> A point shape in world coordinates that indicates the position of the popup.
contentHtml String<!– System.String –> An HTML string rendered as the popup content.

Go Back

CloudPopup(String, PointShape, String, Int32, Int32)

Initialize an instance of the CloudPopup class with Id string, position, popup content and size.

Overloads

Initialize an instance of the CloudPopup class.

Parameters

Name Type Description
id String<!– System.String –> The identifier by which you can find the popup.
position PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> A point shape in world coordinates that indicates the position of the popup.
contentHtml String<!– System.String –> An HTML string rendered as the popup content.
width Int32<!– System.Int32 –> An int value that indicates the popup's width.
height Int32<!– System.Int32 –> An int value that indicates the popup's height.

Go Back

CloudPopup(String, PointShape, String, Int32, Int32, Boolean)

Initialize an instance of the CloudPopup class with an Id string, position, popup content, popup size and a boolean value that determines whether to pan the map if necessary to show the full popup.

Overloads

Initialize an instance of the CloudPopup class.

Parameters

Name Type Description
id String<!– System.String –> The identifier by which you can find the popup.
position PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> A point shape in world coordinates that indicates the position of the popup.
contentHtml String<!– System.String –> An HTML string rendered as the popup content.
width Int32<!– System.Int32 –> An int value that indicates the popup's width.
height Int32<!– System.Int32 –> An int value that indicates the popup's height.
autoPan Boolean<!– System.Boolean –> A boolean value indicating whether to pan the map if necessary to show the full popup.

Go Back

CloudPopup(String, PointShape, String, Int32, Int32, Boolean, Boolean)

Initialize an instance of the CloudPopup class with an Id string, position, popup's content, popup size, a boolean value for whether to pan the map to show the popup, and a boolean value for whether to have a close button on the popup.

Overloads

Initialize an instance of the CloudPopup class.

Parameters

Name Type Description
id String<!– System.String –> The identifier by which you can find the popup.
position PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> A point shape in world coordinates that indicates the position of the popup.
contentHtml String<!– System.String –> An HTML string rendered as the popup content.
width Int32<!– System.Int32 –> An int value that indicates the popup's width.
height Int32<!– System.Int32 –> An int value that indicates the popup's height.
autoPan Boolean<!– System.Boolean –> A boolean value indicating whether to pan the map if necessary to show the full popup.
hasCloseButton Boolean<!– System.Boolean –> A boolean value indicating whether the popup should have a close button.

Go Back

Protected Constructors

Public Methods

CloneShallow()

Creates a shallow copy of the current popup object.

Return Value

Return Type Description
Popup<!– ThinkGeo.MapSuite.MvcEdition.Popup –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

FromJson(String)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
jsonString String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToJson()

Returns a JSON string which contains the popup's information and is used to create the popup at the client side.

Return Value

Return Type Description
String<!– System.String –> A string that is used to create the popup at the client side.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

AutoPan

Gets or sets a value that indicates whether to pan the map to display the entire popup if the popup is not fully displayed.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

AutoSize

Gets or sets a value that indicates whether the popup is automatically resized to fit its contents.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

ContentHtml

Gets or sets the content HTML of the popup window.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.CloudPopup –> Go Back

HasCloseButton

Gets or sets a value that indicates whether the popup window has a close button in the upper right corner.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

Height

Gets or sets the height of the popup.

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

Id

Gets the identifier by which you can find the popup.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

IsVisible

Gets or sets a value that indicates whether the popup is visible on the map.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

OffsetXInPixels

Gets or sets the popup's pixel offset in X direction.

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

OffsetYInPixels

Gets or sets the popup's pixel offset in Y direction.

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

Opacity

Gets or sets the opacity level of the popup.

Remarks

The <strong>Opacity</strong> property enables you to specify a level of transparency for the popup. When this property is set to a value less than 100 percent (1.00), the entire popup (including its content) is made more transparent. The lower the value, the more transparent it is. Setting this property to a value of 0 percent (0.00) makes the popup completely invisible.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

Position

Gets or sets a point shape in world coordinates that represents the position of the popup.

Return Value

Return Type
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

Width

Gets or sets the width of the popup.

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup –> Go Back

Protected Properties

PopupType

Gets a string that represents the type of the Popup object.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.Popup(overriden) –> Go Back

Public Events

thinkgeo.mapsuite.mvcedition.cloudpopup.1440040131.txt.gz · Last modified: 2015/09/21 03:32 (external edit)