Your search returned no results

Try another search term or view Stack Exchange, where we have active conversations with Developers about GIS.
    Support channel in Stack Exchange

    Thousands of developers around the world have helped make CartoDB a success, and we have active conversations with them about GIS in Stack Exchange.

    Go to Stack Exchange

    Custom Offline Data


    CARTO Mobile SDK supports several different types of custom sources:

    • Bundled MBtiles
    • Bundled GeoJson
    • Tile Download


    MBTiles is a file format for storing tilesets. It is designed so that you can package thousands of files that make up a tileset and move them around; eventually uploading to Mapbox or to use in a web or mobile application. MBTiles is an open specification and is based on the SQLite database. MBTiles can contain raster or vector tilesets.

    The following example displays how you can load MBtiles from bundled assets and render it on the map:


    GeoJSON is a format for encoding a variety of geographic data structures. GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, and MultiPolygon. Geometric objects with additional properties are Feature objects. Sets of features are contained by FeatureCollection objects.

    The following example displays how you can load GeoJSON from bundled assets and render it on the map (make sure you have cities15000.geojson as a bundled Asset (Android) or Resource (iOS):

    Tile Download

    CARTO Mobile SDK enables you to download tiles to your app and keep them in your cache, indefinitely. The specified download location will always be available to you offline.

    PersistentCacheTileDataSource’s function startDownloadArea is used to achieve this, as shown in the following example: