x

Re: popup - layer is null wenn auserhalb karte


Geschrieben von mylama (Gast) am 01. März 2011 22:47:48: [flux]

Als Antwort auf: popup - layer is null wenn auserhalb karte geschrieben von mylama (Gast) am 28. Februar 2011 21:59:

So ich habe das problem gefunden:

POI = new OpenLayers.Layer.Vector("POI", {
strategies: [new OpenLayers.Strategy.BBOX({resFactor: 1.1})],
protocol: new OpenLayers.Protocol.HTTP({
url: "poi.php",
format: new OpenLayers.Format.Text()
}),
});

Genauer liegt es an resFactor: 1.1
Wenn ich aber auf ratio: 1 umstelle,wird die poi.php nicht mehr abgerufen.
Hier sind die Lon ud Lat daten damit ich im umkreis die POIs finde.
Da ich ja nicht alle 23.000 laden kann.

Hat jemand ein rat für mich ?