Skip to content
Snippets Groups Projects
Commit 997e8c4a authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Add point of interest's name to the GeoJson properties

parent 529e15d2
Branches
No related tags found
No related merge requests found
......@@ -276,6 +276,10 @@ public class PointOfInterest implements Serializable, Comparable {
{
this.properties.put("pointOfInterestTypeId", this.getPointOfInterestTypeId());
}
if(this.properties.get("pointOfInterestName") == null)
{
this.properties.put("pointOfInterestName", this.getName());
}
return this.properties;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment