I used old GroundOverlay this way, as described in the manual:
GroundOverlay myGroundOverlay = new GroundOverlay(this);
myGroundOverlay.setPosition(p);
myGroundOverlay.setImage(getResources().getDrawable(R.drawable.ic_launcher).mutate());
myGroundOverlay.setDimensions(2000.0f);
map.getOverlays().add(myGroundOverlay);
now in the last release it is not possible to do so, because setPosition wants 2 points, and no setDimensions() anymore. Thus the documentation is obsolete :-)
But anyway. How could I workaround this? I know only one point, and I need to just scale my image. I have no bounding box and don't need in complex matrix transformations. Just simply place a picture in a center.
Thanks.
I used old GroundOverlay this way, as described in the manual:
now in the last release it is not possible to do so, because setPosition wants 2 points, and no setDimensions() anymore. Thus the documentation is obsolete :-)
But anyway. How could I workaround this? I know only one point, and I need to just scale my image. I have no bounding box and don't need in complex matrix transformations. Just simply place a picture in a center.
Thanks.