|
Rank: Newbie Groups: Member
Joined: 7/9/2013 Posts: 2
|
Good Morning,
We are evaluating your product.
We work with google maps polygons to represent heat maps.
With aspxtopdf we were able to render the map. But we have not been able to visualize the polygons or map labels.
Could you tell us if this functionality is available and ,if so, the method to carry it out.
Thanks in advance.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, This usually occurs when the converter starts too early before the polygons and labels are created (the converter runs all your script, but it does not know when all your scripts have finished running). To correct this problem, you will want to use the manual trigger feature: http://www.essentialobjects.com/doc/4/htmltopdf/eo_js.aspx#manual_triggerThe idea is you would only trigger the conversion explicitly through code when your map is ready. You will need to look into GoogleMap API to find out how you can be notified when the map is ready. This other post have some more information about this: http://www.essentialobjects.com/forum/postst7607_Google-Maps.aspxHowever that post uses the "tilesloaded" event, which occurs when the map images are loaded. When you need additional polygons, there might be another event for you to tell you that those are fully loaded. You must wait until that before you can trigger the conversion. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/9/2013 Posts: 2
|
Hi,
We think the problem is different. Our page load in 3 seconds and we have established the following test parameters:
HtmlToPdf.Options.MinLoadWaitTime = 30000; HtmlToPdf.Options.MaxLoadWaitTime = 60000;
on Before render, and polygons are missiing.
thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
In that case you can can try to isolate the problem into a test project and send the test project to us. Once we have that we will look into it and see what we can find. Please let us know when you have the test project and we will PM you as to where to send it.
Thanks!
|
|