SHARE
TWEET

Untitled

a guest Jun 25th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let clusterSource = new ol.source.Cluster({
  2.        distance: 40,
  3.        source: vectorSource,
  4.        geometryFunction: (feature) => {
  5.            if (feature.get('selected')) {
  6.                return null;
  7.            }
  8.            return feature.getGeometry() as ol.geom.Point;
  9.        }
  10.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top