AnsweredAssumed Answered

TypeError:undefined is not a constructor (cordova - iOS)

Question asked by Aniruddh Vaghasia on Oct 19, 2019

Hello All,

I have an issue to display google map with multiple marker.

When I use, var baseArrayClass = new plugin.google.maps.BaseArrayClass(data_array);
it gives fatal error:
TypeError:undefined is not a constructor (evaluating 'new plugin.google.maps.BaseArrayClass(data_array)')

I am using the SDK 11 with the Mac OS(Mojave) 10.14.6 and Xcode 11 (latest).

 

Shrikant  Borkar already gave solution for plugin installation in iOS and map is displayed properly but now I am facing the above mentioned issue.

Can you please provide me further guidance.

It works perfectly in android but for iOS it gives error.

Thank you.

Outcomes