<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Access Bing maps via SSL / https at 2.6 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698666#M65057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To follow up on this question.&amp;nbsp; I tested at 2.6 on an SSL hosted page and the JS API automatically switched the bing maps call to https.&amp;nbsp; I'm using an esri.dijit.BaseMapLayer with type set to "BingMapsHybrid".&amp;nbsp; So it appears the JS API is detecting the protocol (http vs https) of the host page and switching the bing maps request protocol automatically.&amp;nbsp; Works nice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Was this fix implemented at 2.6?&amp;nbsp; If so, how do I create an https bing maps layer at 2.6?&amp;nbsp; I'm trying to find API documentation on it but can't.&lt;BR /&gt;&lt;BR /&gt;Further, can I create an https bing maps layer as an esri.dijit.BaseMapLayer type?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2012 16:04:09 GMT</pubDate>
    <dc:creator>DavidHollema</dc:creator>
    <dc:date>2012-01-26T16:04:09Z</dc:date>
    <item>
      <title>Access Bing maps via SSL / https</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698661#M65052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have seen other questions about this without answers.&amp;nbsp; Hopefully someone out there can give some assistance.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to access the 'esri.virtualearth.VETiledLayer' over SSL and have the results returned via https.&amp;nbsp; I have confirmed that everything works with SSL from the Bing side of things, but apparently the wrapper that ESRI made for this will only use http.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how this can be accomplished?&amp;nbsp; I would greatly appreciate any assistance with this.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 21:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698661#M65052</guid>
      <dc:creator>bradcochran1</dc:creator>
      <dc:date>2011-10-12T21:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Access Bing maps via SSL / https</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698662#M65053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Brad,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use https by adding the following code to your app (please use your own bing key):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
esri.setRequestPreCallback(function(ioArgs) {
&amp;nbsp; if(ioArgs.url.search("serverapi.arcgisonline.com/veadaptor/") &amp;gt; 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; ioArgs.url = ioArgs.url.replace("http:", "https:");
&amp;nbsp; }
&amp;nbsp; return ioArgs;
});

//Creates the Virtual Earth layer to add to the map
veTileLayer = new esri.virtualearth.VETiledLayer({
&amp;nbsp; bingMapsKey: 'Ah29HpXlpKwqVbjHzm6mlwMwgw69CYjaMIiW_YOdfTEMFvMr5SNiltLpYAcIocsi',
&amp;nbsp; mapStyle: esri.virtualearth.VETiledLayer.MAP_STYLE_AERIAL
});

dojo.connect(veTileLayer, "onLoad", function(veTileLayer) {
&amp;nbsp; veTileLayer.tileServers = dojo.map(veTileLayer.tileServers, function(tileServer) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; return tileServer.replace("http:", "https:");
&amp;nbsp; });
});
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll put a fix in for this in the next version of the API (2.6).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:24:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698662#M65053</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2021-12-12T05:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Access Bing maps via SSL / https</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698663#M65054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much, this worked perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2011 03:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698663#M65054</guid>
      <dc:creator>bradcochran1</dc:creator>
      <dc:date>2011-10-15T03:48:02Z</dc:date>
    </item>
    <item>
      <title>Access Bing maps via SSL / https at 2.6</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698664#M65055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Was this fix implemented at 2.6?&amp;nbsp; If so, how do I create an https bing maps layer at 2.6?&amp;nbsp; I'm trying to find API documentation on it but can't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Further, can I create an https bing maps layer as an esri.dijit.BaseMapLayer type?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;We'll put a fix in for this in the next version of the API (2.6).&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 15:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698664#M65055</guid>
      <dc:creator>DavidHollema</dc:creator>
      <dc:date>2012-01-26T15:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Access Bing maps via SSL / https</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698665#M65056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, we fixed this with 2.6. The way you create bing layers hasn't changed, use the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/vetiledlayer.htm"&gt;esri.virtualearth.VETiledLayer&lt;/A&gt;&lt;SPAN&gt; class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 16:00:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698665#M65056</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-01-26T16:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Access Bing maps via SSL / https at 2.6</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698666#M65057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To follow up on this question.&amp;nbsp; I tested at 2.6 on an SSL hosted page and the JS API automatically switched the bing maps call to https.&amp;nbsp; I'm using an esri.dijit.BaseMapLayer with type set to "BingMapsHybrid".&amp;nbsp; So it appears the JS API is detecting the protocol (http vs https) of the host page and switching the bing maps request protocol automatically.&amp;nbsp; Works nice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Was this fix implemented at 2.6?&amp;nbsp; If so, how do I create an https bing maps layer at 2.6?&amp;nbsp; I'm trying to find API documentation on it but can't.&lt;BR /&gt;&lt;BR /&gt;Further, can I create an https bing maps layer as an esri.dijit.BaseMapLayer type?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 16:04:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698666#M65057</guid>
      <dc:creator>DavidHollema</dc:creator>
      <dc:date>2012-01-26T16:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Access Bing maps via SSL / https at 2.6</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698667#M65058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...it appears the JS API is detecting the protocol (http vs https) of the host page and switching the bing maps request protocol automatically.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, that is correct!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 16:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-bing-maps-via-ssl-https/m-p/698667#M65058</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-01-26T16:05:34Z</dc:date>
    </item>
  </channel>
</rss>

