ldbv-by / bav4 Goto Github PK
View Code? Open in Web Editor NEWNext-generation web-map viewer based on web standards
Home Page: https://ldbv-by.github.io/bav4/
License: Apache License 2.0
Next-generation web-map viewer based on web standards
Home Page: https://ldbv-by.github.io/bav4/
License: Apache License 2.0
also in OlMeasurementHandler.test.js
should update the name of a layer when label property changed ( observes changes on layer.label
)
with the "checked" attribute of the underlying input field.
Tab buttons need i18n also for title attributes
reproducible by running all tests e.g. npm run test --browsers=FirefoxHeadless
An error was thrown in afterAll
Expected EventLike({ _payload: Object({ content: 'dndImport_import_no_file_found', level: Symbol(warn) }), _id: 1379875718204 }) to be undefined.
<Jasmine>
./test/modules/dndImport/components/DndImportPanel.test.js/</</</</<@/tmp/_karma_webpack_727583/commons.js:233703:52
The i-Symbol in the information-Button is partially hidden.
Originally posted by @thiloSchlemmer in #265 (comment)
... is not covered by a test in case MeasureToolContent
While digitizing a measurement-polygon, the snap&click on the first point (to automaticly finish) seems not be acknowlegded and results in a Linestring-geometry.
/**
* @enum
*/
export const SearchResultTypes = Object.freeze({
LOCATION: Symbol.for('location'),
GEORESOURCE: Symbol.for('georesource'),
CADASTRAL_PARCEL: Symbol.for('cadastral_parcel')
});
/**
* Represents a single search result.
* @class
* @abstract
* @author taulinger
*/
export class SearchResult {
constructor(id, label, labelFormated) {
this._id = id;
this._label = label;
this._labelFormated = labelFormated;
}
get id() {
return this._id;
}
get label() {
return this._label;
}
get labelFormated() {
return this._labelFormated;
}
/**
* @abstract
*/
getType() {
// The child has not implemented this method.
throw new TypeError('Please implement abstract method #getType or do not call super.getType from child.');
}
}
export class LocationSearchResult extends SearchResult {
constructor(id, label, labelFormated, center = null, extent = null) {
super(id, label, labelFormated);
this._center = center;
this._extent = extent;
}
get center() {
return this._center;
}
get extent() {
return this._extent;
}
getType() {
return SearchResultTypes.LOCATION;
}
}
export class CadastralParcelSearchResult extends SearchResult {
constructor(id, label, labelFormated, center = null, extent = null) {
super(id, label, labelFormated);
this._center = center;
this._extent = extent;
}
get center() {
return this._center;
}
get extent() {
return this._extent;
}
getType() {
return SearchResultTypes.CADASTRAL_PARCEL;
}
}
export class GeoResourceSearchResult extends SearchResult {
constructor(id, layerId, label, labelFormated) {
super(id, label, labelFormated);
this._layerId = layerId;
}
get layerId() {
return this._layerId;
}
getType() {
return SearchResultTypes.GEORESOURCE;
}
}
While using the VectorImportService
to load Vectordata from an URL as Georesource, the resulting ol.VectorSource does not fire
the 'featuresloadend'-Event. This prevents the Layerservice, to call setFetching(false)
.
When closing the main menu in portrait mode, the animation moves the main menu downward at the beginning.
obsolete since we're having the type GeoResourceFuture
when Browser-window is resized, ToolContent.js triggers the removing of the current stored ToolContentId without checking, if ToolContent is open.
absoluteOlMeasurementHandler.test.1703910062.js OlMeasurementHandler when activated over olMap looks for measurement-layer and adds the feature for copy on save FAILED
[INFO] Expected null to equal Object({ adminId: null, fileId: 'f_lastId' }).
... after tests are run. On the next run, test execution is confused.
Detect running Webkit instances:
ps -ef | grep webkit
Possible workarounds:
pkill -f "webkit"
npm run test --browsers=FirefoxHeadless,ChromeHeadless
throws error.
Should just log a warning.
Modules are not allowed to contain a /store sub-folder anymore.
the capability to drag&drop a layer to reorder the layer-list isn't working anymore.
A DraggedItem (Layer) finds no space where dropping is allowed. This is only allowed on placeholder-elements, which obviously have no space.
Adding a padding: 2px
would fix the issue.
background GeoResources are defined within a topic definition
if the user opens the DrawTool, activates one of the DrawTypes (Symbol,Text, Line,Polygon) and immediatly closes the DrawTool,
the selected DrawType (OpenLayers Draw-Interaction) is still active (the corresponding drawStyle is rendered).
Can be reproduced with npm run test:single --spec=LayerManager.test.js --browser=WebkitHeadless
(#386 should be merged first)
After loading a measurement geometry from the backend, the created layer is labeled with a fallback name but should retrieve its label from the KML file.
No value found for de.toolbox_toolbar_measure_button TranslationService.js:59
No value found for de.toolbox_toolbar_draw_button TranslationService.js:59
No value found for de.toolbox_toolbar_share_button TranslationService.js:59
When selecting a base layer, an existing base layer should be removed only when it has an index of 0
Active LayerHandler should not disable click events on the map automatically.
Due to changes in config of Webpack-dev-server the npm script "start" fails with
Webpack Dev Server Invalid Options-Error.
Removing of the 'static'-option in webpack.config.js solves the problem.
devServer: { // static: './dist', port: port }
Reason: Cutting off a Node from one place of the DOM and moving it to the Modal seems to destroy event handler bindings of nested components
According to https://en.wikipedia.org/wiki/ISO_6709 the correct order of coordinates for human interfaces is latitude, longitude.
Affects:
A simple [x,y].reverse()
before calling coordinateService.stringify()
should do it.
if a measure-feature is drawn, the first partition-overlay (e.g. 100m) is flicker and switches between tow states (0.1km <> 100m), while moving the pointer over the map
Layer manager seems not to take account of a falsy initial layer visibility, the visibility toggle is always on.
Let's wait with a fix until #147 is merged into master.
On Android, the viewport changes to landscape layout when the virtual keyboard is opening
example: ?generate_test_ids=true&l=
-> TypeError: id must not be undefined
Probably won't be needed.
when MainMenu is closed (in portrait mode)
... on first and second click in right and/or lower sector of the map
if the measurement-layer changes the visibility or opacity the measurement-related overlays does not change.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.