@jdthfe/gmap
Version:
JDC gmap bundle
23 lines (22 loc) • 624 B
TypeScript
interface JDCGmap extends GenerateGmapUtilFunctionResult<T> {
addJDCMarker: (opt: GmapUtilMarkerOptions, type?: T) => GoogleMarkerType;
addJDCRoundMarker: (
opt: GmapUtilMarkerOptions,
type:
| "lightRedNoMinus"
| "darkRedNoMinus"
| "disabledWithMinus"
| "lightRedWithMinus"
) => GoogleMarkerType;
drawJDCPolygon: (
pos: Coordinate[],
opt?: GooglePolygonOptions
) => google.maps.Polygon;
drawJDCLine: (
pos: Coordinate[],
opt?: GooglePolylineOptions
) => GooglePolylineType;
}
interface JDCGmapEnhance<T> {
(util: GenerateGmapUtilFunctionResult): JDCGmap<T>;
}