This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

change theme of map

0

Hi guys , I am flutter developer and new on osm and map stuff. On my application I am using osm like this:

FlutterMap(
                    options: MapOptions(
                        controller: controller,
                        center: model!.userLocation,
                        zoom: 16.0,
                        onTap: (point) {
                          model.setSelectedLatLngMarker(point);
                        },
                        plugins: [
                          DragMarkerPlugin(),
                        ]),
                    layers: [
                      TileLayerOptions(
                        urlTemplate:
                            'https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png',
                        subdomains: ['a', 'b', 'c'],
                        tileProvider: NonCachingNetworkTileProvider(),
                      )

I want to use dark map but https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png', is very dark : https://pasteboard.co/JUque4J.png

Is it possible to change street line and title colors ?

After googleing I found This guide . Now with maputnik I made my custom style. After exporting json style how can I use this style ?

asked 26 Mar '21, 17:01

alt2020's gravatar image

alt2020
11335
accept rate: 0%

edited 26 Mar '21, 18:27

Source code available on GitHub .