Skip to content

Developers Page

tdipisa edited this page Oct 24, 2012 · 35 revisions

General Informations

This section provides several useful informations for a developer in order to: manage the MapStore configuration, add and configure additional plugins and develop in general in MapStore.

Configuration

By default MapStore loads configuration from config/mapStoreConfig.js. Passing the parameter config=myconfig in GET request the page will load: config/myconfig.js instead. For more informations about configuration see the configuration page

Plugins

Widgets

Tips and Tricks

Remove View Tab

In some cases dont need to use an ExtJs TabPanel as viewer/composer container. For example if we dont use the MetadataExplorer tool. In these cases if you want you can use a simple ExtJs Panel and change the container type. As you can see from the following code this is very simple by modifying the relevant code inside the Composer.html and Viewer.html files.

        var appTabs = new Ext.Panel({    // Use Ext.Panel as a new container
            region: "center",
	        layout: "fit",               // Set a proper layout for the new container type
            border : false,
            id : "appTabs",
            enableTabScroll: true
        });

Add and customize welcome screen

TODO

Clone this wiki locally