Wijmo UI for the Web
Markup and Scripting
Wijmo User Guide > Widgets > Maps > Markup and Scripting

The HTML markup for the wijmaps widget looks like this.

Markup
Copy Code
<div id="maps" style="width: 600px; height: 400px;"> </div>

You can initialize and add data to the widget with the following jQuery script.

Script
Copy Code
<script id="scriptInit" type="text/javascript">
    require(["wijmo.wijmaps"], function () {
        $(document).ready(function () {
            $("#maps").wijmaps({
                "source": "bingMapsAerialSource"
            })
        });
    });
</script>

 

See Also

Reference