<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
I noticed in mapquery.core the options of the Layer are not saved
with the layer object. Eg you cannot do layer.options to find the
options of the layer object. Also there is this bit starting at line
225:<br>
// create the actual layer based on the options<br>
// Returns layer and final options for the layer (for later
re-use,<br>
// e.g. zoomToMaxExtent).<br>
var res =
$.MapQuery.Layer.types[options.type.toLowerCase()].call(<br>
this, options);<br>
this.olLayer = res.layer;<br>
options = res.options;<br>
<br>
I've got the feeling that this should be:<br>
// create the actual layer based on the options<br>
// Returns layer and final options for the layer (for later
re-use,<br>
// e.g. zoomToMaxExtent).<br>
var res =
$.MapQuery.Layer.types[options.type.toLowerCase()].call(<br>
this, options);<br>
this.olLayer = res.layer;<br>
<b>this.</b>options = res.options;<br>
<br>
So if no-one has an objection I'll push this change later this week
to git.<br>
<br>
Steven<br>
<br>
</body>
</html>