microg / android_frameworks_mapsv1

MapsV1: A system library, providing the functionality of Google Maps API v1
Apache License 2.0
103 stars 28 forks source link

added missing typecast #3

Closed SWW13 closed 8 years ago

SWW13 commented 9 years ago
frameworks/mapsv1/src/com/google/android/maps/Overlay.java:109: error: no suitable method found for fromPixels(float,float)
            return onTap(new GeoPoint(mapView.getProjection().fromPixels(e.getX(), e.getY())), ((MapView.WrappedMapView) mapView).getOriginal());
                                                             ^
    method Projection.fromPixels(int,int,GeoPoint) is not applicable
      (actual and formal argument lists differ in length)
    method Projection.fromPixels(int,int) is not applicable
      (actual argument float cannot be converted to int by method invocation conversion)
mar-v-in commented 8 years ago

Already done in current master (seems I missed your PR)