Zh GoogleMap InfoBubble

From Documentation
Jump to: navigation, search

Creating Placemark with InfoBubble

Lets create placemark with infobubble as infowin.

Go to placemarks list. Create new one.

GM-Tutorial-InfoBubble-PlacemarkDetails.JPG


Select icon for your placemark. And set Action by Click to Open InfoBubble


GM-Tutorial-InfoBubble-AppearanceProperties.JPG


Now we do not apply any style for InfoBubble. Leave field unchanged.


GM-Tutorial-InfoBubble-StyleDefault.JPG


And we have to fill text into tabs.

GM-Tutorial-InfoBubble-Tabs.JPG


If you fill HTML text field for tab, then this tab will be displayed.


And result will be

GM-Tutorial-InfoBubble-Result.JPG


Now lets add style for our InfoBubble

Go to InfoBubble Styles

Create new style


GM-Tutorial-InfoBubble-Style-List.JPG


Set values as you want


GM-Tutorial-InfoBubble-Style-Details.JPG


Now return to placemark details and set our new style

GM-Tutorial-InfoBubble-StyleNewStyle.JPG


And now placemark with infobubble like this

GM-Tutorial-InfoBubble-ResultStyle.JPG


If you unpublish your style, then infobubble will be looks like a default style.

If you set Open InfoWin field to Yes, then InfoBubble will open when map is displayed (like when you use infowins)