ThinkGeo.com    |     Documentation    |     Premium Support

Use of Google Overlay leads to JavaScript error in Geo_Resource.axd

HI ThinkGeo,


I am using Google overlay to display 2 marker overlays.


I also have two check boxes which are used to clear markers.


Once I  close the browser I get error as shown in attached pictures.


Please have a look at this problem. Thanks.


Scenario


1) Run the attached web app underr Visual Studio


2) You will see two sets of markers


3) Click on check box on the left pane.  Markers will disappear from MarkerOverlay


4) Close the browser.


5) Error in Javascript file displayed.


Note: I am using dlls based on Dec 6 build.


Regards,


Anil



GeoResource.axd_JS_Error_(2).zip (228 KB)
GeoResource_JS_Error.zip (134 KB)

Hi Anil, 
  
 Thanks for your demo and reporting the problem. We have recreate the issue, but unable to resolve it today. It comes from the upgrading from OpenLayers2.8 to 2.10. we are working on it now and will give you the result as soon as possible. 
  
 Thanks, 
 Johnny

Hi Johnny, 
  
 Is there an update on the fix for this problem? Any timeline when we can expect the fix for this one. 
 Thankx. 
  
 Regards, 
 Anil 
  


Anil, 
  
 Sorry for delay this problem, Johnny is on vacation, he will back to office next week and then give you a detail reply. 
  
 Thanks 
 James

Hi Johnny,  
  
 Happy New Year. 
  
 Is there an update on the fix for this problem? Any timeline when we can expect the fix for this one.  
 Thankx.  
  
 Regards,  
 Anil  
  


 


Hi Anil,
Thanks, the same to you.
We have made a bit progress, the JS exception “htmlfile: Invalid argument” just happened in the scenarios as following:
1.       Embed the map into the Asp.net UpdatePanel.
2.       Debug the application with IE.
 
The issue also has been reported to OpenLayers official website trac.osgeo.org/openlayers/ticket/2277 , but there isn’t any feedback. I guess there is something wrong with a general destroy function or the map’s destroy function. We’ll keep working on it tomorrow. Currently, the workaround is removing the UpdatePanel from map control.
Thanks,
Johnny
 

Hi Johnny, 
  
 Is there any progress on this problem? 
 It is imperative in our case to use the Update panel. 
 Thanks. 
 Regards, 
 Anil

 


Anil,
 
I have checked the status of OpenLayers ticket, it seems this issue will be fixed at version 2.11, so this problem is still not solved for right now, we will wait Openlayers’ new release and integrate to our WebEdition and then your problem will be fixed as well.
 
Sorry for inconvenience.
 
Thanks,
James

Hi Anil, 
  
 As we tested, i think it’s resolved now, it will be included into upcoming release in May, please keep an eye on our website. 
  
 Thanks, 
 Johnny

Hi Johnny, 
  
 When is 5.0 release expected? 
   
 I am eagerly waiting for the fix. I am concerned that in the ticket posts it mentions it is not yet fixed. 
  
 Regards, 
 Anil

Anil, 
  
 Thanks for your wait, the good news is our 5.0 release is very close till this weekend.  
  
 Almost all developers are focus on it. Please keep an eye on our main page news and email notification. 
  
 Any question please let us know. 
  
 Thanks, 
  
 Yigit

Hi Anil,  
  
 I think you have already got the new version, please have a try and any question please let us know. 
  
 Thanks, 
  
 Johnny

Hi Johnny,


There are couple of problems (see the sample attached in this thread)


1)  Markers Images on MarkerOverlay and MarkerOverlay1 are not seen. Is there a regression on usage of Proj4Projection. Note in our case, feature object are created in DecimalDegree and added to MarkerOverlay.


Note:  If I were to use only non-projected markers on ThinkGeo maps (but no Google overlay)  then they are seen on the map.


Regards,


Anil



Anil,


Thanks for your reporting, it's a bug in InMemoryMarkerOverlay and we have fixed it, please get the latest daily build (5.0.0.5 or later) to have another try.


Regards,


Ivan



Hi Ivan, 
  
 Latest builds are not available on Customer portal. I still see downloads till May 03 ie. 4.5…0.184. 
 When is Daily builds going to be updated on Customer Portal? 
  
 Regards, 
 Anil

Yes the same for me !

Anil & Gautier, 
  
 The 5.0 daily build is not ready yet, it will be available later this week or next week. 
  
 Regards, 
  
 Ivan

HI Ivan 
  
 I installed WebEditionFull4.5.184.0DllPackage.zip on top of 5.0 but does not seem to resolve InMemoryMarkerOverlay problem not displaying projected markers in Google overlay. I will checkj back if for proper 5.0 Daily Build next week 
  
 Regards, 
 Anil

Hi Anil,


Thanks for your feedback, I'll keep an eye on your reply.


Regards,


Ivan



Hi Ivan, 
  
 I installed dll from May 23 and still not resolved naming issue. 
 It neither resolves the issue of Markeroverlay 
  
 Regards, 
 Anil