ssl enabled app use bing map in chrome get error

2790
1
Jump to solution
08-06-2015 08:16 AM
mapFansLi
New Contributor II

I try to load bing map using esri.virtualearth.VETiledLayer. and when try to access the application in chrome, it was unable to display correctly.

The reason being when I do a new VETiledLayer, it automatically calls below which point to url: http:// instead of https://, my application is ssl enabled which using https:// to access. Then when bring my app up in Chrome browser, it think there is mixed secure and insecure content and won't do it. User had to click on the shield on the right to allow download of secure content. Is there any way to change this url to https:// so it could display in chrome? Had anyone able to display the bing map in chrome without using having to do anything extra?

http://serverapi.arcgisonline.com/veadaptor/production/services/imagery/getmetadata?token=....&style...

Thanks

0 Kudos
1 Solution

Accepted Solutions
ChrisSmith7
Frequent Contributor

Have a look at this thread:

Access Bing maps via SSL / https

It should be automatically detecting this from the host after v2.6. Are you using an old version of the API? Either way, it looks like there is a workaround to replace the URL with an ssl protocol.

View solution in original post

0 Kudos
1 Reply
ChrisSmith7
Frequent Contributor

Have a look at this thread:

Access Bing maps via SSL / https

It should be automatically detecting this from the host after v2.6. Are you using an old version of the API? Either way, it looks like there is a workaround to replace the URL with an ssl protocol.

0 Kudos