none
Draw line behind street/road lines (mapdata) RRS feed

  • Question

  • It is possibly draw line or polygon behind street and road layer? Is Bing map basic layers? I want draw my areas without opacity and I want that street show on my area.
    Wednesday, September 12, 2012 9:46 AM

Answers

All replies

  • No, this is not currently possible in Bing Maps.

    http://rbrundritt.wordpress.com

    • Proposed as answer by Ricky_Brundritt Wednesday, September 12, 2012 11:09 AM
    • Marked as answer by Ricky_Brundritt Friday, September 14, 2012 12:46 PM
    Wednesday, September 12, 2012 11:09 AM
  • Is this answer still current?  I have a need to show weather (radar) images, but behind the road layer so the radar images can be shown at full opacity.

    Thanks!

    Friday, June 27, 2014 8:42 PM
  • Saturday, June 28, 2014 8:22 AM
  • I can get the aerial base map to come with without labels using info in the above post.  I am using the imageOverlay module from the BingMapsV7Modules to add an image to the map, however, it still is sitting on top of the label tile layer.  Is it not possible to use the image overlay module in this scenario?
    function GetMap() {
                mapCtr = new Microsoft.Maps.Location(42.02335, -93.625622);
                mapOptions = {credentials: "mapKey", mapTypeId: Microsoft.Maps.MapTypeId.aerial, labelOverlay: Microsoft.Maps.LabelOverlay.hidden};
                map = new Microsoft.Maps.Map(document.getElementById("mapMEC"), mapOptions            );
    
    
                Microsoft.Maps.registerModule("ImageOverlayModule", "scripts/ImageOverlayModule.js");
                Microsoft.Maps.loadModule("ImageOverlayModule", { callback: function () {
                   imageRect = Microsoft.Maps.LocationRect.fromCorners(new Microsoft.Maps.Location(49.849318, -103.992187), new Microsoft.Maps.Location(37.397533, -75.08496));
                   var imgPin = ImageOverlay(map, 'images/topographicMap.gif', imageRect);
                   imgPin.setOptions ({opacity:0.5});
                   map.entities.push(imgPin);
                   showLabels();
     	            } 
    	        });
            }
            function showLabels() {
                var labelTileSource = new Microsoft.Maps.TileSource({ uriConstructor: 'http://ecn.t2.tiles.virtualearth.net/tiles/ho{quadkey}?g=671&mkt=en-US' });
                var labelTilelayer = new Microsoft.Maps.TileLayer({ mercator: labelTileSource, opacity: 1.0, zIndex:12000 });
                map.entities.push(labelTilelayer);
            };


    Monday, June 30, 2014 9:36 PM
  • Taking a look at how the map renders it appears that all tile layers are rendered under data (pushpins, polylines and polygons). The ImageOverlay module is actually an extension of the pushpin class and as such will always be rendered above the tile layers.

    http://rbrundritt.wordpress.com

    Tuesday, July 1, 2014 3:29 PM