port to new gongc
Closed this issue · 4 comments
- bare application
- add gongfly specific gongfly-dashbord
- add sim stack (like adding in gonggantt)
- display engine control in gongfly-dashbord
- add leaflet stack
- display leaflet stack in gongfly-dashbord
compilation issue:
vendor\github.com\fullstack-lang\gongleaflet\ng\projects\gongleafletspecific\src\lib\mapoptions\mapoptions.component.ts
import * as L from 'leaflet'
Error: ../vendor/github.com/fullstack-lang/gongleaflet/ng/projects/gongleafletspecific/src/lib/mapoptions/manage-leaflet-items.ts:4:20 - error TS7016: Could not find a declaration file for module 'leaflet'. '...t/go/src/github.com/fullstack-lang/gongfly/ng/node_modules/leaflet/dist/leaflet-src.js' implicitly has an 'any' type.
If the 'leaflet' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet'
This is a regression compared to the working version in main. Is it:
- module import ?
the Leaflet module is imported in the gongflyspecific
angular lib but to no avail. The leaflet module is also imported in the the app module.
- path ?
"@types/leaflet": [
"./node_modules/@types/leaflet"
],
"@asymmetrik/ngx-leaflet": [
"./node_modules/@asymmetrik/ngx-leaflet"
],
"leaflet": [
"./node_modules/leaflet"
],
in tsconfig seems to be correct
leaving the subject to solve issue with gongsim.
Error: ../vendor/github.com/fullstack-lang/gongsim/ng/projects/gongsimcontrol/src/lib/engine-control/engine-control.component.ts:60:24 - error TS2554: Expected 1 arguments, but got 0.
60 this.engineService.getEngines().subscribe(
problem, objects do not appear on the map.
log.Printf("Unknown layer %s ", layerGroupName)