Posts by Babiruz • 3 points
1 post
-
0
votes1
answer456
viewsQ: Javascript Constructor x is not a constructor error
I have a constructor and I wanted to create an object from it. But, ta giving Uncaught Typeerror: Map is not a constructor. I just wanted to know why? var mapa = null; var Map = (function (ol, $) {…