Giter Site home page Giter Site logo

Comments (4)

mmomtchev avatar mmomtchev commented on May 21, 2024

Do you have the coordinates of those points or do you need a navigation routine?
Open source navigation is still somewhat immature, it is a very complex field with lots of quirks and a few large proprietary players
If you already have the points, you simply need to include a feature with them

from rlayers.

kibarik avatar kibarik commented on May 21, 2024

I think to simplify it, you can take an array of 10 prepared points and show an example of drawing a route between these 10 points. Not the construction, but the rendering of the prepared route. Here is an examples of implementation on pure OpenLayers. I would like to understand how to implement this through "RLayers"

Example:
https://github.com/kolosov-sergey/webgl_blog/tree/master/ol/Route

Article (in Russian)
https://devburn.ru/2016/06/26/%D0%BF%D0%BE%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BD%D0%B8%D0%B5-%D0%BC%D0%B0%D1%80%D1%88%D1%80%D1%83%D1%82%D0%B0/

Full example from arcgis (build a route from A to B).
https://developers.arcgis.com/openlayers/route-and-directions/find-a-route-and-directions/

from rlayers.

kibarik avatar kibarik commented on May 21, 2024

The main question is how to draw a straight line through RLayers using the code now. I didn't find an example in your documentation. Just a straight line between two points

There is a ready-made example on pure "OpenLayers" based on OSRM-project. Is there any way to create an example of integration with their API via RLayers?

DEMO with openlayers:
https://map.project-osrm.org/

from rlayers.

mmomtchev avatar mmomtchev commented on May 21, 2024

@kibarik thank you for this excellent example, even if my Russian is somewhat rusty πŸ˜„

from rlayers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.