How to customize the infoBox(ui-gmap-windows) style for angular google maps?

拥有回忆 提交于 2019-12-13 15:19:59

问题


I'd like to know how to customize the ui-gmap-windows style, default is a blank white square, what about if I wanna a heart with a message inside? I know how to change the content of the ui-gmap-windows but how could I change the style?

<ui-gmap-google-map center="map.center" zoom="map.zoom" draggable="true" options="options">
        <ui-gmap-markers clusterOptions="clusterOpt" doCluster="true" models="markers" coords="'self'" icon="'icon'" idKey="'idKey'">
            <ui-gmap-windows <!--How to change style? --> >
                <div >Here I can change the content</div>
            </ui-gmap-windows>
        </ui-gmap-markers>
</ui-gmap-google-map>

I fiddle would help so much =D

来源:https://stackoverflow.com/questions/29566931/how-to-customize-the-infoboxui-gmap-windows-style-for-angular-google-maps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!