Call PBF tile data is not displayed
See original GitHub issueThe PBF tile data is generated through geoserver. The call is not displayed, but the PNG format is show.
"@mapbox/mapbox-sdk": "^0.9.0",
"@react-native-mapbox-gl/maps": "^7.0.8",
"react": "16.9.0",
"react-native": "0.61.4",
<MapboxGL.MapView
ref={c => (this._map = c)}
style={{flex: 1}}
styleURL={MapboxGL.StyleURL.Satellite}
>
<MapboxGL.Camera
followPitch={15}
duration={300}
zoomLevel={12}
centerCoordinate={[112.922, 21.8455]}
/>
<MapboxGL.VectorSource
id={'rasterSource'}
tileUrlTemplates={[
'http://192.168.0.39:18082/geoserver_bxonline/gwc/service/tms/1.0.0/bxonline%3AWD_GHTD_2018-06-24@EPSG%3A900913@pbf/{z}/{x}/{y}.pbf',
]}
// tileSize={256}
tms={true}
scheme={'tms'}
>
<MapboxGL.RasterLayer
id={'rasterLayer'}
sourceID={'rasterSource'}
/>
</MapboxGL.VectorSource>
</MapboxGL.MapView>
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Call PBF tile data is not displayed · Issue #567 · rnmapbox/maps ...
The PBF tile data is generated through geoserver. The call is not displayed, but the PNG format is show. ... Call PBF tile...
Read more >Loading PBF vector tile data in QGIS - GIS Stack Exchange
I have tried a Virtual Layer, Vector Tile and ArcGIS Map/Feature service with no luck. In https://crowdsupport.telstra.com.au/t5/network-roaming ...
Read more >Not able to dispay pbf(mapbox vector tile) using openlayers
i am trying to display my own created vector tiles(.pbf), they are not getting displayed with no error on console of inspect element....
Read more >How to add Mapbox Vector Tile service (.pbf TileLa...
Hello, I am trying to add to ArcGIS Online map viewer the OpenInfraMap tile layer (OSM power networks of all over the world)...
Read more >Vector tiles standards | Tilesets - Mapbox docs
A guide to encoding tiled vector data with the Mapbox Vector Tile Specification. ... Mapbox Vector Tiles are not related at all to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes sourcelayerid require. so, is it working now right ?
@ansarikhurshid786 I figured my problem. The entire issue of tiles being invisible was that I used wrong sourceLayerID for the LineLayer - I totally forgot that all my tiles have
layerName
inside their properties, so I just have to use that, like:Me missing this
sourceLayerID="merged"
was the only reason of tiles being invisible.