ThinkGeo.com    |     Documentation    |     Premium Support

ThinkgeoCloudMapOverlay display problem

Hi @Ethan ,

I am getting a problem in display of ThinkgeoCloudMapOverlay Light Map. Please check the screenshot and look at the issue.

Thank you,
Ashok

Hi Ashok,

Here is the simplest sample code:

 public partial class WebForm1 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Map1.MapUnit = GeographyUnit.Meter;
            Map1.ZoomLevelSet = ThinkGeoCloudMapsOverlay.GetZoomLevelSet();

            ThinkGeoCloudMapsOverlay thinkGeoCloudMapsOverlay = new ThinkGeoCloudMapsOverlay();                
            Map1.CustomOverlays.Add(thinkGeoCloudMapsOverlay);

            Map1.CurrentExtent = new ThinkGeo.MapSuite.Shapes.RectangleShape(-13086298.60, 7339062.72, -8111177.75, 2853137.62);                
        }
    }
}

I guess you missed to set ZoomLevelSet for cloud layer.

Regards,

Ethan

OK @Ethan Thank you very much.

Hi Ashok,

I am glad to hear that’s helpful.

Regards,

Ethan