Skip to content

Aitoff and sinusoidal geo projections #1400

Closed
@collioud

Description

@collioud

Hello,

I noticed by looking at the plotly.js file that two geo projections are already included : the aitoff and the sinusoidal one. But these are not directly usable because they are not referenced.
This could be done by adding the two following code lines into the plotly.js file :

// projection names to d3 function name
params.projNames = {
    // d3.geo.projection
    ...
    'aitoff': 'aitoff',           
    'sinusoidal': 'sinusoidal'   
};

Of course, the API reference should be also updated.

I am very pleased that these are already included since I need the aitoff projection for one project of mine. I didn't feel adding a projection "from scratch" into Plotly.js...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions