<commit_before>## Info

nokia_maps_rjs is a RequireJS plugin for loading Nokia Maps API features thru `nokia.Features.load`

More about RequireJS [here](http://requirejs.org)

## Example

    require.config({
        waitSeconds: 15,
        paths: {
            nokiaLoader: 'http://api.maps.nokia.com/2.2.4/jsl.js?blank=true',
            domReady: 'requirejs_plugins/domReady',
            nokia: 'requirejs_plugins/nokia'
        },
        shim: {
            nokiaLoader: {
                exports: 'nokia'
            }
        }
    });
    require(['nokia!', 'domReady!'], function() {
        var map = new nokia.maps.map.Display(document.getElementById('map'), {
            center: [52.521542, 13.382178],
            zoomLevel: 6,
            components: [
                new nokia.maps.map.component.Behavior(),
                new nokia.maps.map.component.TypeSelector(),
                new nokia.maps.map.component.DistanceMeasurement(),
                new nokia.maps.map.component.Overview()
            ]
        });
    });


## License

Released under the MIT license<commit_msg>improved readme<commit_after>## Info

nokia_maps_rjs is a RequireJS plugin for loading Nokia Maps API features thru `nokia.Features.load`

More about RequireJS [here](http://requirejs.org)

## Example

    require.config({
        waitSeconds: 15,
        paths: {
            nokiaLoader: 'http://api.maps.nokia.com/2.2.4/jsl.js?blank=true', // the important part here is to not load any of the API parts apart the loader itself -> blank=true
            domReady: 'requirejs_plugins/domReady',  // you need to add it on your own; download it from: http://requirejs.org/docs/download.html#domReady
            nokia: 'requirejs_plugins/nokia' // that is path to the nokia.js file on your local file system
        },
        shim: {
            nokiaLoader: {
                exports: 'nokia'
            }
        }
    });
    require(['nokia!', 'domReady!'], function() {
        var map = new nokia.maps.map.Display(document.getElementById('map'), {
            center: [52.521542, 13.382178],
            zoomLevel: 6,
            components: [
                new nokia.maps.map.component.Behavior(),
                new nokia.maps.map.component.TypeSelector(),
                new nokia.maps.map.component.DistanceMeasurement(),
                new nokia.maps.map.component.Overview()
            ]
        });
    });


## License

Released under the MIT license
{'fraction_non_alphanumeric': 0.12050141528507885, 'fraction_numerical': 0.017792155276991507, 'mean_word_length': 1.9843184559710494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4766164', 'n_tokens_mistral': 790, 'n_tokens_neox': 707, 'n_words': 164}