Bing Maps gone from BasemapGallery?

992
5
03-22-2013 12:06 PM
ericliprandi
New Contributor III
Hi,
We are using the out-of-the-box BasemapGallery. We are displaying both AGOL and Bing maps (we specify our own key). However, starting in the last day or so, only the AGOL basemaps are showing-up. No Bing Maps in the basemap gallery.
I tried with both v3.1 and v3.2 of the JavaScript API and same result. We have not yet upgraded to v3.3
Any ideas what we missed? (our beta website had been up for a couple of weeks prior to this, without any problems).

Regards,

Eric.
0 Kudos
5 Replies
JeffreySchmidt
New Contributor II
I have also noticed that the Bing maps are gone from my basemap gallery.  I don't have a solution, I just noticed it today, but I empathize... its frustrating to see them gone...  I am using v2.8.
0 Kudos
JeffreySchmidt
New Contributor II
I was able to add the Bing basemaps back in by constructing a new BasemapLayer and providing the type:"BingMapsHybrid"... again I am using v2.8, so this may not be exact for you...

// add a BasemapLayer from Bing
var bingBasemapLayer = new esri.dijit.BasemapLayer({
   type:"BingMapsHybrid"
});

// next lets make the BasemapLayer a Basemap
var bingBasemap = new esri.dijit.Basemap({
layers:[bingBasemapLayer],
title:"Bing Basemap"
});

then since I provided my bing key in my basemap gallery constructor, all I needed to do was push the basemap to the gallery and Iwas all set...

basemapGallery.add(bingBasemap);
0 Kudos
JorgeSantos1
New Contributor
Yes, The Bing Maps Basemap disappear from gallery.

Now I'm using Bing Maps via Quantum GIS because it's more useful than ArcGIS.

http://dl.dropbox.com/u/149563251/BingMapsStillWorkingUnderQuantumGIS.png

Cheers,

Jorge Santos
0 Kudos
JeffJacobson
Regular Contributor
Complimentary use of Bing Maps is being phased out of ArcGIS products.  Instead, all ArcGIS products will be "Bing ready". This means that Bing  Maps will continue to work after you have inserted a Bing Maps key you  have obtained directly from Microsoft.

For more info see http://resources.arcgis.com/en/help/arcgisonline-content/index.html#//011q0000001q000000
0 Kudos
AndrewHayden1
Occasional Contributor
I added them back in this way:

        var basemaps = [];
        var BingBaseMapRoad = new esri.dijit.Basemap({
          layers: [new esri.dijit.BasemapLayer({
            type: "BingMapsRoad"
          })],
          id: "bmRoad",
          title: "Bing Roads",
          thumbnailUrl: "images/BingMapsRoad.png"
        });
        basemaps.push(BingBaseMapRoad);
        var BingBaseMapAerial = new esri.dijit.Basemap({
          layers: [new esri.dijit.BasemapLayer({
            type: "BingMapsAerial"
          })],
          id: "bmAerial",
          title: "Bing Aerial",
          thumbnailUrl: "images/BingMapsAerial.png"
        });
        basemaps.push(BingBaseMapAerial);
        var BingBaseMapHybrid = new esri.dijit.Basemap({
          layers: [new esri.dijit.BasemapLayer({
            type: "BingMapsHybrid"
          })],
          id: "bmHybrid",
          title: "Bing Hybrid",
          thumbnailUrl: "images/BingMapsHybrid.png"
        });
        basemaps.push(BingBaseMapHybrid);
0 Kudos