Skip to content
Code of the Trafimage web map portal and other applications built on it.
JavaScript CSS Shell HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__mocks__ Add vector tiles as bg Aug 15, 2019
doc Fix footer style and popup for kartenportal doc Aug 8, 2019
packages/es Fix publish as es6 npm package Jul 9, 2019
public Fix translations in menu, topic, header Aug 8, 2019
scripts
src
.eslintrc.json Intial commit. Jun 13, 2019
.gitignore Add documenation readme to summarize the documentation production Aug 2, 2019
.gitlab-ci.yml Added more deploy target Aug 9, 2019
.prettierrc.json Intial commit. Jun 13, 2019
.stylelintrc.json Intial commit. Jun 13, 2019
.travis.yml Prepare publishing components with styleguidist Jul 9, 2019
LICENSE Intial commit. Jun 13, 2019
README.md Publish trafimage-maps as public npm package Jul 25, 2019
babel.config.js [TRAFWKPR-8] Add NetzkartePointLayer (#23) Aug 9, 2019
cypress.json Intial commit. Jun 13, 2019
netlify.toml Update netlify.toml Aug 2, 2019
package.json Add vector tiles as bg Aug 15, 2019
styleguide.config.js Example doc for digitalen stelen Aug 15, 2019
yarn.lock Add vector tiles as bg Aug 15, 2019

README.md

trafimage-maps

npm code style: prettier

This repo contains the code of the Trafimage Map Portal by Swiss Federal Railways SBB and other applications build on it. Components are based on react-spatial.

See demo.

Technologies

  • react
  • redux
  • react-router
  • enzyme
  • jest
  • cypress
  • react-spatial
  • eslint with airbnb
  • prettier
  • sass

Getting Started

Install:

yarn install

Start:

yarn start

Publish as NPM package:

  • Build to publish:
yarn build:es
  • Publish:
yarn publish:build

Use as ES6 module:

When this app is published as npm package, it can be integrated easily in other applications, as ES6 module:

Install

npm install <this-app-package>
You can’t perform that action at this time.