Skip to content

Could an example of the push update method be included ? #170

@PideaLtd

Description

@PideaLtd

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions