Restore layer alias variable
This commit is contained in:
@@ -116,8 +116,8 @@ OpenLayers.Strategy.Fixed = OpenLayers.Class(OpenLayers.Strategy, {
|
|||||||
if (resp.success()) {
|
if (resp.success()) {
|
||||||
var features = resp.features;
|
var features = resp.features;
|
||||||
if (features && features.length > 0) {
|
if (features && features.length > 0) {
|
||||||
var remote = this.layer.projection;
|
var remote = layer.projection;
|
||||||
var local = this.layer.map.getProjectionObject();
|
var local = layer.map.getProjectionObject();
|
||||||
if(!local.equals(remote)) {
|
if(!local.equals(remote)) {
|
||||||
var geom;
|
var geom;
|
||||||
for(var i=0, len=features.length; i<len; ++i) {
|
for(var i=0, len=features.length; i<len; ++i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user