How can you use external definitions of google map...
# javascript
g
How can you use external definitions of google maps API with a module loaded directly from a script tag in the html page?
@bashor to be more precise: Google Maps is loaded with its own mechanism. I need good interoperability with my kotlin code (something like https://www.codeproject.com/Articles/1033708/Learning-Typescript-and-building-a-google-map-with) So I have created external classes/interfaces based on typescript definition. But if I put
Copy code
@file:JsNonModule
@file:JsModule("google.maps")
in my code, require.js tries to load it.
AutoResponse ;-): It’s possible to define external classes, interfaces with
@file:JsQualifier("google.maps")
b
@gaetan sorry for delay, looks like you had solved all issues.