title: OpenLayers map wraps. Repeated map areas give invalid coordinates
body: <p>I'm using OpenLayers to display a world map on my site. The map wraps to either side, and, in the repeated sections, the coordinates are bonkers. </p>
  
  <p><a href="https://i.stack.imgur.com/0EUtf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0EUtf.png" alt="Wrapping world map"></a></p>
  
  <p>The pins on the map can be moved. If we move them over to a repeated section, instead of getting the actual coordinates of that spot on the globe, we get an invalid coordinate set which makes that pin disappear from the map altogether.</p>
  
  <p>Here's the code I'm using for the map:</p>
  
  <pre><code>    this.maps.vectorSource = new ol.source.Vector({
        });
  
      this.maps.vectorLayer = new ol.layer.Vector({
          source: self.maps.vectorSource
        });
  
        this.maps.rasterLayer = new ol.layer.Tile({
              source: new ol.source.OSM({wrapDateLine: false})
        });
  
        this.maps.map = new ol.Map({
          target: 'map',
          interactions: ol.interaction.defaults({mouseWheelZoom:false}),
          layers: [self.maps.rasterLayer, self.maps.vectorLayer],
          view: new ol.View({
            center: ol.proj.transform([-98.583333, 37.833333], 'EPSG:4326', 'EPSG:3857'),
            zoom: 4
          })
        });
  </code></pre>
  
  <p>You can see I've tried setting the <code>wrapDateLine</code> option to <code>false</code>, but this doesn't have any effect best I can tell.</p>
  
  <p>I'd like to solve this either by preventing the map from repeating or by ensuring the repeating sections report proper coordinates. At this point, I don't much care which. Any ideas how I can achieve one of these two results?</p>