Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jvectorMap won't scroll to edges when zoomed #468

Open
DWarfield opened this issue Nov 15, 2020 · 0 comments
Open

jvectorMap won't scroll to edges when zoomed #468

DWarfield opened this issue Nov 15, 2020 · 0 comments

Comments

@DWarfield
Copy link

I finally updated jvectorMap to add in mousewheel scrolling, however when I zoom to any level, I can no longer scroll as far to either side, cutting off New Zealand and surrounding Islands.
I suspect it has something to do with the initial code in jquery-jvectormap-world-mill.js

jQuery.fn.vectorMap('addMap', 'world_mill', {"insets": [{"width": 950, "top": 0, "height": 650, "bbox": [{"y": -12671671.123330014, "x": -20004297.151525836}, {"y": 6930392.025135122, "x": 20026572.394749384}], "left": 0}],

Any help is appreciated. Thanks

Functioning Map page... http://www.warfsworld.com/html/travelmap.html

FYI, I have added most missing countries to the world map if anyone is missing them.
jquery-jvectormap-world-mill.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant