I would like to change the tooltip for the graphical point select "Click to add a point" in the Enhanced Search widget. I noticed in the console that it's using the esriMapTooltip but can't seem to find where that is being set.
Solved! Go to Solution.
Martin,
Those strings are controlled by the API so you have to change then using the APIs default string module.
Add the require (line 3 and line 11) Then change the string (line 19):
....
'dojo/topic',
'dojo/i18n!esri/nls/jsapi',
'jimu/dijit/CheckBox',
'dijit/form/DropDownButton',
'dijit/Menu',
'dijit/MenuItem',
],
function (
....
topic, esriBundle
) { /*jshint unused: true*/
....
postCreate: function () {
this.inherited(arguments);
....
this.own(topic.subscribe("appConfigChanged", lang.hitch(this, this._onAppConfigChanged)));
esriBundle.toolbars.draw.addPoint = "blah blah";
},
Martin,
Those strings are controlled by the API so you have to change then using the APIs default string module.
Add the require (line 3 and line 11) Then change the string (line 19):
....
'dojo/topic',
'dojo/i18n!esri/nls/jsapi',
'jimu/dijit/CheckBox',
'dijit/form/DropDownButton',
'dijit/Menu',
'dijit/MenuItem',
],
function (
....
topic, esriBundle
) { /*jshint unused: true*/
....
postCreate: function () {
this.inherited(arguments);
....
this.own(topic.subscribe("appConfigChanged", lang.hitch(this, this._onAppConfigChanged)));
esriBundle.toolbars.draw.addPoint = "blah blah";
},
Thanks Robert!