diff --git a/google-maps/google-maps-tests.ts b/google-maps/google-maps-tests.ts new file mode 100644 index 0000000000..2256b254b1 --- /dev/null +++ b/google-maps/google-maps-tests.ts @@ -0,0 +1,26 @@ +/// + +var GoogleMapsLoader = require('google-maps'); + +GoogleMapsLoader.load(function(google) { + new google.maps.Map(el, options); +}); + +GoogleMapsLoader.KEY = 'qwertyuiopasdfghjklzxcvbnm'; + +GoogleMapsLoader.CLIENT = 'yourclientkey'; +GoogleMapsLoader.VERSION = '3.14'; + +GoogleMapsLoader.SENSOR = true + +GoogleMapsLoader.LIBRARIES = ['geometry', 'places']; + +GoogleMapsLoader.LANGUAGE = 'fr'; + +GoogleMapsLoader.release(function() { + console.log('No google maps api around'); +}); + +GoogleMapsLoader.onLoad(function(google) { + console.log('I just loaded google maps api'); +});