# CARTO Basemap

The CARTO Basemap is the default Basemap and it is included in all CARTO accounts. It uses the Open Source project [Maplibre GL JS](https://maplibre.org/projects/maplibre-gl-js/) and CARTO base maps API.

At the [Basemaps section](https://github.com/CartoDB/gitbook-documentation/blob/master/carto-for-developers/key-concepts/carto-for-deck.gl/basemaps/broken-reference/README.md) of CARTO for deck.gl you can find further information about how to use it. CARTO also provides a set of [Basemaps Styles](https://github.com/CartoDB/gitbook-documentation/blob/master/carto-for-developers/key-concepts/carto-for-deck.gl/basemaps/broken-reference/README.md) to easily adapt to multiple visualization contexts (dark, light, and voyager).

A code example is available [here](https://github.com/CartoDB/gitbook-documentation/blob/master/carto-for-developers/key-concepts/carto-for-deck.gl/basemaps/broken-reference/README.md).

### Further style customization

If the Basemaps Styles provided by CARTO are not enough and you need to go further to customize those styles you can do the following:

1. Download the style json. <https://basemaps.cartocdn.com/gl/positron-gl-style/style.json>
2. Modify the styles to match your requirements.
3. Put it in a public url.
4. Pass to deck.gl the mapSyle you want to use:

```javascript
 const deckgl = new deck.DeckGL({
  ...
  map: maplibregl,
  mapStyle: '<your styles json url>',
 });
```

If you need a UI to modify the styles, take a look at [Maptunik](https://maputnik.github.io/editor/) (A free and open visual editor tool for editing Basemaps styles).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.carto.com/carto-for-developers/key-concepts/carto-for-deck.gl/basemaps/carto-basemap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
