How to include Mapael in Aurelia?

58 Views Asked by At

I am new to programming and need to include one of Mapael's maps to my code.

But I don't exactly know how to do it.

1

There are 1 best solutions below

3
On

Put this in the head portion of your code:

<script src="js/jquery.mapael.js" charset="utf-8"></script>

Just change the location where the javascript file is located.

Then you can simply use the class likewise:

<div class="mapcontainer">
    <div class="map">
    </div>
</div>

Refer to the code of the examples here, where you can actually see how it is implemented.