Select to view content in your preferred language

SketchLabelOptions and SketchTooltipOptions support in MapView

1326
3
Jump to solution
07-18-2022 06:07 PM
TylerKirk
Emerging Contributor

I see that in the 4.24 release of the JavaScript API tooltip and label support was added for SceneViews https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/#tooltiplabel

Is this snappy, cool, useful capability something that will be brought over to MapViews? If so is there an anticipated release version?

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
HeatherGonzago
Esri Contributor

Hi Tyler, thanks for the feedback. Yes, we intend on adding this functionality to 2d/MapView in the upcoming 4.25 release. This is slated for October time frame. Hope this helps.

 

Heather

View solution in original post

3 Replies
HeatherGonzago
Esri Contributor

Hi Tyler, thanks for the feedback. Yes, we intend on adding this functionality to 2d/MapView in the upcoming 4.25 release. This is slated for October time frame. Hope this helps.

 

Heather

vijaykarthickGeo
New Contributor

Hi all,

How can we implement sketchTooltipOptions in 2D mapview while using sketch...API reference is not so clear...Any sample will be useful.

Thanks 

 

Tags (1)
0 Kudos
SumitZarkarCT
Occasional Contributor

This is available now with 4.26

const sketchVM = new SketchViewModel({
view: view,
layer: graphicsLayer
});

//enable the tooltip options and turn on the helpMessage 
sketchVM.tooltipOptions.enabled = true
sketchVM.tooltipOptions.visibleElements.helpMessage = true

 

SumitZarkarCT_0-1681384492223.png