Select to view content in your preferred language

Help with Sketch Widget Tooltip Units

05-15-2024 07:25 AM
New Contributor II


I would like to change the units displayed on the Sketch widget tooltip from meters to miles. I combed through the documentation and couldn't find any way to configure this. Our application stores the distance and area (plus the units) in miles, but we are having trouble displaying the built-in measurement while drawing in miles.

The tooltip in the screenshot is displayed using the "tooltipOptions={{ enabled: true }}" parameter for the Sketch Widget

The only alternative I found was to make a TextSymbol located at the centroid lat/lng of the polygon. But this felt clunky to implement given there is already a dynamic tooltip in the SDK.




1 Reply
New Contributor II

I am running into the same issue. Doesn't appear that it can be changed.

0 Kudos