-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
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
TypeError: "curve.trace is not a function" #23
Comments
From the code snippet you provide, I would expect it to work. I'm not sure what could be wrong. What do you get if you debug the following?
|
I faced the same issue console.log(curve) returns: Total number: 3 "}_popupHandlersAdded: true _renderer: e {options: {…}, _leaflet_id: 8644, _layers: {…}, _initHooksCalled: true, _mapToAdd: e, …} _usingCanvas: false _zoomAnimated: true proto: e |
@JensC @khetamHamad An outdated version of the plugin was published as 0.5.0. This is why there were errors with the trace function not being recognized. An accurate package has been published as 0.5.2. |
First of all, thanks for implementing the helpful trace method. In a react app I wanted to use the new method and I got the error mentioned in the title. Drawing the curve works just fine.
Here is the used code snippet
I am using leaflet 1.1.0 and the newest (0.5) Leaflet.curve. Any idea what is going wrong?
The text was updated successfully, but these errors were encountered: