Problem with View google-map google$1.maps.LatLng is not a constructor

Hi webix team,
I use the View google-map in two Windows in one application and get now this error: google$1.maps.LatLng is not a constructor
Thanks for an advice

Hello @RainerRoss

Could you please share a stack trace with a debug version of Webix?
Also

  • does this issue appear on init or after some API call?
  • is there any extra script that loads Google Map sources in your app independently?

There are multiple LatLng calls inside the google-map component (source code at Github), but before any of them are called automatically (e.g. for setting the map center), the component loads Google Map sources if there are no google and google.maps objects in the window scope.
Yet “is not a constructor” indicates that LatLang does not exist in google.maps or its value is a non-constructible, which contradicts the Map documentation and typical use-cases. If sources were loaded correctly, I’m afraid so far I can’t assume a specific reason and will appreciate any more details on this issue.