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

Consider adding support for presence #15

Open
ianjennings opened this issue Jan 25, 2017 · 0 comments
Open

Consider adding support for presence #15

ianjennings opened this issue Jan 25, 2017 · 0 comments

Comments

@ianjennings
Copy link
Contributor

ianjennings commented Jan 25, 2017

Goal is to see connected clients on a map.

@pubnubcraig says:

It would be cool to have eon.map/char {…, presence: true, …} and have a transformPresence or just use current transform with channel param passed in. (just off the top of my head)

thing of the possibilities for join, leave/timeout and state-change events and how you would use that to customize the map or chart, like icon animation or color change, etc.

Ian says:
right now the best way is to republish presence events
a user's state parameter would supply the lat / long in the same format as eon
then from there everything would be the same, but maybe like a isPresnece parameter like you suggested in the callbacks

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