pmtiles_provider: оффлайн растровые карты в flutter_map из одного файла PMTiles
DEV · 16.11.2026 · 00:54
pmtiles_provider представляет собой TileProvider для растровых PMTiles, упрощая использование оффлайн карт в приложениях на flutter_map.
Оригинал
pmtiles_provider: offline raster maps in flutter_map from one PMTiles file
An offline map usually means a folder with thousands of small tile images, or a tile server you have to run. PMTiles is a simpler idea: the whole map is one file, with an index at the start that says where each tile sits. A reader needs only the header, a few directories and the tiles on screen. The same file can sit on a phone's storage or on a plain static host, where the reader fetches byte ranges over HTTP. pmtiles_provider brings that to flutter_map. It is a TileProvider for raster PMTiles