Skip to content

PJHogan/es2-service-template

 
 

Repository files navigation

es2-service-template

EarthServer 2 service template

Main file is "service.js". This file creates the main UI components of the page (main dock (the left one), info dock, gis toolbar and coordinates overlay).

###General Info ####Widget Initialization A widget can be initialized with the following command:

var widget = $("<div>").widgetName({option: optionValue});

Any widget method can be called like this:

widget.widgetName("methodName", params);

In order to avoid passing the method name as a string argument, one can get the widget instance, Using the

var widgetInstance = widget.widgetName("instance");

and then call any method in the following way:

widgetInstance.methodName(params);

###API ####mainDock Widget #####Methods addProjectionSelectPanel addAvailableCoveragesPanel addQueryTerminalPanel

About

EarthServer 2 service template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.3%
  • CSS 31.8%
  • HTML 1.9%