Given a Geometry object in OpenLayers 3. How would one go about getting its center?
Geometry
Older versions of OpenLayers provided a getCentroid method. There was also a getBounds workaround. But these appear to be removed in OpenLayers 3.
getCentroid
getBounds
Aucun commentaire:
Enregistrer un commentaire