ofrohn / d3-celestial

A star map with d3.js
BSD 3-Clause "New" or "Revised" License
641 stars 181 forks source link

Change the zoomlevel manually with apply function #112

Open Daxtermania opened 3 years ago

Daxtermania commented 3 years ago

Hello everyone,

I am trying to modify the zoom manually with custom controls but I am not able to do it, I have tried this but it does not work.

cfg.zoomlevel = 2;
Celestial.apply(cfg);

I need it to work with the apply function, not the initial instance

Can you help me?

Thanks,