I am trying to use a web map service in an overlay for google maps. I have so far loaded the url image in the Draw method in the overlay class but the performance is relly poor when showing the overlay.
Does someone know if I can get an event or something when the google map has been updated so that I can start loading and drawing the map image? For example when the map has been finished panning etc... Or does have anyone some other idea how I can do this??
Please help because its very frustrating...

public void draw(Canvas canvas, MapView mapView,
boolean shadow) {
super.draw(canvas, mapView, shadow);
WMSLoader wmsloader = new WMSLoader();
Bitmap image = wmsloader.loadMap(canvas.getWidth(), canvas.getHeight(), MapUtils.getTopLeftCornerCoordinates(mapView.getProjection(), canvas), MapUtils.getLowRightCornerCoordinates(mapView.getProjection(), canvas));
etc.....

