Skip to content

Commit

Permalink
Merge pull request #143 from OnroerendErfgoed/develop
Browse files Browse the repository at this point in the history
release 0.9.8
  • Loading branch information
cedrikv authored Jan 10, 2022
2 parents 305ca22 + ca8cee1 commit a27ba29
Show file tree
Hide file tree
Showing 24 changed files with 316 additions and 238 deletions.
6 changes: 3 additions & 3 deletions dist/commonjs/gis-utils/components/ol-geolocate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import * as ol from 'openlayers';
export declare class Geolocate extends ol.control.Control {
options: any;
element: Element;
button: HTMLButtonElement;
drawAction: any;
geolocation: ol.Geolocation;
layer: ol.layer.Vector;
constructor(optOptions: any);
private _zoomToLocation;
private _createLayer;
private _createFeature;
}
2 changes: 1 addition & 1 deletion dist/commonjs/gis-utils/components/ol-geolocate.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 46 additions & 46 deletions dist/commonjs/gis-utils/components/ol-geolocate.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/gis-utils/components/ol-geolocate.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion dist/commonjs/gis-utils/map-util.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
import * as ol from 'openlayers';
import { Boundingbox } from './models/boundingbox';
export declare class MapConfig {
mapProjection: ol.proj.Projection;
useGeolocate: boolean;
useLayerswitcher: boolean;
center?: ol.Coordinate;
maxZoom?: number;
minZoom?: number;
zoom?: number;
geolocateZoom?: number;
constructor(mapProjection: ol.proj.Projection, useGeolocate?: boolean, useLayerswitcher?: boolean, center?: ol.Coordinate, maxZoom?: number, minZoom?: number, zoom?: number, geolocateZoom?: number);
}
export declare class MapUtil {
static transformBoundingboxToMapExtent(boundingbox: Boundingbox): [number, number, number, number];
static transformLatLonToPoint(lat: number, lon: number): ol.geom.Point;
static createGrbLayer(grbLayerId: string, title: string, isBaseLayer: boolean, visible: boolean, mapProjection: ol.proj.Projection): ol.layer.Layer;
static createVectorLayer(options: any): ol.layer.Vector;
static createNgiLayer(layerId: string, title: string, isBaseLayer: boolean): ol.layer.Layer;
static createGrbWMSLayer(wmsLayers: string, title: string, isBaseLayer: boolean, mapProjection: ol.proj.Projection): ol.layer.Tile;
static createMap(target: Element, mapProjection: ol.proj.Projection): ol.Map;
static createMap(target: Element, config: MapConfig): ol.Map;
static mergePolygons(features: ol.Feature[]): ol.Feature;
static intersectPolygons(polygon1: ol.Feature, polygon2: ol.Feature): ol.Feature;
static subtractPolygons(polygon1: ol.Feature, polygon2: ol.Feature): ol.Feature;
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/gis-utils/map-util.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 39 additions & 22 deletions dist/commonjs/gis-utils/map-util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a27ba29

Please sign in to comment.