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

[non-issue] manual position - tooltip #189

Closed
dnsBlah opened this issue Jan 30, 2016 · 7 comments
Closed

[non-issue] manual position - tooltip #189

dnsBlah opened this issue Jan 30, 2016 · 7 comments

Comments

@dnsBlah
Copy link

dnsBlah commented Jan 30, 2016

Hi Neveldo,

how can I position the plot tooltip ? I don't want it to be relative to my cursor.

I just want it top: 10 left: 10.

adjusting the .mapTooltip does not work

@neveldo
Copy link
Owner

neveldo commented Feb 1, 2016

Hi @dnsBlah ,

Have you checked out this JSFiddle example : http://jsfiddle.net/neveldo/b5fj4qod/ ?

I think it doesn't work because the tooltip position is automatically updated on mouseover / mousemove. Maybe a new boolean option fixed could be added in order to allow users to set the tooltip to a fixed position !

@Indigo744
Copy link
Collaborator

I agree with @neveldo. I will add it to the todo list (https://github.com/neveldo/jQuery-Mapael/wiki/TODO-list).

In the mean time, the workaround above should help you (I actually used it myself in my own project).

@dnsBlah
Copy link
Author

dnsBlah commented Feb 20, 2016

sorry for the late response guys.
Thanks for the tip, I'm going to try to get this tooltip on the map, top-left corner instead of outside the map

@dnsBlah
Copy link
Author

dnsBlah commented Feb 20, 2016

By the way, for the todo, is it possible for your json example to put in the 'links' between plots based on the names of the plots?
Im generating the json files through php and currently I got to workaround with the longitudes and longitudes but with the manual links I can out in the names of the plots (maybe its just a encoding I need to change) but just in case :)

@neveldo
Copy link
Owner

neveldo commented Feb 23, 2016

Hi @dnsBlah , I don't understand your issue with the links. The links between two plotted points should work fine : http://jsfiddle.net/neveldo/yckqj78q/ . Maybe you are facing another issue. Could you create a new post with a JSFiddle example that highlights the problem ?

PS : I close this issue as it seems to be resolved :)

@neveldo neveldo closed this as completed Feb 23, 2016
@dnsBlah
Copy link
Author

dnsBlah commented Apr 4, 2016

Sorry for the late response on this one.
I'm using your first jsFiddle: http://jsfiddle.net/neveldo/b5fj4qod/
But then with an absolute position over the page :)
Thanks!

@neveldo
Copy link
Owner

neveldo commented Apr 4, 2016

Hello @dnsBlah , I'm glad it helped you !

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

3 participants