简体   繁体   中英

google maps api utility v3 styled markers, bigger markers?

I'm trying to style my markers, is there a way to change size of the marker?

            var marker = new StyledMarker({
                styleIcon: new StyledIcon(StyledIconTypes.MARKER,{color:"#82F56D", text:''+i+''}),
                position: myLatLng,
                map: map,
                title: label,
                zIndex: z
            });

This is my code for the styledmarker in the google maps utility library. How do I make the bubbles bigger on the rounding part? My numbers are to close to the edges. I'd like to have some kind of padding or some sort?

Thanks!

根据参考文献 ,没有诸如size属性之类的东西或与操纵size有关的任何东西。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM