[Geomoose-users] Default tab not defaulting

Bistrais, Bob Bob.Bistrais at maine.gov
Wed Jul 6 13:09:29 EDT 2011


That was it!

 

Thanks Brian!!

 

________________________________

From: Brian Fischer [mailto:bfischer at houstoneng.com] 
Sent: Wednesday, July 06, 2011 1:05 PM
To: Bistrais, Bob; geomoose-users at lists.sourceforge.net
Subject: RE: Default tab not defaulting

 

My guess is you are using the custom work we did for Oregon and it is
autoloading it.  If this is the cause, look in your custom.js file.

 

Then look for this code and change the reference to the service it is
autoloading.

//LK User Extension to autoload services without specifying them as part
of the URL

AutoLoadServices = new OpenLayers.Class(GeoMOOSE.UX.Extension, {

                services: ['search_parcels'],

                afterMapbookLoad: function() {

                                for(var i = 0; i < this.services.length;
i++) {

 
GeoMOOSE.startService(this.services[i]);

                                }

                },

                CLASS_NAME: "AutoLoadServices"

});

GeoMOOSE.UX.register("AutoLoadServices");

 

Brian Fischer

GIS Project Manager 

Houston Engineering, Inc.

O 763.493.4522 | D 763.493.6664 | F 763.493.5572

 

From: Bistrais, Bob [mailto:Bob.Bistrais at maine.gov] 
Sent: Wednesday, July 06, 2011 11:59 AM
To: geomoose-users at lists.sourceforge.net
Subject: [Geomoose-users] Default tab not defaulting

 

I'm having an unexplained problem with my Geomoose application.  I want
the catalog tab (map layers) to be the one displayed on application
load.  Both my mapook.xml and the compiled.js have these parameters set
as the default.  But when I load the application, the Search tab
(services) displays.  What else needs to be changed to have the catalog
show by default?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20110706/f49f7422/attachment.html


More information about the Geomoose-users mailing list