Parameterized classes have super annoying syntax, but this one can actually be simplified:

    private static class PoiItemizedLayer extends ItemizedLayer<MarkerItem> {
        ...
    }

No need for the `<MarkerItem extends org.oscim.layers.marker.MarkerItem>` bit. And adding `static` is an optimization the prevents the compiler for generating a reference to the outer class.