Home
last modified time | relevance | path

Searched refs:geoJSON (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/sources/
H A Dgeojson_source_impl.cpp16 GeoJSONVTData(const GeoJSON& geoJSON, in GeoJSONVTData() argument
18 : impl(geoJSON, options) {} in GeoJSONVTData()
47 GeoJSONSource::Impl::Impl(const Impl& other, const GeoJSON& geoJSON) in Impl() argument
53 && geoJSON.is<mapbox::geometry::feature_collection<double>>() in Impl()
54 && !geoJSON.get<mapbox::geometry::feature_collection<double>>().empty()) { in Impl()
60 geoJSON.get<mapbox::geometry::feature_collection<double>>(), clusterOptions); in Impl()
67 data = std::make_unique<GeoJSONVTData>(geoJSON, vtOptions); in Impl()
H A Dgeojson_source.cpp33 void GeoJSONSource::setGeoJSON(const mapbox::geojson::geojson& geoJSON) { in setGeoJSON() argument
35 baseImpl = makeMutable<Impl>(impl(), geoJSON); in setGeoJSON()
64 optional<GeoJSON> geoJSON = conversion::convertJSON<GeoJSON>(*res.data, error); in loadDescription() local
65 if (!geoJSON) { in loadDescription()
72 baseImpl = makeMutable<Impl>(impl(), *geoJSON); in loadDescription()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/tile/
H A Dcustom_geometry_tile.cpp31 void CustomGeometryTile::setTileData(const GeoJSON& geoJSON) { in setTileData() argument
34 if (geoJSON.is<FeatureCollection>() && !geoJSON.get<FeatureCollection>().empty()) { in setTileData()
41 featureData = mapbox::geojsonvt::geoJSONToTile(geoJSON, in setTileData()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/conversion/
H A Dsource.cpp109 optional<GeoJSON> geoJSON = convert<GeoJSON>(*dataValue, error); in convertGeoJSONSource() local
110 if (!geoJSON) { in convertGeoJSONSource()
113 result->setGeoJSON(std::move(*geoJSON)); in convertGeoJSONSource()