var locator = new VEGeocoder({bingMapsKey: 'yourkeyhere'}); locator._url.path = locator._url.path.replace("http", "https");
esriRequest.setRequestPreCallback(myCallbackFunction); ... function myCallbackFunction(ioArgs) { if (ioArgs.url == "http://serverapi.arcgisonline.com/veadaptor/production/services/geocode/geocode") { ioArgs.url = "https://serverapi.arcgisonline.com/veadaptor/production/services/geocode/geocode"; } // don't forget to return ioArgs. return ioArgs; }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.