We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please check way the path objet is not removing in ios side
mc.removeMapObject(moCurrPath);
The text was updated successfully, but these errors were encountered:
any support about this issue. This problem was tested in ios 15.5 iphone 13 and this method is not working...
Sorry, something went wrong.
the solution to this code is this:
your actually code in GoogleMaps libs in maven
com_codename1_googlemaps_InternalNativeMapsImpl.m
-(long long)finishPath:(long long)param{ __block GMSPolyline *polyline = nil; int color = pathStrokeColor; int width = pathStrokeWidth; dispatch_async(dispatch_get_main_queue(), ^{ GMSMutablePath path = (GMSMutablePath)param; polyline = [GMSPolyline polylineWithPath:path]; [path release]; polyline.strokeColor = UIColorFromRGB(color, 255); polyline.strokeWidth = width; polyline.map = mapView; }); return path; }
i just change async to sync
-(long long) finishPath : (long long) param { __block GMSPolyline *polyline = nil; int color = pathStrokeColor; int width = pathStrokeWidth;
dispatch_sync(dispatch_get_main_queue(), ^{ GMSMutablePath *path = (GMSMutablePath*) param; polyline = [GMSPolyline polylineWithPath : path]; [path release]; polyline.strokeColor = UIColorFromRGB(color, 255); polyline.strokeWidth = width; polyline.map = mapView; }); return polyline;
}
shannah
No branches or pull requests
please check way the path objet is not removing in ios side
mc.removeMapObject(moCurrPath);
The text was updated successfully, but these errors were encountered: