Hey everybody,
With google chrome updating their security starting at version 50, as outlined here, I was wondering if the leaflet geocoding will be updated as well?
As for now, when I use arcgisOnline as the provider it uses an http url (see screenshot).
Any input would be appreciated
Thanks,
Tim
Solved! Go to Solution.
currently, the protocol used to make requests to ArcGIS Online's World Geocoding Service is inherited from what is used in your own application (ie: if you host over https, as will be required by Chrome 50 to leverage HTML5 Geolocation, geocoding requests will be encrypted too).
that being said, if i'm understanding your suggestion correctly, it would be trivial (and probably helpful) for us to just hardcode https as the protocol instead of inheriting from the application.
relevant source code is here.
currently, the protocol used to make requests to ArcGIS Online's World Geocoding Service is inherited from what is used in your own application (ie: if you host over https, as will be required by Chrome 50 to leverage HTML5 Geolocation, geocoding requests will be encrypted too).
that being said, if i'm understanding your suggestion correctly, it would be trivial (and probably helpful) for us to just hardcode https as the protocol instead of inheriting from the application.
relevant source code is here.
Thanks John, this clears things up.