Updated Use Cases (markdown)
+2
@@ -92,6 +92,7 @@ In my alternative, and based on my comments for the previous use-case, the app w
|
|||||||
|
|
||||||
**Alternative 2**
|
**Alternative 2**
|
||||||
|
|
||||||
|
```js
|
||||||
var vector = new ol.layer.Vector({
|
var vector = new ol.layer.Vector({
|
||||||
source: new ol.source.Vector({
|
source: new ol.source.Vector({
|
||||||
projection: 'EPSG:4326'
|
projection: 'EPSG:4326'
|
||||||
@@ -124,6 +125,7 @@ vector.getSource().addFeatures(parser, {
|
|||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
```
|
||||||
|
|
||||||
### Load data based on map extent
|
### Load data based on map extent
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user