Click or drag to resize
BasicGoogleMaps Class
Basic Google maps control that automates databinding.
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsRepeater
      CMS.Base.Web.UIUIRepeater
        CMS.DocumentEngine.Web.UIBasicRepeater
          CMS.DocumentEngine.Web.UICMSAbstractMap
            CMS.DocumentEngine.Web.UIBasicGoogleMaps

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public class BasicGoogleMaps : CMSAbstractMap

The BasicGoogleMaps type exposes the following members.

Constructors
  NameDescription
Public methodBasicGoogleMaps
Top
Fields
  NameDescription
Protected fieldmControlsLoaded
Flag saying whether the dynamic controls has been loaded yet.
(Inherited from BasicRepeater.)
Protected fieldmDataLoaded
Flag saying whether the data has been loaded yet.
(Inherited from BasicRepeater.)
Protected fieldmMapProperties
Map properties.
(Inherited from CMSAbstractMap.)
Protected fieldmOnBeforeInitFired
True if the on before init was fired.
(Inherited from BasicRepeater.)
Protected fieldmRelatedData
Custom data connected to the object.
(Inherited from BasicRepeater.)
Protected fieldmRelatedDataLoaded
Related data is loaded.
(Inherited from BasicRepeater.)
Public fieldStatic memberOK
Indicates that no errors occurred. The address was successfully parsed and at least one geocode was returned.
Protected fieldoutputHtml
Map output Html code.
(Inherited from CMSAbstractMap.)
Public fieldStatic memberOVER_QUERY_LIMIT
Indicates that you are over your quota.
Protected fielduseDataSourceControl
Indicates whether the viewer should obtain data source from the referenced control provided by the value of DataSourceControl property.
(Inherited from BasicRepeater.)
Top
Properties
  NameDescription
Public propertyApiKey
API key for communicating with Google services.
Public propertyCacheDependencies
Cache dependencies, each cache dependency on a new line.
(Inherited from CMSAbstractMap.)
Public propertyCacheItemName
Cache item name.
(Inherited from CMSAbstractMap.)
Public propertyCacheMinutes
Cache minutes.
(Inherited from CMSAbstractMap.)
Public propertyDataBindByDefault
Indicates whether data binding should be performed by default.
(Inherited from BasicRepeater.)
Public propertyDataSource
Object from which data-bound control retrieves its list of data item.
(Inherited from BasicRepeater.)
Public propertyDataSourceControl
Control with data source.
(Inherited from BasicRepeater.)
Public propertyDataSourceName
Gets or sets name of source.
(Inherited from BasicRepeater.)
Protected propertyDefaultDataSource
Default data source to use if no external is provided.
(Inherited from BasicRepeater.)
Public propertyHideControlForZeroRows
Hides the control when no data is loaded. Default value is False.
(Inherited from BasicRepeater.)
Public propertyMainScriptPath
Map script path.
(Inherited from CMSAbstractMap.)
Public propertyMapProperties
Gets or sets map properties.
(Inherited from CMSAbstractMap.)
Public propertyPageableControl
Gets or sets the encapsulated control that implements IUniPageable interface.
(Inherited from BasicRepeater.)
Public propertyPagerDataItem
Pager data item object.
(Inherited from BasicRepeater.)
Public propertyPagerForceNumberOfResults
Gets or sets the number of result. Enables proceed "fake" datasets, where number of results in the dataset is not correspondent to the real number of results This property must be equal -1 if should be disabled
(Inherited from BasicRepeater.)
Protected propertyStatic memberProviderObject
Provider object.
Public propertyRelatedData
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
(Inherited from BasicRepeater.)
Public propertyResolveDynamicControls
Gets or sets the value that indicates whether dynamic controls should be resolved
(Inherited from BasicRepeater.)
Public propertyShortID
Short ID of the control.
(Inherited from UIRepeater.)
Public propertyStopProcessing
Stop control processing.
(Inherited from CMSAbstractMap.)
Public propertyUniPagerControl
Pager control.
(Inherited from BasicRepeater.)
Public propertyZeroRowsText
Text to be shown when the control is hidden by HideControlForZeroRows.
(Inherited from BasicRepeater.)
Top
Methods
  NameDescription
Protected methodBoundPagerToDataSource
Bound pager to the external external DataSource
(Inherited from BasicRepeater.)
Protected methodCreateControlHierarchy
Creates a control hierarchy with or without the specified datasource.
(Inherited from BasicRepeater.)
Public methodDataBind
Binds the data.
(Inherited from BasicRepeater.)
Public methodStatic memberGenerateMap
Generates static map.
Public methodGetGeoCoordinates
Returns coordinates according to location address from Google service.
Public methodHasData
Indicates if datasource contains data.
(Inherited from BasicRepeater.)
Protected methodInitControl
Ensures default data binding
(Inherited from BasicRepeater.)
Protected methodOnInit
Init event handler.
(Inherited from BasicRepeater.)
Protected methodOnItemDataBound
OnItemDataBound override.
(Overrides RepeaterOnItemDataBound(RepeaterItemEventArgs).)
Protected methodOnLoad
OnLoad event handler
(Inherited from BasicRepeater.)
Protected methodOnPreRender
OnPreRender override.
(Overrides BasicRepeaterOnPreRender(EventArgs).)
Protected methodRaiseOnBeforeInit
Raises the OnBeforeInit event.
(Inherited from BasicRepeater.)
Public methodReBind
Evokes control databind.
(Inherited from BasicRepeater.)
Public methodStatic memberRegisterMapScripts
Registers necessary Google javascript files.
Public methodReloadData
Reloads the control data, skips the loading if the data is already loaded.
(Inherited from BasicRepeater.)
Protected methodRender
Render override.
(Overrides BasicRepeaterRender(HtmlTextWriter).)
Top
Extension Methods
  NameDescription
Public Extension MethodCallHandled
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page. Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Top
Events
  NameDescription
Public eventOnBeforeInit
On before init handler.
(Inherited from BasicRepeater.)
Public eventOnPageBinding
Occurs when the control bind data.
(Inherited from BasicRepeater.)
Public eventOnPageChanged
Occurs when the pager change the page and current mode is postback => reload data
(Inherited from BasicRepeater.)
Top
See Also