The Publish map tool will generate a map application that can be embedded in a web page. You can customize the tools to include in the map application toolbar.
GeoServer authentication is required to publish maps. For more information, please refer to the Login section.
Click Map on the GeoExplorer toolbar and click Publish map to display the Publish map dialog box.
The first panel of options allow you to select the tools you will require in the published map. By default, all the tools are selected. To remove a tool, clear the check box beside the tool you wish to exclude.
Click the Preview button to generate a preview of the map application. The map preview will open in a new Preview window.
The tools in the published map will include the tools you selected, plus the following two additional tools:
|Layer Switcher||A List of available Overlays and Base Maps. Click a layer in the list to switch the map display to that layer.|
|About this Map||Displays information about the GeoExplorer application|
Close the Preview window to return to the Pubish map dialog box. Click Next to continue.
The next panel will contain the HMTL code for your map application. The predefined Map Size options are Mini (100x100 px), Small (200x300 px), Large (400x600 px), and Premium (600x800 px). You can adjust the Height and Width settings as required.
Copy this HTML code into a web page to display the map application.