-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Wrong datatype for LMapOptions#zoomDelta #499
Comments
To quote from our usage section:
Okay I need more info here otherwise I can't help. The id inside the constructor is used for the component that will display the map. This is also documented in Leaflet. |
Thanks for the response. Let me try again. |
Ok that's something completely different as was described in the issue.
Okay so that has a wrong data type, we should fix that.
You could run something like this: map.invokeSelf(".options.zoomDelta = 0.2"); or extends from |
Following up on this. Cool that you fixed it in the above commit, thanks. Is there a way to access the map element directly? The above line |
So I had a quick look into this: The values are written to This is a leaflet specific problem and not related to the component. |
Checklist
What is/are your question(s)?
What is the correct way to instantiate a new LMap and display it or add it to the MapContainer?
I have tried
LMap map = new LMap(reg,"my-id");
but can't get this map to display.Ultimately, I am trying to create a map where I can set the 'id'. Then via js, change properties of the LMap by retrieving the id etc...
Additional information
No response
The text was updated successfully, but these errors were encountered: