hi guys,
it's posible to change the zoom To text to other word. if yes, how can i do that
thanks
Joel,
Sure you just need to set the default string for your locale:
var map; require(["esri/map", "dojo/i18n!esri/nls/jsapi", "dojo/domReady!"], function(Map, bundle) { bundle.widgets.popup.NLS_zoomTo = "blah blah"; } );
thanks.
how can i archive it in legacy style?
I never use Legacy coding style so I am not 100% but I think it is:
dojo.require("esri.bundle");
FWI: you really need to more your code to AMD as Legacy is no longer supported in JS 4.x API
Yes i know. i am planning to use the AMD style later. but now i need to make the app work.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.