Regression fix
This commit is contained in:
parent
c2705def86
commit
64b01bd7a5
|
@ -219,7 +219,7 @@ export const getTagType = (feature: Feature) => {
|
||||||
for (const tagType of Object.keys(osmTags)) {
|
for (const tagType of Object.keys(osmTags)) {
|
||||||
const tag: OsmTag = osmTags[tagType];
|
const tag: OsmTag = osmTags[tagType];
|
||||||
const tagValue = feature.get(tag.name);
|
const tagValue = feature.get(tag.name);
|
||||||
if (tagValue != undefined) {
|
if (tagValue === tag.value) {
|
||||||
return tagType;
|
return tagType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -232,7 +232,6 @@ export const isHighlightedTagType = (tagType: string) => {
|
||||||
return currentOverlayHighlightedDefinition.includes(tagType);
|
return currentOverlayHighlightedDefinition.includes(tagType);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const MapTilesProvider: Component<{}> = (props) => {
|
const MapTilesProvider: Component<{}> = (props) => {
|
||||||
const [open, setOpen] = createSignal(false);
|
const [open, setOpen] = createSignal(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue