Commit 8267d9e5 authored by Sebastian's avatar Sebastian

redirect bei dismiss/close von /login, kleiner bugfix beim abholen von geo-elementen

parent a58b82a3
......@@ -290,8 +290,17 @@ export class OsmNode {
this.osmtags.push(tag);
}
hasOsmTag(tag:KeyValuePair){
hasOsmTag(tag:KeyValuePair|string){
if(tag instanceof KeyValuePair){
return (this.osmtags.indexOf(tag,0)>-1);
}else{
for(let _tag of this.tags){
if(_tag.key == tag){
return true;
}
}
return false;
}
}
getTag(key:string){
for(let tag of this.tags){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment