AnsweredAssumed Answered

Initiate a behavior on application launch

Question asked by on May 16, 2016
Latest reply on May 16, 2016 by


I'm trying to realize how can I highlight a polygon or a point on a specific layer (just like the search widget does) as the application loads. I'm getting tangled with how it's best to do this.

My first thought was to inject the code somewhere in the js files after the map was loaded.

After a second thought I came up with the idea of adding a custom behavour inside a custom widget and just execute that widget on load.. So far I couldn't find the best spot where I know for certain the map and all of its content were fully loaded. Anyone ever done such thing before?