Draw/eDraw widget tool tip on map hover

1096
1
03-10-2017 01:09 PM
JohnWolynec
New Contributor

Does anyone know how to change the default text that appears after selecting a geometry from the draw tool, and then hovering the pointer over the map?

It seems like the text is set based on the geotype/measureType selected, I am just not sure where the text is populated.

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

John,

   Those tooltips like "Click to add point" comes from the JS API. To change those you just set the text using code like this:

require(["dojo/i18n!myApp/nls/jsapi"], function(bundle){
  bundle.toolbars.draw.addPoint = "blah blah";
});‍‍‍‍‍‍