Merge pull request #282 from sanderd17/patch-2

fix issue 1233
This commit is contained in:
sonora 2012-08-07 07:07:52 -07:00
commit 28ed74045d

View file

@ -47,6 +47,9 @@ public class Amenity extends MapObject {
this.site = entity.getTag(OSMTagKey.CONTACT_WEBSITE);
}
}
if (this.site.indexOf("://") == -1){
this.site = "http://"+this.site;
}
}
this.description = entity.getTag(OSMTagKey.DESCRIPTION);
}