Hi,
I am using new release (GeoServer 2.1.3) and I expect a JavaScript
error when I try to change style on the "OpenLayers map preview":
<select id="imageFormatSelector" onchange="setStyle(value)">...</select>
> setStyle is not defined.
In fact I notice that previous version of OpenLayersMapTemplate.ftl
file contains this function while this release does not.
The missing code:
// sets the chosen style
function setStyle(style){
// we may be switching style on setup
if(tiled == null)
return;
tiled.mergeNewParams({
styles: style
});
untiled.mergeNewParams({
styles: style
});
}
Is it possible to patch this manually without compile all sources ?
Thank you in advance.
Julio.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users