NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710
×5

question asked: 26 Mar '21, 17:01

question was seen: 2,893 times

last updated: 26 Mar '21, 18:27

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum