在PhpStorm上运行Nightmare.js时出错

时间:2018-09-20 12:12:34

标签: javascript phpstorm nightmare

尝试运行Nightmare.js应用程序时出现PhpStorm错误

val lineString = LineString.fromLngLats(tempCoordinateList)

val geoJsonSource = GeoJsonSource(DASHED_LINE_SOURCE_ID, Feature.fromGeometry(lineString))

mapboxMap?.addSource(geoJsonSource)

val lineLayer = LineLayer(DASHED_LINE_LAYER_ID, DASHED_LINE_SOURCE_ID).apply {
        setProperties(
                PropertyFactory.lineDasharray(arrayOf(2f, 1f)),
                PropertyFactory.lineCap(Property.LINE_CAP_SQUARE),
                PropertyFactory.lineJoin(Property.LINE_JOIN_ROUND),
                PropertyFactory.lineWidth(3f),
                PropertyFactory.lineColor(Color.parseColor("#e55e5e")))
    }

mapboxMap?.addLayer(lineLayer)

0 个答案:

没有答案