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

parsing geojson doesn't appear to work in web. #23

Open
ATeal opened this issue Jun 3, 2020 · 1 comment
Open

parsing geojson doesn't appear to work in web. #23

ATeal opened this issue Jun 3, 2020 · 1 comment

Comments

@ATeal
Copy link

ATeal commented Jun 3, 2020

Whenever you call this on the web, while the code runs the features added to the sink don't appear to trigger the the listen.

I added a simple sample project for an example: https://github.com/ATeal/web_geojson

Additionally if you do a little hacking on the example project from the map_controller package and enable their implementation of the geojson read on web (they actually have it disabled on web, I'm assuming because it's not functioning) then you can see it not working there as well: https://github.com/synw/map_controller/tree/master/example

Feel free to let me know if I'm doing something wrong, or if I can help in anyway!

@korva
Copy link

korva commented Sep 24, 2020

I noticed this too: running featuresFromGeoJsonMainThread(), which is required for web, produces an empty FeatureCollection on web and Android. Running featuresFromGeoJson() on the same geojson string data on Android works correctly.

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

2 participants