Nokia Maps API Reference

Contents

Interface nokia.maps.map.component.InfoBubbles.Options

Interface Summary

This interface defines the properties (options or keys) for nokia.maps.map.component.InfoBubbles.

Field Summary
String | Number defaultHeight This property holds the preferred height of bubbles.
String | Number defaultWidth This property holds the preferred width of bubbles.
String defaultXAlignment This property holds the preferred horizontal alignment of bubbles.
String defaultYAlignment This property holds the preferred vertical alignment of bubbles.
Direct Inheritance
Field Detail
String | Number defaultHeight
This property holds the preferred height of bubbles. The property can either have a numeric value defining the height of bubbles in pixels or its value can be the string constant "auto" (nokia.maps.map.component.InfoBubbles#DIMENSION_AUTO) to allow the bubble to manage its size on its own. The default value is "auto".

Should very large amounts of text are displayed in an info bubble, it is best to set the preferred width to a fixed size to avoid rendering artifacts.

Platform-dependent styling can also be applied to the value of this property as a string, but the result of this may not yield expected results.
String | Number defaultWidth
This property holds the preferred width of bubbles. The property can either have a numeric value defining the width of bubbles in pixels or it can be the string constant "auto" (nokia.maps.map.component.InfoBubbles#DIMENSION_AUTO) to allow the bubble to manage its size on its own. The default value is "auto".

Should very large amounts of text are displayed in an info bubble, it is best to set the preferred width to a fixed size to avoid rendering artifacts.

Platform-dependent styling can also be applied to the value of this property as a string, but the result of this may not yield expected results.
String defaultXAlignment
This property holds the preferred horizontal alignment of bubbles. The property can have one of the following three values: The default value is right.
String defaultYAlignment
This property holds the preferred vertical alignment of bubbles. The property can have one of the following three values: The default value is below.
Documentation generated on Mon Oct 24 2011 14:24:34 GMT+0200 (CEST).