Merge pull request #515 from afischerdev/misc-pbfparser
Use an interface call in pbfparser lib
This commit is contained in:
commit
a75ee2b5e6
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ public class OsmParser extends MapCreatorBase {
|
||||||
|
|
||||||
public void addNode(long nid, Map<String, String> tags, double lat, double lon) {
|
public void addNode(long nid, Map<String, String> tags, double lat, double lon) {
|
||||||
NodeData n = new NodeData(nid, lon, lat);
|
NodeData n = new NodeData(nid, lon, lat);
|
||||||
n.setTags((HashMap<String, String>) tags);
|
n.setTags(tags);
|
||||||
try {
|
try {
|
||||||
nListener.nextNode(n);
|
nListener.nextNode(n);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in a new issue