Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of geojson with featurecollection/multipolygon? #71

Closed
dementiev opened this issue May 3, 2019 · 9 comments
Closed

Support of geojson with featurecollection/multipolygon? #71

dementiev opened this issue May 3, 2019 · 9 comments
Assignees
Labels

Comments

@dementiev
Copy link

Hi all,
is it possible to show polygons and multipolygons and style them with custom color pallete based on properties?

@tobrun
Copy link
Collaborator

tobrun commented May 8, 2019

For Android this is in the works here. For iOS we don't have a PR yet, we do accept contributions ;)

@tobrun tobrun added this to the v0.0.5 milestone Nov 10, 2019
@tobrun tobrun self-assigned this Nov 10, 2019
@tobrun tobrun modified the milestones: v0.0.5, future Dec 21, 2019
@rcauquil
Copy link

can we add geosjon feature yet ?

@AAverin
Copy link
Contributor

AAverin commented Oct 23, 2020

@tobrun @m0nac0
Can you guys give any update or plans for geejson feature?
Can we provide you any support?

@tobrun
Copy link
Collaborator

tobrun commented Oct 26, 2020

High level API for Fill was added #49, we now have support for iOS and Android, Web is tracked in #438

@tobrun tobrun closed this as completed Oct 26, 2020
@AAverin
Copy link
Contributor

AAverin commented Oct 26, 2020

@tobrun I am not familiar with Fill, do you guys have any docs that would point me into how to use this for geojson?
I basically need clustering for points on the map and this seems to be a geojson feature

@tobrun
Copy link
Collaborator

tobrun commented Oct 26, 2020

Clustering for points is tracked in #427
Clustering is not a geojson feature but does use geojson point data under the hood.

@alex-lechner
Copy link

The addFill method inside the MapboxMapController is a good start! However, if we are very strict - and I think we should be - this issue must still be open because the library does not support GeoJSON yet. The addFill method requires to reformat a MultiPolygon to Polygons. Furthermore, you can't pass a finished GeoJSON feature to the controller (like described in Add a GeoJSON) and you even have to swap the positions of the coordinates from [longitude, latitude (, altitude or elevation)] to [latitude, longitude] which is not conformant with the GeoJSON spec.

If there are any plans to support GeoJSON for this library I'd be happy to assist! 😊

@AAverin
Copy link
Contributor

AAverin commented Jan 30, 2021

I have created a new issue to better track symbols clustering support

@eamirho3ein3
Copy link

did you guys have any update for supporting geojson?

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

No branches or pull requests

6 participants