开发者

Custom style to Google Map V3 overlays

开发者 https://www.devze.com 2023-02-20 13:47 出处:网络
I want to draw rectangles and 开发者_如何转开发polygon overlays on a map, but with more style than just a color and opacity. I\'d like to add dotted lines for the boundary and line patterns in the pol

I want to draw rectangles and 开发者_如何转开发polygon overlays on a map, but with more style than just a color and opacity. I'd like to add dotted lines for the boundary and line patterns in the polygon itself. Is that possible?


You can add most any style to the polylines and polygons. Take a gander at the google API documentation https://developers.google.com/maps/documentation/javascript/overlays#PolylineOptions

0

精彩评论

暂无评论...
验证码 换一张
取 消