2D

Balloon

The Balloon sample illustrates the use of balloon widgets on the map. The contents of a balloon can be specified with a string or with valid HTML.

Add balloons to the map by using the showBalloon() method. Remove them from the map by calling hideBalloon() .

The contents of a balloon can be specified with a string or with valid HTML.

Balloons can be anchored to an object (for instance, a Feature from the model which is visualized by a FeatureLayer). Updates of the location of the feature cause the balloon to update as well.

Balloons are styled in the samples/common/ui/sample-common-style.css style-sheet. These styles may be replaced with your own custom styles.

---°--'--",----°--'--"
0.0m
100 m
LAYERS
Grid
USA Cities
World Countries
compass

Balloon

The Balloon sample illustrates the use of balloon widgets on the map. The contents of a balloon can be specified with a string or with valid HTML.

Add balloons to the map by using the showBalloon() method. Remove them from the map by calling hideBalloon() .

The contents of a balloon can be specified with a string or with valid HTML.

Balloons can be anchored to an object (for instance, a Feature from the model which is visualized by a FeatureLayer). Updates of the location of the feature cause the balloon to update as well.

Balloons are styled in the samples/common/ui/sample-common-style.css style-sheet. These styles may be replaced with your own custom styles.