download specify tile

Topics: Help
Jan 31, 2013 at 5:03 PM
i want to download specify tile from Google SatelliteMap i wrote this code:
System.Exception e;
                    PureImage image = GMap.NET.GMaps.Instance.GetImageFrom(GMap.NET.MapProviders.GoogleSatelliteMapProvider.Instance, new GMap.NET.GPoint(0, 0), 1, out e);
                    if (e == null)
                        FileMGR.WriteImage(image, item.QuadKey + ".jpg");
but i get an exception that say "the remote server returned an error: (404) not found.", what should i exactly do for this?
Jan 31, 2013 at 5:11 PM
what version do you use?
Jan 31, 2013 at 5:14 PM
latest! i download it last night
Jan 31, 2013 at 5:26 PM
do you see the map in demo?
Jan 31, 2013 at 5:40 PM
thank you for quick reply
yes but it's big project with lots of codes and less comments!, i guess my problem is that i can't initial provider correctly or something like that.
can you explain it to me what should i do for getting a tile form google?
Jan 31, 2013 at 5:48 PM
execute demo and check if it works ;}