Questions
Unanswered
Register
|
Login
SuperMap Q&A
Home Page
/
View Questions
/
WebGIS
/
Infos
When loading geojson with iClient for MapboxGL, some elements will not render correctly and there will be fill style failure at certain zoom levels
yuanR
115EXP
2024.08.14
as title
mapboxgl
Please [
log in
] or [
register
] to answer this question.
1 Answer
The geoJson format is incorrect. [Solution] In the case of multiple facets, type needs to use MultiPolygon, can not use Polygon, the correct multi-faceted data example can be referred to:
https://docs.mapbox.com/android/java/api/libjava-geojson/5.8.0/com/mapbox/geojson/MultiPolygon.html
root
242EXP
2024.08.14
Please [
log in
] or [
register
] to add a comment.
Follow us
LinkedIn
Facebook
Twitter
Instagram
YouTube
SuperMap Official Website
SuperMap Online
...