ThinkGeo.com    |     Documentation    |     Premium Support

InMemoryMarkerOverlay ZoomLevel01-06 not set causing server error

I want to display markers on the map for only higher zoom levels and have set:



ZoomLevel06.ApplyUntilZoomLevel =



ApplyUntilZoomLevel.Level20;

Map renders and displays as expected but when I click a button that generates a postback to the server, I get:


 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 



Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.



Source Error: 




    
        
            An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
        
    



Stack Trace: 




    
        
            
            
[NullReferenceException: Object reference not set to an instance of an object.]
   ThinkGeo.MapSuite.WebEdition.Map.x33f69bf60c5b503b(MarkerZoomLevel xbb0b6a55042a674c) +79
   ThinkGeo.MapSuite.WebEdition.Map.x3371674bb1d3f783() +409
   ThinkGeo.MapSuite.WebEdition.Map.LoadViewState(Object savedState) +1141
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +183
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +134
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +221
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +134
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +221
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +134
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +221
   System.Web.UI.Page.LoadAllState() +312
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1661

            

        
    




Server Error in '/' Application. 


Object reference not set to an instance of an object.


 




Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053




Thanks for post! 
  
 This is an known bug and we will fix it in the next version which will be released early next week. Please have another try then. 
  
 Ben.