[Geomoose-users] Default tab not defaulting

Brian Fischer bfischer at houstoneng.com
Wed Jul 6 13:04:40 EDT 2011


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/0b9a865c/attachment.html


More information about the Geomoose-users mailing list