title: How to display path on map with openlayers?
body: <p>I have a path like this:</p>
  
  <pre><code>[53.994791502000055,32.87857732600003,141,53.99267829900003,32.95958344100006,126,53.98845189300005,32.99902989800006,124,53.998313507000034,33.01593552200006,120,54.04269077100008,33.07158320100007,109,54.05184798400006,33.06242598800003,109,54.07086681100003,33.00818711100004,109,54.04480397400005,32.98564627800005,113]
  </code></pre>
  
  <p>This path includes long, lat and z for each point. Also I have a map that created with OpenLayers. I want show this path on map. I tried different methods and instructions,but it is not shown. This is how I show my map:</p>
  
  <pre><code>var map = new ol.Map({
          controls: ol.control.defaults({
            attributionOptions: {
              collapsible: false
            }
          }).extend([mousePositionControl]),
          layers: layers,
          // Improve user experience by loading tiles while dragging/zooming. Will make
          // zooming choppy on mobile or slow devices.
          loadTilesWhileInteracting: true,
          target: 'map',
          view: new ol.View({
            center: ol.proj.fromLonLat([54.081, 32.908]),
            zoom: 13
          })
        });
  </code></pre>
  
  <p>I tested the display of part of the route this way but it didn't work:</p>
  
  <pre><code>routlayer = new ol.layer.Vector({
       source: new ol.source.Vector({
           features: [
               new ol.Feature({
                   geometry: new ol.geom.LineString([
        [53.9888, 32.8876],
        [54.1576, 32.9360]
  ])
               })
           ]
  
       })
  
   });
  
  
      map.addLayer(routlayer);
  </code></pre>
  
  <p>And I tried similar methods in different references, but it didn't work. </p>