This repository has been archived by the owner on May 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
geojson not working #18
Comments
geojson/multiPolygon{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"stroke": "#555555",
"stroke-width": 2,
"stroke-opacity": 1,
"fill": "#eb0a0a",
"fill-opacity": 0.5
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-71.015625,
53.4357192066942
],
[
-105.64453124999999,
1.9332268264771233
],
[
-28.828124999999996,
-15.623036831528252
],
[
-1.0546875,
46.195042108660154
],
[
-71.015625,
53.4357192066942
]
]
]
]
}
}
]
} geojson/polyline{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"stroke": "#555555",
"stroke-width": 2,
"stroke-opacity": 1,
"fill": "#fa0505",
"fill-opacity": 0.5
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-113.5546875,
46.800059446787316
],
[
-65.390625,
-13.410994034321702
],
[
3.1640625,
18.979025953255267
],
[
11.6015625,
53.4357192066942
],
[
-113.5546875,
46.800059446787316
]
]
]
}
}
]
} geojson tested with http://geojson.io |
I have same problem and I found that all geojson features need unique "name" properties. Just try that. At least for points @X-SLAYER |
Had similar problem. GeoJson draw only last point. Adding unique "name" property helped |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello there, I am being able to get some geojson to run on flutter_map.
Since isolate is gone on dart2 for web and there is no other alternative form dart, I am trying to get your geojson example to run with the config:
noIsolate: true
[1].Here is the log from a web run on the example:
But there is no geojson on the map. Please help out if you can spare some time.
1:
map_controller/lib/src/controller.dart
Line 234 in 71a0a60
See also: synw/iso#3
The text was updated successfully, but these errors were encountered: