基于高德地图JS api开发的geojson编辑器.
http://geojson.finevis.cc/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
679 B
29 lines
679 B
3 years ago
|
export const PolygonStroke = "#a5a5a5";
|
||
|
export const PolylineStroke = "#4CBDD9";
|
||
|
export const PolygonFill = "#35bbe6";
|
||
|
export const SelectedStroke = "#d80242";
|
||
|
|
||
|
type OverlayOptions = AMap.PolygonOptions & AMap.PolylineOptions;
|
||
|
|
||
|
export const PolygonOptions: OverlayOptions = {
|
||
|
strokeColor: PolygonStroke,
|
||
|
strokeOpacity: 1,
|
||
|
strokeWeight: 2,
|
||
|
fillColor: PolygonFill,
|
||
|
fillOpacity: 0.3,
|
||
|
strokeStyle: "solid",
|
||
|
cursor: "default",
|
||
|
draggable: false,
|
||
|
bubble: true,
|
||
|
};
|
||
|
|
||
|
export const PolylineOptions: OverlayOptions = {
|
||
|
strokeColor: PolylineStroke,
|
||
|
strokeOpacity: 1,
|
||
|
strokeWeight: 4,
|
||
|
strokeStyle: "solid",
|
||
|
cursor: "default",
|
||
|
draggable: false,
|
||
|
bubble: true,
|
||
|
};
|