User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.googleoverlay

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.GoogleOverlay

<!– Class –> Represents an overlay object that gets images from the Google Maps server.

Remarks

The GoogleOverlay registers Google's Javascript library to the page and gets Google's map images as the background of the map. The GoogleOverlay can only be the base overlay of the map, over which other overlays are laid.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodGoogleOverlay Initialize an instance of the GoogleOverlay class.
Public MethodGoogleOverlay String Initialize an instance of the GoogleOverlay class with the overlay identifier specified.
Public MethodGoogleOverlay GoogleMapType Initialize an instance of the GoogleOverlay class with the overlay identifier
Public MethodGoogleOverlay String, GoogleMapType Initialize an instance of the GoogleOverlay class with the overlay identifier and the Google map type specified.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodFromJson String Overlay(overriden) Load this object from a json string.
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToJson Overlay Returns a JSON string which contains the information for creating an overlay at the client side.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object
Protected MethodRegisterJavaScriptLibraryCore Page Overlay(overriden) Registers the Google Javascript library URL string to the client HTML page.

Public Properties

Name Return DeclaringType Summary
Public PropertyAttribution String Overlay
Public PropertyAutoRefreshInterval TimeSpan Overlay Gets or sets the time interval in which the MarkerOverlay refreshes itself.
Public PropertyCenterOnStreetView Boolean
Public PropertyGoogleMapType GoogleMapType Gets or sets a value that determines which type of Google Map to use.
Public PropertyGoogleStreetView GoogleStreetView
Public PropertyId String Overlay Gets the identifier for the overlay to be found.
Public PropertyIsBaseOverlay Boolean Overlay Gets or sets a value that indicates whether the overlay is a base overlay.
Public PropertyIsVisible Boolean Overlay Gets or sets a value that indicates whether the overlay is visible on the map.
Public PropertyIsVisibleInOverlaySwitcher Boolean Overlay Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher.
Public PropertyJavaScriptLibraryUri Uri Gets or sets a URI object for loading the Google Maps Javascript library.
Public PropertyName String Overlay Gets or sets the name of the overlay, which will display in the OverlaySwitcher.
Public PropertyOnClientAutoRefreshTick String Overlay(overriden) Don't support auto tick event by default.
Public PropertyOpacity Single Overlay Gets or sets the opacity level of the overlay.
Public PropertyTiltEnabled Boolean
Public PropertyTrafficEnabled Boolean

Protected Properties

Name Return DeclaringType Summary
Protected PropertyOverlayType String Overlay(overriden) Gets a string that indicates the overlay type.

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

GoogleOverlay()

Initialize an instance of the GoogleOverlay class.

Overloads

Initialize an instance of the GoogleOverlay class.

Parameters

Name Type Description

Go Back

GoogleOverlay(String)

Initialize an instance of the GoogleOverlay class with the overlay identifier specified.

Overloads

Initialize an instance of the GoogleOverlay class.

Parameters

Name Type Description
id String<!– System.String –> The identifier string of the overlay.

Go Back

GoogleOverlay(GoogleMapType)

Initialize an instance of the GoogleOverlay class with the overlay identifier

Parameters

Name Type Description
googleMapType GoogleMapType<!– ThinkGeo.MapSuite.MvcEdition.GoogleMapType –> The map type of this GoogleOverlay.

Go Back

GoogleOverlay(String, GoogleMapType)

Initialize an instance of the GoogleOverlay class with the overlay identifier and the Google map type specified.

Overloads

Initialize an instance of the GoogleOverlay class.

Parameters

Name Type Description
id String<!– System.String –> The identifier string of the Overlay.
googleMapType GoogleMapType<!– ThinkGeo.MapSuite.MvcEdition.GoogleMapType –> The map type of this GoogleOverlay.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

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

Parameters

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

<!– System.Object –> Go Back

FromJson(String)

Load this object from a json string.

Return Value

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

Parameters

Name Type Description
jsonString String<!– System.String –> a json string

<!– ThinkGeo.MapSuite.MvcEdition.Overlay(overriden) –> 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 information for creating an overlay at the client side.

Return Value

Return Type Description
String<!– System.String –> A JSON string which is used to create an overlay at the client side.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.Overlay –> 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

RegisterJavaScriptLibraryCore(Page)

Registers the Google Javascript library URL string to the client HTML page.

Return Value

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

Parameters

Name Type Description
page Page<!– System.Web.UI.Page –> The page object that contains the map.

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

Public Properties

Attribution

Return Value

Return Type
String<!– System.String –>

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

AutoRefreshInterval

Gets or sets the time interval in which the MarkerOverlay refreshes itself.

Return Value

Return Type
TimeSpan<!– System.TimeSpan –>

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

CenterOnStreetView

Return Value

Return Type
Boolean<!– System.Boolean –>

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

GoogleMapType

Gets or sets a value that determines which type of Google Map to use.

Return Value

Return Type
GoogleMapType<!– ThinkGeo.MapSuite.MvcEdition.GoogleMapType –>

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

GoogleStreetView

Return Value

Return Type
GoogleStreetView<!– ThinkGeo.MapSuite.MvcEdition.GoogleStreetView –>

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

Id

Gets the identifier for the overlay to be found.

Return Value

Return Type
String<!– System.String –>

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

IsBaseOverlay

Gets or sets a value that indicates whether the overlay is a base overlay.

Return Value

Return Type
Boolean<!– System.Boolean –>

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

IsVisible

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

Return Value

Return Type
Boolean<!– System.Boolean –>

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

IsVisibleInOverlaySwitcher

Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher.

Return Value

Return Type
Boolean<!– System.Boolean –>

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

JavaScriptLibraryUri

Gets or sets a URI object for loading the Google Maps Javascript library.

Return Value

Return Type
Uri<!– System.Uri –>

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

Name

Gets or sets the name of the overlay, which will display in the OverlaySwitcher.

Return Value

Return Type
String<!– System.String –>

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

OnClientAutoRefreshTick

Don't support auto tick event by default.

Return Value

Return Type
String<!– System.String –>

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

Opacity

Gets or sets the opacity level of the overlay.

Remarks

The <strong>Opacity</strong> property enables you to specify a level of transparency for the overlay. When this property is set to a value less than 100 percent (1.00), the entire overlay 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 overlay completely invisible.

Return Value

Return Type
Single<!– System.Single –>

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

TiltEnabled

Return Value

Return Type
Boolean<!– System.Boolean –>

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

TrafficEnabled

Return Value

Return Type
Boolean<!– System.Boolean –>

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

Protected Properties

OverlayType

Gets a string that indicates the overlay type.

Return Value

Return Type
String<!– System.String –>

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

Public Events

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