• CommentAuthor_melvas_
    • CommentTimeOct 19th 2017 edited
    Hi there!

    I want to show arrowed lines to display the driving directions on a route. I've looked on this tutorial but it is applicable just for .NET.

    Is there any way to make the same with javascript SDK?

    Also I'm looking for a way to draw a route, already optimized on .NET server side. Is it possible?

    Any help will be appreciated.
    • CommentAuthorLaszloMako
    • CommentTimeOct 26th 2017
    Hi _melvas_,

    Thank you for your enquiry. However we have a built in solution included in our .NET API (http://docs.geobase.info/html/d5104fc7-336d-4db6-88f4-91c1b9e76120.htm), unfortunately this has no direct equivalent in JavaScript. If you use JS, you will need to render the arrows from your own code. For this you can use MapLayers.ImageObject Class, and select the appropriate image to display depending on the direction of travel: http://docs.geobase.info/html/591fb532-6664-4921-9186-74c8c1021052.htm

    I hope this helps.