An open API service indexing awesome lists of open source software.

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

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

![gongleaflet_example](gongleaflet_example.png)

# 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"
],
```