3 Replies Latest reply on Sep 9, 2016 7:25 AM by siyang.teo

    Drawing directional arrows in maps


      Hi, I'm wondering anyone have a solution to drawing directional arrows along a path in a real-world map.


      So far, I have seen people suggested using Alteryx to generate, which has a hefty price tag, and doesn't seem to be able to port data from a database.


      Someone also put this up as a future enhancement idea.


      Not sure if anyone has been able to find a hack to achieve this? Thanks.

        • 1. Re: Drawing directional arrows in maps
          Carl Slifer



          You can drop on an arrow but the difficult part would be getting the arrow head to be facing the correct direction. To do this at the very least you're going to need trig to know which direction each vector is facing. Alternatively you can number the stops or colour the line to show light to dark from 1st to last. Past that I don't have enough imagination to know how to put an arrow head shape at varying angles.  Is there a reason why you need these to show directional arrows specifically or is the general goal to see on a map where things are heading? Changing line thickness based on the same item as path id often can work as well. So that the start point is skinny and the end point is larger.

          • 2. Re: Drawing directional arrows in maps
            Carl Slifer



            Map would be something like the above or the below:







            Best Regards
            Carl SliferInterWorks

            • 3. Re: Drawing directional arrows in maps

              Thanks Carl, appreciate the help.


              The general goal is indeed to show the general direction.


              The main reason I can't use what you suggested is that both colours and size marks are being used for other indicators. Labeling them is also not very ideal as each line is made out of hundreds of points in a small area.


              Do you think it is possible to let each line show some sort of label indicating start and end when click?

              The lines are pretty dense hence this suggestion.