Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@geoblocks/edittrack

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geoblocks/edittrack

Geoblocks edittrack

  • 1.3.21
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Edittrack geoblock

Description

Edittrack is a Javascript UI library to draw tracks along a network. It has the following concepts:

  • segments: straight lines or snapped linestrings;
  • POIs: points with arbitrary position and meta data;
  • control points: points along between segments that drives the modification of segments;
  • routers: objects transforming a straight line to a snapped linestring along a network;
  • profilers: objects adding 3d dimension to segments.

Current router implementations:

  • Graphhopper;
  • OSRM.

Current profiler implementations:

  • Swisstopo;
  • ExtractFromSegment.

The main class is the TrackManager

Online doc and demos

Local development

For local developpement we use a few demos.

npm install
npm run start
open http://localhost:1234/schm/schm.html?trackId=1250755006
open http://localhost:1234/simple/simple.html

Publish a new version to npm

The source is transpiled to standard ES modules and published on npm.

# update CHANGES.md
npm version patch
npm publish
git push --tags origin master
npm run gh-pages

FAQs

Package last updated on 23 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc