This commit is contained in:
Victor Shcherb 2016-06-14 00:31:59 +02:00
parent 6c9ef1144b
commit 5fc6ebe58e

View file

@ -259,6 +259,7 @@ public class MapPoiTypes {
if (resourceName != null) { if (resourceName != null) {
this.resourceName = resourceName; this.resourceName = resourceName;
} }
this.categories.clear();
try { try {
if (this.resourceName == null) { if (this.resourceName == null) {
is = MapPoiTypes.class.getResourceAsStream("poi_types.xml"); //$NON-NLS-1$ is = MapPoiTypes.class.getResourceAsStream("poi_types.xml"); //$NON-NLS-1$