Map Markers not working in UnobtrusiveJavaScriptEnabled mode

Map markers are generally not shown if I set the UnobtrusiveJavaScriptEnabled parameter in Web.config to true. Is there a way around that?
Thanks in advance!
Robert

4 Replies

SK Saravana Kumar Kanagavel Syncfusion Team October 25, 2017 11:49 AM UTC

Hi Robert, 
 
Thanks for contacting Syncfusion Support. 
 
We have analyzed your query and if you want to render the map control in Unobtrusive mode, then you need to refer the script file(“ej.unobtrusive.min.js”). By referring this file , you can render the Syncfusion controls like map, chart and etc in Unobtrusive mode. 
 
Please refer this below link to know more details about Unobtrusive mode in chart. 
 
 
We have prepared the sample with unobtrusive mode and attached in the below location. 
 
  
Please find the output of the sample below 
 
 
 
Please let us know if you have any concern. 
 
Regards, 
Saravana Kumar K. 
 
 
 

 



RG Robert Glaser October 25, 2017 12:08 PM UTC

Thank you for your reply. The script file you're referring is already added to the project. I'm sorry that I forgot to mention that everything in the map is already working very well (layers, data binding, heat map, tooltips, ...) - except of the markers feature. 

At first hand I suspected an initialisation issue like I asked before in 

https://www.syncfusion.com/forums/132289/dialog-footer-template-not-displayed-formatted-correcty

That problem has been solved with a code line like that:

ej.widget.init($("#messageBox_wrapper")); 



RG Robert Glaser October 26, 2017 07:33 AM UTC

I played around with your sample and I finally managed it! My map data was faulted. Thank you so much! You may close this.



SK Saravana Kumar Kanagavel Syncfusion Team October 26, 2017 11:56 AM UTC

Hi Robert, 
 
Thanks for your update. 
 
Please let us know if you need any other assistance on this. 
 
Regards, 
Saravana Kumar K. 


Loader.
Up arrow icon