Geometry operator - geodesic buffers

This sample uses the geodesicBufferOperator to create geodesic buffers around the pointer (mouse/touch) location as a user moves the pointer across the view.

How it works

The sample listens to pointer-move and click events both on SceneView and MapView. If the b key is tapped, a user can click on or move the pointer around the SceneView or the MapView to create a geodesic buffer around the pointer location.

1
2
3
view2d.on("pointer-move", (event) => {
  createBuffer(event, view2d);
});

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close