javascript - JVectorMap Scroll Speed and Full screen Issue -


i using jvectormap create map page on website. found scrolling zoom speed slow. how adjust scroll speed? there no documentation issue. found this:

zoomstep: 1.6, 

this specify zoom step buttons, not scrolling.

another issue have found cannot set height of map container to:

window.innerheight; 

but can set width to:

window.innerwidth; 

how can specify height of map container in relation window size? i've tried using % value.

thank you

this might quite late answer, might have been answered somewhere. got same problem mouse scroll speed , found solution. can fixed in js file in line 2382

zoomstep = math.pow(1.003, event.deltay); 

you can change speed changing "1.003" value. more make - faster scroll is.

i didnt understand second problem of yours. if container height, use % values height. make sure parent has height value well.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -