Maxime Petazzoni

Results 108 comments of Maxime Petazzoni

This should work out of the box now using ECMAScript modules standard techniques. I've updated the README with the recommended approaches for importing `leaflet-gpx` from both module and non-module contexts...

I see you have an `offset: 30` in your `polyline_options`. Is that you attempting to fix the issue?

Out of curiosity, do you notice the offset for GPX data in other parts of the world?

You should be able to pass in the GPX XML data directly indeed; see https://github.com/mpetazzoni/leaflet-gpx/blob/main/gpx.js#L355-L364 for the corresponding logic. Does your XML string start with `

@dragos-miron Is that error detail in the original XHR `error` event passed to `onStreamFailure`?

@mgohin Yes the types no longer match. If you know more about this area, would you be able to help take a look at https://github.com/mpetazzoni/sse.js/pull/59 and see if that's a...

Thanks @mgohin. There is no way to (currently) get all events, see https://github.com/mpetazzoni/sse.js/issues/62#issuecomment-2086879458 for the reason why.

Thanks @trim21! Can you update the README as well to document the new possible usage pattern?