mapsforge 0.5.0 adaption
merged mapsforge 0.5.0 rc adaption