Compare commits

..

No commits in common. "296385ab330ca58adedc8ab370ae26a51a05ddd0" and "a408f4bffac4f360f6bf3fd0a29c2a2fd6d4996c" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "farmmaps-lib-app",
"version": "2.1.5",
"version": "2.1.4",
"scripts": {
"ng": "ng",
"start": "ng serve",

View File

@ -13,7 +13,6 @@ import {Tile,Layer,Image} from 'ol/layer';
import {XYZ,ImageStatic,OSM,BingMaps,TileWMS,TileArcGISRest,TileJSON,Source} from 'ol/source';
import {Vector as VectorSource} from 'ol/source';
import { Vector as VectorLayer } from 'ol/layer';
import { VectorImage as VectorImageLayer } from 'ol/layer';
import VectorTileSource from 'ol/source/VectorTile';
import VectorTileLayer from 'ol/layer/VectorTile';
import {GeoJSON,MVT} from 'ol/format';
@ -194,8 +193,7 @@ export class ItemLayersComponent extends LayerGroupComponent implements OnChange
});
}
});
layer = new VectorImageLayer({
declutter: true,
layer = new VectorLayer({
source: source,
style: (feature) => {
var key =feature.get("code") + "_" + feature.get("color");