I want to add Map.ir Map in web application using .net core when I write the following code it gives me the error “i18n is not a function jquery-3.2.1.min.js”
<link href="~/dist/css/mapp.min.css" rel="stylesheet" />
<link href="~/app/css/app.css" rel="stylesheet" />
<div id="app" style="width:100%; height:50%;margin-top:10px; border:2px dashed red; padding:200px"></div>
<script src="~/dist/js/jquery-3.2.1.min.js"></script>
<script src="~/dist/js/mapp.env.js"></script>
<script src="~/dist/js/mapp.min.js"></script>
<script>
$(document).ready(function () {
var app = new Mapp({
element: '#app',
presets: {
latlng: {
lat: 35.73249,
lng: 51.42268,
},
zoom: 10
},
apiKey: 'my api key'
});
});
</script>