Open
Description
When using type: choropleth
and setting a geojson
url, the geojosn file from cdn.plot.ly
still is loaded first.
I'd expect that only the specified geojson file is loaded and used.
(This would be useful to e.g. implement a strict CSP on a site using plotly)
Example: https://codepen.io/lucavazz/pen/jOdrWgV
(baed on https://codepen.io/lucavazz/pen/poGbybw / #4267)
var data = [{
// ...
geojson: 'https://unpkg.com/[email protected]/dist/world_110m.json'
// this url is an example, in practice this would point to a relative assets path
}]
Is this intended behavior / is some configuration missing in the example to only use the provided geojson or is this a bug in the implementation?
Thanks in advance :)