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

Marker positions on map / wrong scale? #2

Open
schultz-it-solutions opened this issue Apr 19, 2021 · 1 comment
Open

Marker positions on map / wrong scale? #2

schultz-it-solutions opened this issue Apr 19, 2021 · 1 comment

Comments

@schultz-it-solutions
Copy link

Hi Roberto,
sorry to bother you with this issue - I don't think it is a bug but rather my "not understanding" of your tool...

I successfully implemented the zoom jquery for a widget (example see below), and positioned my markers with "pixels" rather than "percent" as in your sample. This did work well(!), but now I have to use a bigger view on the map. All markers are still on their relative position according to the smaller map.
you can see it live here: http://development.hosting-schultz.ch/awb/
So where is the "relative" position for markers on the map image handled?

kind regars
Ruediger Schultz

@schultz-it-solutions
Copy link
Author

OK, I now reverted to use "percent" values in the css for the markers. And who would have guessed, it works again...
so please ignore this issue (as it seems to be solved).
you can see our usecase live on: https://my.astronomerswithoutborders.org/programs/observing-events/pc2s
thank you and kind regards
Ruediger Schultz

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