-
Notifications
You must be signed in to change notification settings - Fork 166
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
Could an example of the push update method be included ? #170
Comments
Sorry, I do not know of a public, open data source that delivers data through web sockets, and also the web socket logic itself is a bit outside the scope of the library. Some sort of example of push functionality could still be a good idea, though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got valid GeoJSON being created by a PHP script which I can pull into a browser via WebSockets.
However, I cannot see how to configure leaflet-realtime to use it. I've set start:false, have defined the url as ws://127.0.0.1:12345/replay.php and have removed the interval option as suggested in the readme but it's not pulling my feed.
Could you provide a simple example of how to configure leaflet-realtime to pull data from a web socket ?
The text was updated successfully, but these errors were encountered: