<commit_before># cordova-mapbox-android-sdk
Cordova plugin for Mapbox SDK (Currently android only)

### Usage:
    // Wait until Cordova & plugins are loaded.
    window.document.addEventListener('deviceready', function() {
        // Create Mapbox map.
        mapbox.createMapboxTileLayerMap('mapbox.streets', function () {
            alert("Map created");
        });

        // or...

        // Create MBTiles offline map.
        mapbox.createMBTilesMap('my-tiles.MBTiles', function () {
            alert("Map created");
        });
    }, false);

### Installing:
    // Set Mapbox access token.
    export MAPBOX_ACCESS_TOKEN=<your-mapbox-access-token>
    export MAPBOX_PLUGIN_PATH=<path-to-plugin><commit_msg>Updated readme with new api<commit_after># cordova-mapbox-android-sdk
Cordova plugin for Mapbox SDK (Currently android only)

### Usage:
    // Wait until Cordova & plugins are loaded.
    window.document.addEventListener('deviceready', function() {
        // Create Mapbox map.
        mapbox.createMapboxTileLayerMap('mapbox.streets', function () {
            alert("Map created");
        });

        // or...

        // Create MBTiles offline map.
        mapbox.createMBTilesMap('my-tiles.MBTiles', function () {
            alert("Map created");
        });

        // or...

        // Create MapEditor activity.
        mapbox.mapEditor(function () {
          console.log('Map editor started...');
        });
    }, false);

### Installing:
    // Set Mapbox access token.
    export MAPBOX_ACCESS_TOKEN=<your-mapbox-access-token>
    export MAPBOX_PLUGIN_PATH=<path-to-plugin>
{'fraction_non_alphanumeric': 0.13197026022304834, 'fraction_numerical': 0.0, 'mean_word_length': 2.4, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3762993', 'n_tokens_mistral': 483, 'n_tokens_neox': 462, 'n_words': 101}