Solved! Go to Solution.
require(["agsjs/layers/GoogleMapsLayer"], function(GoogleMapsLayer){ var googleLayer = new GoogleMapsLayer({ apiOptions: { v: '3.16' }, mapOptions: { mapTypeId: "roadmap", streetViewControl: false } }); googleLayer.id = "googleLayer"; map.addLayer(googleLayer); });
require(["agsjs/layers/GoogleMapsLayer"], function(GoogleMapsLayer){ var googleLayer = new GoogleMapsLayer({ apiOptions: { v: '3.16' }, mapOptions: { mapTypeId: "roadmap", streetViewControl: false } }); googleLayer.id = "googleLayer"; map.addLayer(googleLayer); });