What steps will reproduce the problem?
In OverlayManager, tilesOverlay was planned to be optionnal.
But setting a null tilesOverlay in the constructor causes a null pointer
exception: OverlayManager o = new OverlayManager(null);
What version of the product are you using?
osmdroid 3.0.10
Please provide any additional information below.
Here is the fix in OverlayManager.class :
public void setTilesOverlay(final TilesOverlay tilesOverlay) {
mTilesOverlay = tilesOverlay;
if (mTilesOverlay != null) //THE TEST TO ADD
mTilesOverlay.setUseSafeCanvas(this.isUsingSafeCanvas());
}
Original issue reported on code.google.com by mathieu....@gmail.com on 16 Oct 2013 at 4:06
Original issue reported on code.google.com by
mathieu....@gmail.com
on 16 Oct 2013 at 4:06