polysnapper
polysnapper copied to clipboard
Fix scale inconsistence when map is in fullscreen mode
Issue fixed: #6
When in fullscreen mode, the algorithm still uses the div's size to calculate the scale, causing inconsistences. I made a verification to know if is in FS mode and, if so, use the window's dimensions instead.