FarmMaps base angular client libraries @farmmaps/common and @farmmaps/common-map
Go to file
Willem Dantuma da97f06db8
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
npm update
2020-02-13 11:29:55 +01:00
e2e initial commit 2019-06-26 14:35:47 +02:00
fonts/FMIconFont Some fixes 2019-11-01 15:57:50 +01:00
projects Add custom style for vnd.farmmaps.itemntype.layer 2020-02-13 11:24:23 +01:00
src Add id4AuthconfigFactory 2020-02-12 21:34:11 +01:00
.editorconfig initial commit 2019-06-26 14:35:47 +02:00
.gitignore Ignore Visual Studio generated files 2020-01-08 10:28:05 +01:00
.npmrc AW-814: Changed widget component height 2020-01-27 15:03:01 +01:00
angular.json Update example to angular 8.2 and ol 6 2019-11-25 15:52:02 +01:00
browserslist Update to angular 8.2 2019-11-25 14:34:51 +01:00
Jenkinsfile.develop Upgrade @farmmaps/common-map to angular 8.2 2019-11-25 15:31:42 +01:00
package-lock.json npm update 2020-02-13 11:29:55 +01:00
package.json npm update 2020-02-13 11:29:55 +01:00
README.md Update README 2019-11-25 16:22:55 +01:00
tsconfig.json Update to angular 8.2 2019-11-25 14:34:51 +01:00
tslint.json Update to angular 8.2 2019-11-25 14:34:51 +01:00

Farmmaps viewer

This is a sample FarmMaps client in Angular 7.x.

Quick start

Use one of the two options below to get started.

Option 1, Using docker

Dependencies

  • docker desktop

Setup

docker pull node:12.13.1
docker run -t -i --entrypoint /bin/bash -p 4200:4200 node:12.13.1

Inside the running container

git clone https://git.akkerweb.nl/FarmMaps/FarmMapsLib.git
cd FarmMapsLib
npm config set @farmmaps:registry https://repository.akkerweb.nl/repository/npm-group/
npm install -g @angular/cli
npm install
ng serve --host 0.0.0.0

Go

Point your browser to http://localhost:4200

Option 2, Using local machine

Dependencies

  • npm 6.9.0
  • nodejs 10.16.0
  • git

Setup

git clone https://git.akkerweb.nl/FarmMaps/FarmMapsLib.git
cd FarmMapsLib
npm config set @farmmaps:registry https://repository.akkerweb.nl/repository/npm-group/
npm install -g @angular/cli
npm install
ng serve

Go

Point your browser to http://localhost:4200