central_map 0.2.0
central_map: ^0.2.0 copied to clipboard
Kyrgyzstan map for Flutter — a MapLibre widget over central.kg vector tiles with markers, polylines and clusters, plus a REST client for search, routing and isochrones.
0.2.0 #
- Стиль карты — с сервера, тот же, что у сайта map.central.kg (
CentralMapConfig.styleUrl, светлый или тёмный поdark): те же слои, цвета, дома, рельеф и значки мест; правки сайта доходят до приложений без обновления пакета. Прежний встроенный компактный стиль (своя палитра) остаётся только для своих тайлов (tilesUrl). - Объёмные дома при наклоне карты — как на сайте (
CentralMapController.enableBuildings3d, показ по наклону камеры). - Слои списком (
layers) — ключи те же, что на сайте и в SDK iOS/Android (serverLayerKeys); на живой карте —showOnlyLayers/setLayerVisible.
0.1.1 #
- Documentation now points at the live docs with runnable Flutter examples: https://map.central.kg/docs?plat=flutter
0.1.0 #
- First release: the
CentralMapwidget on top ofmaplibre_gl, a controller with markers (addMarker/addIconMarker), polylines (addPolyline), zones (addZone) and clustering (addCluster), the built-in style overmap.central.kgtiles, and theCentralMapApiREST client (search / routing / isochrones / poi-meta). - API key support (bound to the
mapservice):?key=for tiles and fonts,X-API-Keyfor REST calls. - Works with
maplibre_gl0.20-0.27 (Android minSdk 21, iOS 13).