Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

function featuresFromGeoJsonMainThread is not working #36

Open
raycastsant opened this issue Jan 14, 2021 · 5 comments
Open

function featuresFromGeoJsonMainThread is not working #36

raycastsant opened this issue Jan 14, 2021 · 5 comments

Comments

@raycastsant
Copy link

Hello

I'm developing a proyect, and I need to represent on the map some lines that comes in GeoJson format.
In Android platform I can do this well, but in the Web this is not working.
I've implemented the featuresFromGeoJsonMainThread () funtion but returns empty values.
Please can you help me?

@FaFre
Copy link

FaFre commented Jul 14, 2021

I have the same problem, is there any solution already for that?

@raycastsant
Copy link
Author

Hello

I downloaded the source code from https://github.com/synw/geojson, and commented line #178 in here: https://github.com/synw/geojson/blob/master/lib/src/geojson.dart.

I hope this help.

@FaFre
Copy link

FaFre commented Jul 14, 2021

Thanks, with that it's working - but only for small data. With bigger data the stream will not process to end it seems....

@FaFre
Copy link

FaFre commented Jul 14, 2021

Yeah, there was a await missing, which didn't affect smaller data I guess. However, in my short tests, the single threaded version even feels a bit faster on native Linux application.

@sannchesda
Copy link

Hello

I downloaded the source code from https://github.com/synw/geojson, and commented line #178 in here: https://github.com/synw/geojson/blob/master/lib/src/geojson.dart.

I hope this help.

Wow it works for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants