Skip to content

World Choropleth map issue with showcoastlines: false #3992

Closed
@michaelbabyn

Description

@michaelbabyn

Originally reported in /plotly/documentation#1378, this choropleth example doesn't load anymore due to a regression introduced in 1.48. See this codepen with layout.geo.showcoastlines: true using plotly.js 1.47.0 and the same plot using version 1.48.0 of plotly.js.

I see the following error in the console:

Uncaught (in promise) TypeError: Cannot read property 'objects' of null
    at n.getTopojsonFeatures (plotlyjs-bundle.7315e6932bed.js:1)
    at u (plotlyjs-bundle.7315e6932bed.js:1)
    at Object.e.exports [as plot] (plotlyjs-bundle.7315e6932bed.js:1)
    at Object.g.generalUpdatePerTraceModule (plotlyjs-bundle.7315e6932bed.js:1)
    at y.x.update (plotlyjs-bundle.7315e6932bed.js:1)
    at y.x.plot (plotlyjs-bundle.7315e6932bed.js:1)
    at Object.plot (plotlyjs-bundle.7315e6932bed.js:1)
    at r.drawData (plotlyjs-bundle.7315e6932bed.js:1)
    at Object.l.syncOrAsync (plotlyjs-bundle.7315e6932bed.js:1)
    at i (plotlyjs-bundle.7315e6932bed.js:1)

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions