Skip to Content

How to print the sap.ui.vbm.GeoMap area?

Hi All,

We are working on custom SAPUI5 Application development. In my case, we need integrate print functionality. i want to print the Geo map area alone.

If i choose windo.print();,it prints the entire screen.

this is the code, what i ma trying.

	var ctrlString = "width=600px,height=600px";
			var wind ="", "PrintWindow", ctrlString);

			//writing header and 
			wind.document.write(oGeoMap); // this is the key part 
			wind.print(); //calling print
			wind.close(); //closing print

oGeoMap is , i am getting from view by using this.getView().byId();. It is not working.

Please help me to solve this .

Thank you,



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers