org.gwtopenmaps.openlayers.client.strategy
Class FixedStrategy
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.strategy.Strategy
org.gwtopenmaps.openlayers.client.strategy.FixedStrategy
public class FixedStrategy
- extends Strategy
- Author:
- Maciej Jezierski - Pinocchio, lorenzo
A simple strategy that requests features once and never requests new data
Method Summary |
void |
destroy()
Clean up the strategy. |
void |
preload(boolean preload)
Load data before layer made visible. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedStrategy
protected FixedStrategy(JSObject strategy)
- TODO ahhughes - should this be public or private?
- Parameters:
strategy
-
FixedStrategy
public FixedStrategy(FixedStrategyOptions options)
FixedStrategy
public FixedStrategy(JSObject strategy,
boolean preload)
FixedStrategy
public FixedStrategy(boolean preload)
FixedStrategy
public FixedStrategy()
destroy
public void destroy()
- Clean up the strategy.
preload
public void preload(boolean preload)
- Load data before layer made visible. Enabling this may result in considerable overhead if your application loads many data layers that are not visible by default. Default is false.
- Parameters:
preload
-
Copyright © 2011 sourceforge. All Rights Reserved.