Skip to content

[newb] disable plot aimations & zooming #160

@dnsBlah

Description

@dnsBlah

Hi,

first I'd like to thank you for this great fork!
I really love it!

I have 3 simple questions which I can't seem to fix.

  • I'd like to kill all the animations on the map. (mainly just the plot hover)
    fixed it using: "animDuration": 0, stroke: "transparent"
  • I do got zoom on scroll, pinch and 2 buttons, But I'd also like to some when pressed on a plot (relative to the position of the plot of course), or zoom on location of the cursor or touch.
    Solved: http://jsfiddle.net/bx4wqtu4/20
  • Also on initial zoom my plots are not being updated and end up huge :(
    fixed: $.fn.mapael.defaultOptions.map.defaultArea.attrsHover = {};
    $.fn.mapael.defaultOptions.map.defaultPlot.attrsHover = {};
    $.fn.mapael.defaultOptions.map.defaultLink.attrsHover = {};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions