@jolevesque $('') is too global. Suggest something like elm.find(''). Keep the scope of the find to the current container so it doesn't conflict with any other Geomap instance on the page.