All Projects → Project-OSRM → Osrm Frontend

Project-OSRM / Osrm Frontend

Licence: bsd-2-clause
Modular rewrite of the OSRM frontend using LRM

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Osrm Frontend

Reitit
A fast data-driven router for Clojure/Script
Stars: ✭ 892 (+352.79%)
Mutual labels:  routing, frontend
Wp User Frontend
A WordPress plugin that brings many backend functionality to the site frontend
Stars: ✭ 195 (-1.02%)
Mutual labels:  frontend
Ataraxy
A data-driven Ring routing and destructuring library
Stars: ✭ 187 (-5.08%)
Mutual labels:  routing
Bootstrap Italia
Bootstrap Italia è un tema Bootstrap 4 conforme alle linee guida di design per i servizi web della PA
Stars: ✭ 193 (-2.03%)
Mutual labels:  frontend
Awesome Jupyter
A curated list of awesome Jupyter projects, libraries and resources
Stars: ✭ 2,523 (+1180.71%)
Mutual labels:  frontend
Viewui
A high quality UI Toolkit built on Vue.js 2.0
Stars: ✭ 2,487 (+1162.44%)
Mutual labels:  frontend
Jinabox.js
A lightweight, customizable omnibox in Javascript, for use with a Jina backend.
Stars: ✭ 186 (-5.58%)
Mutual labels:  frontend
Blogetc
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.
Stars: ✭ 198 (+0.51%)
Mutual labels:  frontend
Atlasr
Atlasr is a truly open-source and free map browser.
Stars: ✭ 196 (-0.51%)
Mutual labels:  routing
My Wallet V3 Frontend
Blockchain Web Wallet Frontend
Stars: ✭ 192 (-2.54%)
Mutual labels:  frontend
Peering Manager
Peering sessions management tool
Stars: ✭ 189 (-4.06%)
Mutual labels:  routing
React Imgpro
📷 Image Processing Component for React
Stars: ✭ 2,186 (+1009.64%)
Mutual labels:  frontend
Ruukh
An experimental next-gen frontend framework for the Web in Rust.
Stars: ✭ 194 (-1.52%)
Mutual labels:  frontend
X Ray
Visual debugger for your HTML, executable via a bookmark
Stars: ✭ 188 (-4.57%)
Mutual labels:  frontend
Resources
This repo is a one stop destination to find resources for learning various domains. You can find the roadmap for any domain here.
Stars: ✭ 198 (+0.51%)
Mutual labels:  frontend
Openrouteservice App
🚙 The open source route planner app with plenty of features.
Stars: ✭ 187 (-5.08%)
Mutual labels:  routing
Maratona Discover 01
Projeto construído durante o MaratonaDiscover #01
Stars: ✭ 189 (-4.06%)
Mutual labels:  frontend
The Front End Knowledge You May Not Know
😇 你可能不知道的前端知识点
Stars: ✭ 2,238 (+1036.04%)
Mutual labels:  frontend
Awesome Casestudy
📕 Curated list of technical case studies on WebGL and creative development
Stars: ✭ 2,324 (+1079.7%)
Mutual labels:  frontend
Frontend V2
The frontend of the Penguin Statistics website.
Stars: ✭ 198 (+0.51%)
Mutual labels:  frontend

osrm-frontend

This is the frontend served at https://map.project-osrm.org. This frontend builds heavily on top of Leaflet Routing Machine. If you need a simple OSRM integration in your webpage, you should start from there.

Using Docker

The easiest and quickest way to setup your own routing engine backend is to use Docker images we provide. We base our Docker images on Alpine Linux and make sure they are as lightweight as possible.

Serves the frontend at http://localhost:9966 running queries against the routing engine backend:

docker run -p 9966:9966 osrm/osrm-frontend

Per default routing requests are made against the backend at http://localhost:5000. You can change the backend by using -e OSRM_BACKEND='http://localhost:5001' in the docker run command.

In case Docker complains about not being able to connect to the Docker daemon make sure you are in the docker group.

sudo usermod -aG docker $USER

To build the docker image locally:

docker build . -f docker/Dockerfile -t osrm-frontend
docker run -p 9966:9966 osrm-frontend

Development

Install dependencies via

npm install

Then compile assets and start the local server with

npm start

On Windows with no Unix tools installed (bash, sed, cp) the server could be started with two other commands executed by npm start internally:

npm run compile
npm run start-index

Changing Backends

In src/leaflet_options.js adjust:

services: [{
  label: 'Car (fastest)',
  path: 'http://localhost:5000/route/v1'
}],

For debug tiles showing speeds and small components available at /debug adjust in debug/index.html

"osrm": {
  "type": "vector",
  "tiles" : ["http://localhost:5000/tile/v1/car/tile({x},{y},{z}).mvt"]
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].