Leaflet Geocoding and Chrome security update

4665
2
Jump to solution
04-19-2016 06:17 AM
Labels (1)
TimWitt2
MVP Alum

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

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
JohnGravois
Frequent Contributor

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​.

View solution in original post

2 Replies
JohnGravois
Frequent Contributor

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​.

TimWitt2
MVP Alum

Thanks John, this clears things up.

0 Kudos