[Geomoose-users] startup service

Brent Fraser bfraser at geoanalytic.com
Tue Mar 22 13:49:51 PDT 2016


Hi devs,

   In my task to upgrade my digitizing app, I see a couple of things:

1.  That specifying a startup service in the URL  disables the tools in 
the toolbar

2.  Specifying a startup service in the mapbook or in config.js doesn't 
seem to work.  And I can't find any place in the code where 
startup_service is referenced.

So I added a few lines to main.js (at line 73):

         var params = GeoMOOSE.getUrlParameters();
         if(GeoMOOSE.isDefined(params.call)) {
             var service_name = params.call;
             delete params.call;
             GeoMOOSE.startService(service_name, params, true);
         };

*        /*  --- new: --- */**
**if(GeoMOOSE.isDefined(CONFIGURATION['startup_service'])) { **
**            var service_name = CONFIGURATION['startup_service'];**
**            GeoMOOSE.startService(service_name, params, true);**
**        }**
*
while it does start the service in the config.js, but it has the same 
effect on the toolbar as specifying "?call=myservice" in the URL (it is 
disabled).

   Is there something special I need to set to enable the toolbar after 
a startup service?

-- 
Best Regards,
Brent Fraser

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20160322/2136d71a/attachment.html>


More information about the Geomoose-users mailing list