forked from MapComplete/MapComplete
refactoring
This commit is contained in:
parent
b94a8f5745
commit
5d0fe31c41
114 changed files with 2412 additions and 2958 deletions
|
@ -58,7 +58,7 @@ export default class GeoJsonSource implements FeatureSource {
|
|||
.replace("{x_max}", "" + bounds.maxLon)
|
||||
}
|
||||
|
||||
const eventsource = new UIEventSource<Feature[]>(undefined)
|
||||
const eventsource = new UIEventSource<Feature[]>([])
|
||||
if (options?.isActive !== undefined) {
|
||||
options.isActive.addCallbackAndRunD(async (active) => {
|
||||
if (!active) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue