Modules.Map.Annotation
> Modules.Map.Annotation

Represents a labeled point of interest on the map that the user can click on.

The Annotation object gives you low-level control over annotations that can be added to map view. An annotation must have its latitude and longitude properties set to appear on a map.

Use the Modules.Map.createAnnotation method to create an annotation. Starting with Alloy 1.4.0, use the <Annotation> Alloy element to define one in XML markup.

An annotation can also have a title, a subtitle, and two inset buttons or views on the left and right side of the title. All of these items are optional.

The controls on the left and right side of the annotation can be specified in one of two ways:

  • To display an image, set the leftButton or rightButton property to an image URL. (On iOS, you can also use a SystemButton constant to use one of the native system button icons.)

  • To add another type of view to the annotation, set the leftView or rightView property to a View object.

An annotation has two states: selected and deselected. A deselected annotation is marked by a pin image. When the user selects the pin, the full annotation is displayed.

You can specify a custom image for the map pin by setting the image property.

When the user clicks on an annotation, a click event is generated.

On iOS, You can add a click event listener to a specific annotation, or add a click event listener to the map view to receive click events from all annotations on the map.

On Android, you must add the click event listener to the map view; the annotation itself does not generate these events.

  • 3.0.2
  • 3.2.0
  • 3.2.0
Defined By

Properties

Modules.Map.Annotation
: Number
The display priority of this annotation view. ...

The display priority of this annotation view.

Requires: iOS 11.0 and later

An annotation view whose priority is set to MKFeatureDisplayPriorityRequired is always visible on the map, whereas other priorities may result in the annotation view being hidden. Use Modules.Map.FEATURE_DISPLAY_PRIORITY_REQUIRED, Modules.Map.FEATURE_DISPLAY_PRIORITY_DEFAULT_HIGH or Modules.Map.FEATURE_DISPLAY_PRIORITY_DEFAULT_LOW.

This API can be assigned the following constants:

Default: Modules.Map.FEATURE_DISPLAY_PRIORITY_REQUIRE

  • 6.3.0
  • 6.3.0
apiName : Stringreadonly

The name of the API that this proxy corresponds to.

The name of the API that this proxy corresponds to.

The value of this property is the fully qualified name of the API. For example, Button returns Ti.UI.Button.

  • 3.2.0
  • 3.2.0
  • 3.2.0
Indicates if the proxy will bubble an event to its parent. ...

Indicates if the proxy will bubble an event to its parent.

Some proxies (most commonly views) have a relationship to other proxies, often established by the add() method. For example, for a button added to a window, a click event on the button would bubble up to the window. Other common parents are table sections to their rows, table views to their sections, and scrollable views to their views. Set this property to false to disable the bubbling to the proxy's parent.

Default: true

  • 3.0.0
  • 3.0.0
  • 3.0.0
Modules.Map.Annotation
canShowCallout : Boolean

Defines whether the annotation view is able to display extra information in a callout bubble.

Defines whether the annotation view is able to display extra information in a callout bubble.

When this is set to true, the annotation view shows the callout bubble on selection. Set this to false to disabled the showing of the callout bubble on selection. This must be set before the annotation is added to the map.

If this value is undefined, the value is treated as explicit true.

  • 3.2.0
  • 3.2.0
Modules.Map.Annotation
centerOffset : Point

Defines a center offset point for the annotation.

Defines a center offset point for the annotation.

By default, the center point of an annotation view is placed at the coordinate point of the associated annotation. Use this property to reposition the annotation view as needed. Positive offset values move the annotation view down and right, while negative values move it up and left.

Modules.Map.Annotation
: String
An identifier that determines whether the annotation view participates in clustering. ...

An identifier that determines whether the annotation view participates in clustering.

Requires: iOS 11.0 and later

The default value of this property is null, which prevents the annotation view from being clustered with other annotation views. Setting the property to a non null value it to participate in clustering. Clustering occurs when there is a collision between multiple annotation views with the same identifier on the map surface. The annotation views involved in the collision are removed from the map view and replaced by a clustering annotation view, which displays the title from one of the annotations and provides access to the other annotations.

Default:

  • 7.4.0
  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: Number
The collision mode to use when interpreting the collision frame rectangle. ...

The collision mode to use when interpreting the collision frame rectangle.

Requires: iOS 11.0 and later

Use Modules.Map.ANNOTATION_VIEW_COLLISION_MODE_RECTANGLE or Modules.Map.ANNOTATION_VIEW_COLLISION_MODE_CIRCLE.

This API can be assigned the following constants:

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
customView : Titanium.UI.View

Defines a custom view to be used by the annotation.

Defines a custom view to be used by the annotation.

Must be set during creation. User interaction is disabled on the view. No view interaction events (click, touchstart etc) will be fired.

  • 3.1.0
  • 3.2.0
  • 3.2.0
Modules.Map.Annotation
: Boolean
Determines whether the pin can be dragged by the user. ...

Determines whether the pin can be dragged by the user.

When an annotation is draggable, it can be moved by the user by long pressing on the pin.

Default: false

Modules.Map.Annotation
: Boolean
Determines whether the annotation is hidden or not. ...

Determines whether the annotation is hidden or not.

Default: false

  • 6.1.0
  • 6.1.0
  • 6.1.0
Modules.Map.Annotation
: String/Titanium.Blob
Image to use for the the pin. ...

Image to use for the the pin.

Must be set during creation. This is ignored if the customView property is set.

Default: If not specified, a standard map pin image is used.

Modules.Map.Annotation
latitude : Number

Latitude of the annotation, in decimal degrees.

Latitude of the annotation, in decimal degrees.

Modules.Map.Annotation
leftButton : String

Left button image on the annotation, specified as an image URL.

Left button image on the annotation, specified as an image URL.

  • 3.1.0
  • 3.2.0
  • 3.2.0
Modules.Map.Annotation
leftView : Titanium.UI.View

Left view that is displayed on the annotation.

Left view that is displayed on the annotation.

This is ignored if the leftButton property is set.

  • 3.1.0
  • 3.2.0
  • 3.2.0

The Window or TabGroup whose Activity lifecycle should be triggered on the proxy.

The Window or TabGroup whose Activity lifecycle should be triggered on the proxy.

If this property is set to a Window or TabGroup, then the corresponding Activity lifecycle event callbacks will also be called on the proxy. Proxies that require the activity lifecycle will need this property set to the appropriate containing Window or TabGroup.

  • 3.6.0
Modules.Map.Annotation
longitude : Number

Longitude of the annotation, in decimal degrees.

Longitude of the annotation, in decimal degrees.

Modules.Map.Annotation
: Boolean
Boolean indicating whether the marker animates into position onscreen. ...

Boolean indicating whether the marker animates into position onscreen.

Requires: iOS 11.0 and later

Default: false

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: String
The background color of the marker balloon. ...

The background color of the marker balloon.

Requires: iOS 11.0 and later

The default value of this property is undefined, which applies the standard color that is appropriate for the current map style.

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: String
The color to apply to the glyph text or image. ...

The color to apply to the glyph text or image.

Requires: iOS 11.0 and later

The default value of this property is undefined, which applies the standard tint color for the current map style.

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: String/Titanium.Blob
The image displayed in the marker balloon. ...

The image displayed in the marker balloon.

Requires: iOS 11.0 and later

Use this property or the markerGlyphText property to specify the marker balloon content. If you specify both an image and text, the text is displayed. The glyph image is displayed when the marker is in the normal state. Create glyph images as template images so that the glyph tint color can be applied to it. Normally, you set the size of this image to 20 by 20 points on iOS. However, if you do not provide a separate selected image in the markerSelectedGlyphImage property, make the size of this image 40 by 40 points on iOS. MapKit scales images that are larger or smaller than those sizes.

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: String
The text to display in the marker balloon. ...

The text to display in the marker balloon.

Requires: iOS 11.0 and later

Use this property or the markerGlyphImage property to specify the marker balloon content. If you specify both an image and text, the text is displayed. The amount of space available for displaying your glyph text is limited. Specify no more than two or three characters for any strings you assign to this property.

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: String/Titanium.Blob
The image to display when the marker is selected. ...

The image to display when the marker is selected.

Requires: iOS 11.0 and later

The glyph image is displayed when the marker is in the selected state. This image is displayed only when the marker is selected. If you specify an image for this property, you should also specify an image in the markerGlyphImage property. Create glyph images as template images so that the glyph tint color can be applied to it. Set the size of this image to 40 by 40 points on iOS. MapKit scales images that are larger or smaller than those sizes.

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: Number
The visibility of the subtitle text rendered below the marker balloon. ...

The visibility of the subtitle text rendered below the marker balloon.

Requires: iOS 11.0 and later

The subtitle text is hidden when the marker is not selected. The text is shown when the marker is selected. Use Modules.Map.FEATURE_VISIBILITY_ADAPTIVE, Modules.Map.FEATURE_VISIBILITY_VISIBLE or Modules.Map.FEATURE_VISIBILITY_HIDDEN.

This API can be assigned the following constants:

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: Number
The visibility of the title text rendered below the marker balloon. ...

The visibility of the title text rendered below the marker balloon.

Requires: iOS 11.0 and later

Title text is normally displayed below the marker balloon. Use Modules.Map.FEATURE_VISIBILITY_ADAPTIVE, Modules.Map.FEATURE_VISIBILITY_VISIBLE or Modules.Map.FEATURE_VISIBILITY_HIDDEN.

This API can be assigned the following constants:

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: Number/String
The color of the pin-annotation. ...

The color of the pin-annotation. Use the ANNOTATION_* constants for pre- defined colors, e.g ANNOTATION_GREEN.

Note for iOS: Apps running iOS 9 and later can also specify a non-constant value, e.g. "blue", "rgb(0, 0, 255 ,1)" or "#0000ff".

Pin color is ignored if a custom pin image is specified using image.

The preview context used in the 3D-Touch feature "Peek and Pop". ...

The preview context used in the 3D-Touch feature "Peek and Pop".

Requires: iOS 9.0 and later

Preview context to present the "Peek and Pop" of a view. Use an configured instance of Titanium.UI.iOS.PreviewContext here.

Note: This property can only be used on devices running iOS9 or later and supporting 3D-Touch. It is ignored on older devices and can manually be checked using Titanium.UI.iOS.forceTouchSupported.

  • 6.2.0
  • 6.2.0
Modules.Map.Annotation
rightButton : String

Right button image on the annotation, specified as an image URL.

Right button image on the annotation, specified as an image URL.

  • 3.1.0
  • 3.2.0
  • 3.2.0
Modules.Map.Annotation
rightView : Titanium.UI.View

Right view that is displayed on the annotation.

Right view that is displayed on the annotation.

This is ignored if the rightButton property is set.

  • 3.1.0
  • 3.2.0
  • 3.2.0
Modules.Map.Annotation
: Boolean
Boolean to show an annotation view that displays a balloon-shaped marker at the designated location. ...

Boolean to show an annotation view that displays a balloon-shaped marker at the designated location.

Requires: iOS 11.0 and later

Must be set during creation. This is ignored if the customView property is set. See the example "Map Example With Marker Annotation and Clustering".

Default: false

  • 6.3.0
  • 6.3.0
Modules.Map.Annotation
: Boolean
Show or hide the view that is displayed on the annotation when clicked. ...

Show or hide the view that is displayed on the annotation when clicked.

When this is false, clicking on the annotation will not center it on the map, but the annotation will still be selected, thus triggering the click event. If the annotation is selected, and the info window is hidden, then the next click will deselect the annotation, thus will NOT show the info window, regardless of the current state of this property.

Default: true

  • 3.2.0
  • 3.2.0
  • 3.2.0
Modules.Map.Annotation
subtitle : String

Secondary title of the annotation view.

Secondary title of the annotation view.

Modules.Map.Annotation
subtitleid : String

Key in the locale file to use for the subtitle property.

Key in the locale file to use for the subtitle property.

  • 3.1.0
  • 3.2.0
  • 3.2.0
Modules.Map.Annotation
title : String

Primary title of the annotation view.

Primary title of the annotation view.

Modules.Map.Annotation
titleid : String

Key in the locale file to use for the title property.

Key in the locale file to use for the title property.

  • 3.1.0
  • 3.2.0
  • 3.2.0
Defined By

Methods

Adds the specified callback as an event listener for the named event. ...

Adds the specified callback as an event listener for the named event.

Parameters

  • name : String

    Name of the event.

  • callback : Callback<Object>

    Callback function to invoke when the event is fired.

Returns

  • void
Applies the properties to the proxy. ...

Applies the properties to the proxy.

Properties are supplied as a dictionary. Each key-value pair in the object is applied to the proxy such that myproxy[key] = value.

  • 3.0.0
  • 3.0.0
  • 3.0.0

Parameters

  • props : Dictionary

    A dictionary of properties to apply.

Returns

  • void
Fires a synthesized event to any registered listeners. ...

Fires a synthesized event to any registered listeners.

Parameters

  • name : String

    Name of the event.

  • event : Dictionary

    A dictionary of keys and values to add to the Titanium.Event object sent to the listeners.

Returns

  • void
Modules.Map.Annotation
( ) : Number
Gets the value of the annotationDisplayPriority property. ...

Gets the value of the annotationDisplayPriority property.

  • 6.3.0
  • 6.3.0

Returns

  • Number
Gets the value of the apiName property. ...

Gets the value of the apiName property.

  • 3.2.0
  • 3.2.0
  • 3.2.0

Returns

  • String
Gets the value of the bubbleParent property. ...

Gets the value of the bubbleParent property.

  • 3.0.0
  • 3.0.0
  • 3.0.0

Returns

  • Boolean
Modules.Map.Annotation
( ) : Boolean
Gets the value of the canShowCallout property. ...

Gets the value of the canShowCallout property.

  • 3.2.0
  • 3.2.0

Returns

  • Boolean
Modules.Map.Annotation
( ) : Point
Gets the value of the centerOffset property. ...

Gets the value of the centerOffset property.

Returns

Modules.Map.Annotation
( ) : String
Gets the value of the clusterIdentifier property. ...

Gets the value of the clusterIdentifier property.

  • 7.4.0
  • 6.3.0
  • 6.3.0

Returns

  • String
Modules.Map.Annotation
( ) : Number
Gets the value of the collisionMode property. ...

Gets the value of the collisionMode property.

  • 6.3.0
  • 6.3.0

Returns

  • Number
Modules.Map.Annotation
( ) : Titanium.UI.View
Gets the value of the customView property. ...

Gets the value of the customView property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Returns

Modules.Map.Annotation
( ) : Boolean
Gets the value of the draggable property. ...

Gets the value of the draggable property.

Returns

  • Boolean
Modules.Map.Annotation
( ) : Boolean
Gets the value of the hidden property. ...

Gets the value of the hidden property.

  • 6.1.0
  • 6.1.0
  • 6.1.0

Returns

  • Boolean
Modules.Map.Annotation
( ) : String/Titanium.Blob
Gets the value of the image property. ...

Gets the value of the image property.

Returns

Modules.Map.Annotation
( ) : Number
Gets the value of the latitude property. ...

Gets the value of the latitude property.

Returns

  • Number
Modules.Map.Annotation
( ) : String
Gets the value of the leftButton property. ...

Gets the value of the leftButton property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Returns

  • String
Modules.Map.Annotation
( ) : Titanium.UI.View
Gets the value of the leftView property. ...

Gets the value of the leftView property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Returns

Gets the value of the lifecycleContainer property. ...

Gets the value of the lifecycleContainer property.

  • 3.6.0

Returns

Modules.Map.Annotation
( ) : Number
Gets the value of the longitude property. ...

Gets the value of the longitude property.

Returns

  • Number
Modules.Map.Annotation
( ) : Boolean
Gets the value of the markerAnimatesWhenAdded property. ...

Gets the value of the markerAnimatesWhenAdded property.

  • 6.3.0
  • 6.3.0

Returns

  • Boolean
Modules.Map.Annotation
( ) : String
Gets the value of the markerColor property. ...

Gets the value of the markerColor property.

  • 6.3.0
  • 6.3.0

Returns

  • String
Modules.Map.Annotation
( ) : String
Gets the value of the markerGlyphColor property. ...

Gets the value of the markerGlyphColor property.

  • 6.3.0
  • 6.3.0

Returns

  • String
Modules.Map.Annotation
( ) : String/Titanium.Blob
Gets the value of the markerGlyphImage property. ...

Gets the value of the markerGlyphImage property.

  • 6.3.0
  • 6.3.0

Returns

Modules.Map.Annotation
( ) : String
Gets the value of the markerGlyphText property. ...

Gets the value of the markerGlyphText property.

  • 6.3.0
  • 6.3.0

Returns

  • String
Modules.Map.Annotation
( ) : String/Titanium.Blob
Gets the value of the markerSelectedGlyphImage property. ...

Gets the value of the markerSelectedGlyphImage property.

  • 6.3.0
  • 6.3.0

Returns

Modules.Map.Annotation
( ) : Number
Gets the value of the markerSubtitleVisibility property. ...

Gets the value of the markerSubtitleVisibility property.

  • 6.3.0
  • 6.3.0

Returns

  • Number
Modules.Map.Annotation
( ) : Number
Gets the value of the markerTitleVisibility property. ...

Gets the value of the markerTitleVisibility property.

  • 6.3.0
  • 6.3.0

Returns

  • Number
Modules.Map.Annotation
( ) : Number/String
Gets the value of the pincolor property. ...

Gets the value of the pincolor property.

Returns

  • Number/String
Gets the value of the previewContext property. ...

Gets the value of the previewContext property.

  • 6.2.0
  • 6.2.0

Returns

Modules.Map.Annotation
( ) : String
Gets the value of the rightButton property. ...

Gets the value of the rightButton property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Returns

  • String
Modules.Map.Annotation
( ) : Titanium.UI.View
Gets the value of the rightView property. ...

Gets the value of the rightView property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Returns

Modules.Map.Annotation
( ) : Boolean
Gets the value of the showAsMarker property. ...

Gets the value of the showAsMarker property.

  • 6.3.0
  • 6.3.0

Returns

  • Boolean
Modules.Map.Annotation
( ) : Boolean
Gets the value of the showInfoWindow property. ...

Gets the value of the showInfoWindow property.

  • 3.2.0
  • 3.2.0
  • 3.2.0

Returns

  • Boolean
Modules.Map.Annotation
( ) : String
Gets the value of the subtitle property. ...

Gets the value of the subtitle property.

Returns

  • String
Modules.Map.Annotation
( ) : String
Gets the value of the subtitleid property. ...

Gets the value of the subtitleid property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Returns

  • String
Modules.Map.Annotation
( ) : String
Gets the value of the title property. ...

Gets the value of the title property.

Returns

  • String
Modules.Map.Annotation
( ) : String
Gets the value of the titleid property. ...

Gets the value of the titleid property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Returns

  • String
Removes the specified callback as an event listener for the named event. ...

Removes the specified callback as an event listener for the named event.

Multiple listeners can be registered for the same event, so the callback parameter is used to determine which listener to remove.

When adding a listener, you must save a reference to the callback function in order to remove the listener later:

var listener = function() { Ti.API.info("Event listener called."); }
window.addEventListener('click', listener);

To remove the listener, pass in a reference to the callback function:

window.removeEventListener('click', listener);

Parameters

  • name : String

    Name of the event.

  • callback : Callback<Object>

    Callback function to remove. Must be the same function passed to addEventListener.

Returns

  • void
Modules.Map.Annotation
( annotationDisplayPriority )
Sets the value of the annotationDisplayPriority property. ...

Sets the value of the annotationDisplayPriority property.

  • 6.3.0
  • 6.3.0

Parameters

  • annotationDisplayPriority : Number

    New value for the property.

Returns

  • void
Sets the value of the bubbleParent property. ...

Sets the value of the bubbleParent property.

  • 3.0.0
  • 3.0.0
  • 3.0.0

Parameters

  • bubbleParent : Boolean

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( canShowCallout )
Sets the value of the canShowCallout property. ...

Sets the value of the canShowCallout property.

  • 3.2.0
  • 3.2.0

Parameters

  • canShowCallout : Boolean

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( centerOffset )
Sets the value of the centerOffset property. ...

Sets the value of the centerOffset property.

Parameters

  • centerOffset : Point

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( clusterIdentifier )
Sets the value of the clusterIdentifier property. ...

Sets the value of the clusterIdentifier property.

  • 7.4.0
  • 6.3.0
  • 6.3.0

Parameters

  • clusterIdentifier : String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( collisionMode )
Sets the value of the collisionMode property. ...

Sets the value of the collisionMode property.

  • 6.3.0
  • 6.3.0

Parameters

  • collisionMode : Number

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( customView )
Sets the value of the customView property. ...

Sets the value of the customView property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Parameters

Returns

  • void
Modules.Map.Annotation
( draggable )
Sets the value of the draggable property. ...

Sets the value of the draggable property.

Parameters

  • draggable : Boolean

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( hidden )
Sets the value of the hidden property. ...

Sets the value of the hidden property.

  • 6.1.0
  • 6.1.0
  • 6.1.0

Parameters

  • hidden : Boolean

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( image )
Sets the value of the image property. ...

Sets the value of the image property.

Parameters

Returns

  • void
Modules.Map.Annotation
( latitude )
Sets the value of the latitude property. ...

Sets the value of the latitude property.

Parameters

  • latitude : Number

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( leftButton )
Sets the value of the leftButton property. ...

Sets the value of the leftButton property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Parameters

  • leftButton : String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( leftView )
Sets the value of the leftView property. ...

Sets the value of the leftView property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Parameters

Returns

  • void
Sets the value of the lifecycleContainer property. ...

Sets the value of the lifecycleContainer property.

  • 3.6.0

Parameters

Returns

  • void
Modules.Map.Annotation
( longitude )
Sets the value of the longitude property. ...

Sets the value of the longitude property.

Parameters

  • longitude : Number

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( markerAnimatesWhenAdded )
Sets the value of the markerAnimatesWhenAdded property. ...

Sets the value of the markerAnimatesWhenAdded property.

  • 6.3.0
  • 6.3.0

Parameters

  • markerAnimatesWhenAdded : Boolean

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( markerColor )
Sets the value of the markerColor property. ...

Sets the value of the markerColor property.

  • 6.3.0
  • 6.3.0

Parameters

  • markerColor : String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( markerGlyphColor )
Sets the value of the markerGlyphColor property. ...

Sets the value of the markerGlyphColor property.

  • 6.3.0
  • 6.3.0

Parameters

  • markerGlyphColor : String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( markerGlyphImage )
Sets the value of the markerGlyphImage property. ...

Sets the value of the markerGlyphImage property.

  • 6.3.0
  • 6.3.0

Parameters

  • markerGlyphImage : String/Titanium.Blob

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( markerGlyphText )
Sets the value of the markerGlyphText property. ...

Sets the value of the markerGlyphText property.

  • 6.3.0
  • 6.3.0

Parameters

  • markerGlyphText : String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( markerSelectedGlyphImage )
Sets the value of the markerSelectedGlyphImage property. ...

Sets the value of the markerSelectedGlyphImage property.

  • 6.3.0
  • 6.3.0

Parameters

  • markerSelectedGlyphImage : String/Titanium.Blob

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( markerSubtitleVisibility )
Sets the value of the markerSubtitleVisibility property. ...

Sets the value of the markerSubtitleVisibility property.

  • 6.3.0
  • 6.3.0

Parameters

  • markerSubtitleVisibility : Number

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( markerTitleVisibility )
Sets the value of the markerTitleVisibility property. ...

Sets the value of the markerTitleVisibility property.

  • 6.3.0
  • 6.3.0

Parameters

  • markerTitleVisibility : Number

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( pincolor )
Sets the value of the pincolor property. ...

Sets the value of the pincolor property.

Parameters

  • pincolor : Number/String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( previewContext )
Sets the value of the previewContext property. ...

Sets the value of the previewContext property.

  • 6.2.0
  • 6.2.0

Parameters

Returns

  • void
Modules.Map.Annotation
( rightButton )
Sets the value of the rightButton property. ...

Sets the value of the rightButton property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Parameters

  • rightButton : String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( rightView )
Sets the value of the rightView property. ...

Sets the value of the rightView property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Parameters

Returns

  • void
Modules.Map.Annotation
( showAsMarker )
Sets the value of the showAsMarker property. ...

Sets the value of the showAsMarker property.

  • 6.3.0
  • 6.3.0

Parameters

  • showAsMarker : Boolean

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( showInfoWindow )
Sets the value of the showInfoWindow property. ...

Sets the value of the showInfoWindow property.

  • 3.2.0
  • 3.2.0
  • 3.2.0

Parameters

  • showInfoWindow : Boolean

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( subtitle )
Sets the value of the subtitle property. ...

Sets the value of the subtitle property.

Parameters

  • subtitle : String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( subtitleid )
Sets the value of the subtitleid property. ...

Sets the value of the subtitleid property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Parameters

  • subtitleid : String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( title )
Sets the value of the title property. ...

Sets the value of the title property.

Parameters

  • title : String

    New value for the property.

Returns

  • void
Modules.Map.Annotation
( titleid )
Sets the value of the titleid property. ...

Sets the value of the titleid property.

  • 3.1.0
  • 3.2.0
  • 3.2.0

Parameters

  • titleid : String

    New value for the property.

Returns

  • void