Regression fix
This commit is contained in:
1 parent
c2705def86
commit
64b01bd7a5
1 file changed
+1
-2
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user