You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i create a PieChartDataLayer use geojson, and i add it to the map, the PieChartDataLayer is invisiable, i guess the options arguments not correct and i don't know how to solve...
@wojiaohanshuai I'll check it out. Your example looks OK to me at first glance, but I'm going to throw together an example based on what you've provided to figure out what the issue is. Should have an answer shortly.
It looks like the issue is the actual GeoJSON. In the example above, the geometry type is MultiPoint, but the coordinates contains a single point rather than an array of points. If you change it to Point instead of MultiPoint, it works just fine.
i create a PieChartDataLayer use geojson, and i add it to the map, the PieChartDataLayer is invisiable, i guess the options arguments not correct and i don't know how to solve...
my geojson is
my code is
thx for your help
The text was updated successfully, but these errors were encountered: