Morfik Controls - GoogleMap

From Morfikwiki.com

Jump to: navigation, search
Figure 1 – A Google Map control.

In Morfik AppsBuilder the GoogleMap control is used to provide Google Maps functionality in your XApps.

Contents


[edit] Usage

The GoogleMap custom control provides a simple and powerful way for you to integrate Google Maps into your XApps. To see this control in action, simply open the Mapping Device project that is bundled with your Morfik installation (AppsBuilder 2.0.4.73 or later).

[edit] Frequently used Properties

The following is a list of the most commonly used properties of the GoogleMap control with a short description of their function.

[edit] APIKey

This property specifies the Maps API Key that will be used to communicate with Google's servers. Before deploying your XApp, you should obtain a Maps API Key from Google and paste it in here.

[edit] MarkerPosX

This property allows you to specify the X coordinate of the starting location on your map.

[edit] MarkerPosY

This property allows you to specify the Y coordinate of the starting location on your map.

[edit] ShowLargeMapControl

This property specifies whether to display the large or small version of the map zoom/pan device in the top-left corner of the map.

[edit] ShowMapControl

This property specifies whether to show or hide the map zoom/pan device in the top-left corner of the map.

[edit] ShowMapType

This property specifies whether to display the Map/Satellite/Hybrid buttons in the top-right corner of the map.

[edit] ShowMarker

[edit] ShowTooltip

[edit] Other Properties

The following is a list of less-commonly used properties of the GoogleMap control with a short description of their function.

[edit] BorderColor

The BorderColor property specifies the color that should be used for drawing a rectangular border around the control. Note: the border will not be visible unless the BorderStyle and BorderWidth properties are also set.

[edit] BorderStyle

The BorderStyle property specifies the line style that should be used for drawing a rectangular border around the control. Note: the border will not be visible unless the BorderColor and BorderWidth properties are also set.

[edit] BorderWidth

The BorderWidth property specifies the width of a rectangular border to be drawn around the control. Note: the border will not be visible unless the BorderColor and BorderStyle properties are also set.

[edit] Color

The Color property has no effect for the GoogleMap control.

[edit] Cursor

The Cursor property has no effect for the GoogleMap control.

[edit] Font

The Font property has no effect for the GoogleMap control.

[edit] Height

The Height property specifies the vertical extent of the control. Note: if the CanGrow or CanShrink properties are set, the actual height of the control at run time may be different.

[edit] Hint

The Hint property, if set, specifies the text of a tooltip that is displayed when the end user moves the mouse cursor over the GoogleMap control.

[edit] HorizontalPlacement

The HorizontalPlacement property, if set, governs how the control adjusts its size and position in response to changes in the horizontal dimensions of its parent.

[edit] Left

The Left property specifies the horizontal position of the GoogleMap control.

[edit] Name

The Name property specifies the identifier used to reference the GoogleMap control from browser- or server-side code.

[edit] Opacity

The Opacity property determines the extent to which the GoogleMap control obscures any controls placed in its background. A value of 0 means that background controls are fully visible, whereas a value of 100 means that background controls are completely obscured.

[edit] Top

The Top property specifies the vertical position of the GoogleMap control.

[edit] VerticalPlacement

The VerticalPlacement property, if set, governs how the GoogleMap control adjusts its size and position in response to changes in the vertical dimensions of its parent.

[edit] Visible

The visible property is used to make controls visible or invisible.

[edit] Welcome

[edit] Width

The Width property specifies the horizontal extent of the GoogleMap control.

[edit] Events

The GoogleMap control has no events.

[edit] See also

Personal tools