Guillaume

Results 90 comments of Guillaume
trafficstars

Well, this is expected since the `update()` trigger will modify the `legend.plot.slices.size` value... Another approach would be to gather all plots as a `set` and apply a transform on them.

Here is a working example on using `set`: http://jsfiddle.net/9gzu0k4g/1/ Important note: this will only resize plots, and not the text element next to them if they are defined. Scaling the...

Here is an update with some animation and debouncing for better experience: http://jsfiddle.net/9gzu0k4g/2/

@neveldo after PR #322 is merged, we should think about adding an option for automatic plot/link scaling. The hardest part will be to properly update the text size and position...

Plots scaling for SVG paths is more tricky, since there is already a `transform` applied to it. If you can wait, I am working on this feature and it is...

@andersonreloaded is this issue with my example above, or with the new feature in the PR? Do you have a working example?

Start from the [latest JSFiddle](http://jsfiddle.net/9gzu0k4g/2/), and click on `fork` on top left. You'll be able to modify it at will. Then click on `save` and share the link :smile:

@andersonreloaded ~~I just tested it and I can't seems to reproduce your issue. I'm using Firefox 56. Which browser are you using?~~ Oh OK I just saw it...

The thing is, my example code does _not_ handle text elements [as I said in my comment](https://github.com/neveldo/jQuery-Mapael/issues/253#issuecomment-334405150). I think the text drifts may be due to a rounding issue when...

That is an interesting feature indeed. Should Mapael be capable of loading a GeoJSON directly or maybe an offline tool like SVGtoMapael?