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
When adding a map to a grid, it is inferred as a TableElement and I get the error -
TableElement
Property 'addMarker' does not exist on type 'TableElement'.
When I then explicitly say it's a MapElement like this
MapElement
const map: contrib.Widgets.MapElement = grid.set(0, 0, 1, 1, contrib.map, { label: 'Markets' });
I then get Property 'addMarker' does not exist on type 'MapElement'.
Property 'addMarker' does not exist on type 'MapElement'.
It seems to want to accept setData but that's not an internal function for the Map widget
setData
Map
From looking at the types, there is nothing for the map options. At least that's my assumption.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When adding a map to a grid, it is inferred as a
TableElement
and I get the error -Property 'addMarker' does not exist on type 'TableElement'.
When I then explicitly say it's a
MapElement
like thisconst map: contrib.Widgets.MapElement = grid.set(0, 0, 1, 1, contrib.map, { label: 'Markets' });
I then get
Property 'addMarker' does not exist on type 'MapElement'.
It seems to want to accept
setData
but that's not an internal function for theMap
widgetFrom looking at the types, there is nothing for the map options. At least that's my assumption.
The text was updated successfully, but these errors were encountered: