This project is read-only.

working with burtile google map plugin

Sep 15, 2014 at 11:29 AM
Edited Sep 15, 2014 at 11:39 AM
Hi,
I am facing projection problem with burtile google map plugin,I can load it using this code
   BruTileLayer _btLayer = new BruTileLayer();
            // _btLayer = BruTileLayer.CreateBingAerialLayer();
            _btLayer.LegendText = "Open Street Map";
            // map1.Projection = KnownCoordinateSystems.Projected.World.WebMercator;

            // map1.Layers.Add(_btLayer);

            var l = BruTileLayer.CreateBingHybridLayer();
           // l.Reproject(map1.Projection);
            map1.Projection = l.Projection;
         
          // Fset.Projection = l.Projection;
            map1.Layers.Add(l);
But when I load my map which is projected in wgs1985 zone 39 it places shape file another place than real place.I tried to change my shape projection to map projection but it does not work..Can some one help me to set a shape file with wgs84 zone39 on this layer base map?

I used webmap plugin but it places my shape the same place which is in previos method.Do I need any Reprojection?
here is image of what happens with web map plugin
http://mihanbit.com/download/5416823af1673/22.png.html
Thank you a lot
Sep 22, 2014 at 8:43 AM
Hi, try to reproject your shapefile after you've added it.
layer.Reproject(KnownCoordinateSystems.Projected.World.WebMercator);