Welcome Guest Search | Active Topics | Sign In | Register

Google Maps Polygons Options
Eduardo
Posted: Tuesday, July 9, 2013 7:03:54 AM
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.
eo_support
Posted: Tuesday, July 9, 2013 8:05:26 AM
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_trigger

The 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.aspx

However 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!
Eduardo
Posted: Tuesday, July 9, 2013 1:23:25 PM
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
eo_support
Posted: Tuesday, July 9, 2013 3:55:05 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.