Documentation about projection scale #77
Replies: 4 comments 2 replies
-
both options provide an additional way to scale/translate the projection. see also source at: chartjs-chart-geo/src/scales/ProjectionScale.ts Lines 160 to 162 in 71aee67 an example would be to move and scale the map on top of the automatic scaling: |
Beta Was this translation helpful? Give feedback.
-
Thank you very much @sgratzl |
Beta Was this translation helpful? Give feedback.
-
If I may, always in readme, |
Beta Was this translation helpful? Give feedback.
-
Hello. Is there any possibility to center the map on a certain city (latitude and longitude) regardless of the use of projectionOffset? |
Beta Was this translation helpful? Give feedback.
-
In the README, the following sentence is wrtten about projection scale:
Nevertheless, having a look to
IProjectionScaleOptions
, there are other 2 ooptions, not documented:chartjs-chart-geo/src/scales/ProjectionScale.ts
Lines 72 to 73 in 71aee67
Should we consider them as "private"? If not, do you think it's possible to document them, explaining their meaning and usage?
Beta Was this translation helpful? Give feedback.
All reactions