OpenLayers深入浅出(7)----定制要素样式

来源:互联网 发布:vb任务管理器 编辑:程序博客网 时间:2024/05/07 22:05
var sketchSymbolizers = {                "Point": {                    pointRadius: 4,                    graphicName: "square",                    fillColor: "white",                    fillOpacity: 1,                    strokeWidth: 1,                    strokeOpacity: 1,                    strokeColor: "#333333"                },                "Line": {                    strokeWidth: 3,                    strokeOpacity: 1,                    strokeColor: "#666666",                    strokeDashstyle: "dash"                },                "Polygon": {                    strokeWidth: 2,                    strokeOpacity: 1,                    strokeColor: "#666666",                    fillColor: "white",                    fillOpacity: 0.3                }            };

原创粉丝点击