title: How do you render a line markup with the Markups Extension?
body: <p>I previously asked question about if there was a programatic way to render markups with the markups extension. This worked, or at least, for text markups! Now I am trying to do the same thing with line markups; however, I am stuck with one issue. How do you add the locations to the markup? I have an array of locations that I am trying to assign to it, but there doesn't seem to be a function, and when I try to directly assign locations with <code>markup.location = [etc]</code>, for some reason it changes all the numbers to infinity.</p>
  
  <p>So, how can I assign the location array to the markup?</p>
  
  <p>This is how I am loading them:</p>
  
  <pre><code>  let MarkupsCore = Autodesk.Viewing.Extensions.Markups.Core;
    let line = new MarkupsCore.MarkupFreehand(25, markupTool); //eslint-disable-line
    line.locations = [{x: 2, y: 3}]; //something like this
    markupTool.addMarkup(line);
    line.setSize({ x: markup.x, y: markup.y}, markup.width, markup.height);
    line.updateStyle(true);
  </code></pre>