sarweshkumar47 / curve-fit Goto Github PK
View Code? Open in Web Editor NEWCurve-Fit is an Android library for drawing curves on Google Maps
Home Page: https://sarweshkumar47.github.io/Curve-Fit/
License: Apache License 2.0
Curve-Fit is an Android library for drawing curves on Google Maps
Home Page: https://sarweshkumar47.github.io/Curve-Fit/
License: Apache License 2.0
can we have list of latlng of geodesic path being drawn by google maps?
Got this error trying to click a curve after an app sleep/resume... maybe also related to the weak references issues...
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.HashMap.get(java.lang.Object)' on a null object reference
at com.makesense.labs.curvefit.impl.CurveManager$DelegatingCurveClickListener.onPolylineClick(CurveManager.java:142)
at com.google.android.gms.maps.zzq.zza(Unknown Source:2)
at com.google.android.gms.maps.internal.zzbg.dispatchTransaction(Unknown Source:5)
at com.google.android.gms.internal.maps.zzb.onTransact(Unknown Source:12)
at android.os.Binder.transact(Binder.java:667)
at hl.b(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (100400-257258062):14)
at com.google.android.gms.maps.internal.bu.a(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (100400-257258062):4)
at com.google.maps.api.android.lib6.impl.dt.y(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (100400-257258062):270)
at com.google.maps.api.android.lib6.gmm6.api.r.a(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (100400-257258062):137)
at com.google.maps.api.android.lib6.gmm6.api.q.a(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (100400-257258062):58)
at com.google.maps.api.android.lib6.gmm6.vector.af.b(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (100400-257258062):130)
at com.google.maps.api.android.lib6.gmm6.vector.dc.onSingleTapConfirmed(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (100400-257258062):22)
at com.google.maps.api.android.lib6.impl.gesture.c.onSingleTapConfirmed(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (100400-257258062):240)
at com.google.maps.api.android.lib6.impl.gesture.e.handleMessage(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (100400-257258062):9)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Is CurveOptions width in pixels or dips?
Is there any way to adjust the curvature of the lines? Actually, I'd like to be able to create a straight line for some datasets.
As the title says, this library is not compatible with the new Android Maps SDK coming out. Any idea if/when a compatible version is coming out?
I really like this library, but will have to pull it from my app if this can't be resolved soon.
How is this integrated into a project? Via a gradle library dependency (like the old one) or put in the libs directory as an APK? I can't get it to work.
hi there !
thanks for useful library , i have one problem and one question
1 - in my case i have few item when click on item show you dialog with map fragment and show the curved polyline but thats work for first time and the next time the polyline dosn't show .
2 - can i set animation to polyline color change ?!
Periodically, I'll get a NullPointerException when closing a map with a curve and then reopening it to show the curve again. I haven't isolated a pattern yet. Here is the stack trace:
java.lang.NullPointerException: Attempt to invoke interface method 'void com.makesense.labs.curvefit.interfaces.UiThreadCallback.publishToUiThread(android.os.Message)' on a null object reference
at com.makesense.labs.curvefit.impl.WorkerHandlerThread$1.handleMessage(WorkerHandlerThread.java:83)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.