Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • A vector tile layer works with a grid of pbf tiles If you have a single pbf file try loading it using ol.layer.Vector and ol.source.Vector. Commented Nov 15, 2018 at 11:01
  • i tried with your idea but it gives error "Cannot read property 'toString' of null" Commented Nov 16, 2018 at 13:22
  • tried with ol.layer.VectorTile, new ol.source.VectorTile , it does show data on map, but data is not on it's original position but shifted. Can you tell me why? Thanks Commented Nov 16, 2018 at 14:59
  • GeoJSON only has one projection and its not EPSG:4326 Commented Nov 18, 2018 at 15:37