07-24-2019 11:13 PM
in the latest releases og GMSC there is an integrated Firebug lite within the Java browser (you can open it by pressing F12). It is not as powerful as a standard developer tool provided by browsers like Chrome or FF. If you want to use those browsers you can also open the workflow outside of the Java context and debug it there (you find the URL to open it in the client log file). In this case you will not have the possibility to get access to the scripting object that communicates with the map.
07-24-2019 11:30 PM
thanks for your reply Dear i am using GMSC 22.214.171.124 so when i press F12 there nothing happend can you explain little more how i can open it in chrome where i can find the url ?thanks in advance
07-25-2019 12:05 AM
the client log file is accessible from status bar on the bottom of your window. please check here:
you must set the log details to all and then open the workflow, in the log file you will then find the full URL to open it.
07-25-2019 12:39 AM
After selecting All Option i got the log file with lot of detail logs i also attached my log file with this can you explain after looking into my log file where is my URL
thank you dear your answers helping alot
07-25-2019 01:15 AM - edited 07-25-2019 01:18 AM
07-25-2019 01:43 AM
as said there is no way to get the map object outside of the Java context. In general to debug the JS methods that communicate with the map is not hard, it is enough to put some notifications in your code to understand at what point the script fails. you can
looks stange to me you cannot open the Java browser console, you can try to put firebug lite at the beginning of a custom script :
In there you can call the SC.Map methods individually.
I'm not quite sure what you mean by "how I can overlay an external image on map".
07-25-2019 02:27 AM
thanks for previous help i got the fire bug plugin on my side.
Now actually i need a SC.Map.addLayer(my layer object) so i can add my layer to map on client side directly just to view but so far i didn't found any addLayer function with SC.Map please help thanks;
07-25-2019 02:40 AM
there is not an addLayer method. The API is published here:
you would need a custom plugin to do this.
07-25-2019 06:11 PM
i have a layer object i want to add it into map i see no function in above documentation to add that into map.All available function take layer name as string then thses function can make already added layer visible ,hide etc ...... but i want to add new layer on fly no metters it add into legend or not how i can do that thanks in advance