We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Large image as diagram background with zoomify

Thread ID:

Created:

Updated:

Platform:

Replies:

144582 May 13,2019 12:21 PM UTC May 23,2019 11:50 AM UTC Angular - EJ 2 5
loading
Tags: Diagram
davaro
Asked On May 13, 2019 01:05 PM UTC

I was wondering if it is possible to set a large image (+- 60 MB) as the background of a diagram and use zoomify to dynamically load tiles of parts where you are zooming in.

Currently is it possible to set a large image as the background but for a web based application this is way too heavy to load.
So I was wondering if it is possible to use a custom component as background that uses zoomify to dynamically load tiles of parts where you are zooming in?

To further understand my question I refer to google maps that loads tiles of its map when you zoom in / out.

P.S.
I also noticed that every time a scroll event occurs, the background image is loaded again. Is there any way to override or stop this from happening?


Thanks in advance.

Ramya Thirugnanam [Syncfusion]
Replied On May 14, 2019 06:30 AM UTC

Hi Daan,  
 
Thanks for contacting Syncfusion support. 
 
By default,  the scroll event will be raised, and the background image will be loaded when zooming the diagram. So, please use image node instead of background image at the background to achieve your requirement. Please refer to the sample below in which we have rendered an image node at the background.  
 
 
Please find the help documentation about image node and its alignment options as below. 
 
Regards,  
Ramya T 


davaro
Replied On May 14, 2019 08:05 AM UTC

Hi Ramya

Thank you for replying so quickly. I will try the image node route.

Did you have a chance to look at my initial question?

Kind regards
Daan


Ramya Thirugnanam [Syncfusion]
Replied On May 15, 2019 06:42 AM UTC

Hi Daan, 
 
By default, we will update the background layer of the diagram when changes happened in size. So, the larger image in background image will impact the performance. We don’t have support to load the background image as tile by tile like google maps. We are validating the requirement to load the background image as tile by tile. We will get back to you with further details on May 17th, 2019. 
 
Regards, 
Ramya T 


davaro
Replied On May 22, 2019 01:33 PM UTC

Thank you for the response. 
Do you have any further information if the requirement is reviewed?

Kind regards
Daan

Ramya Thirugnanam [Syncfusion]
Replied On May 23, 2019 11:50 AM UTC

Hi Daan,  
 
Sorry for the inconvenience caused. 
 
The size of the background image does not affect the performance of the diagram. We don’t have support to load the background image as tile by tile like google maps. And, tile by tile loading of background image does not in diagram scope. So, we do not consider this requirement as feature request. 
 
Regards,     
Ramya T    


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon