https://github.com/fullstack-lang/gongleaflet
A gong stack (backend in go and frontend in angular) that integrates the leaflet carto component
https://github.com/fullstack-lang/gongleaflet
Last synced: 2 months ago
JSON representation
A gong stack (backend in go and frontend in angular) that integrates the leaflet carto component
- Host: GitHub
- URL: https://github.com/fullstack-lang/gongleaflet
- Owner: fullstack-lang
- License: mit
- Created: 2021-04-14T14:50:45.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-25T04:42:16.000Z (about 1 year ago)
- Last Synced: 2025-02-25T05:18:17.994Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 133 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gongleaflet
gongleaflet is a gong stack for a displaying object on a cartographic background.
It uses the angular component [ngx-leaflet](https://github.com/Asymmetrik/ngx-leaflet) which is based on html/javascript [leaflet](https://leafletjs.com/) component.
## instalation
> cd ng; npm install; ng build
> go run main.go
> firefox localhost:8080
## what you should see

# Import this stack
add to dev dependencies of your package.json
```json
"backbone": "^1.4.0",
"jointjs": "^3.2.0",
"jquery": "^3.5.1",
"lodash": "^4.17.20",
"@types/backbone": "^1.4.5",
"@types/jointjs": "^2.0.0",
"@types/jquery": "^3.5.3",
"@types/lodash": "^4.14.162"
```
and add the following path in your tsconfig.json
```json
"jointjs": [
"./node_modules/jointjs"
],
"@types/jointjs": [
"./node_modules/@types/jointjs"
],
```