JavaScript¶
The GeoServer scripting extension provides a number of scripting hooks that allow script authors to take advantage of extension points in GeoServer.
Hooks¶
GeoScript JS¶
To provide a JavaScript interface for data access and manipulation via GeoTools, the GeoServer scripting extension includes the GeoScript JS library. To best leverage the scripting hooks in GeoServer, read through the GeoScript JS API docs for detail on scripting access to GeoTools functionality with JavaScript.
GeoServer JavaScript Reference¶
In much the same way as GeoScript JS provides a convenient set of modules for
scripting access to GeoTools, the GeoServer scripting extension includes a
geoserver
JavaScript module that allows convenient access to some of the
GeoServer internals. See the GeoServer JavaScript API Documentation for more detail.