How to print google non-stationary map (v3 api)

I would like to ask if there is a way to print a google map that shows a direction overlay?

can anyone tell me if there is a way to solve the problem? THX

+4
source share
1 answer

I solved the problem. Now I can successfully print the dynamic map on Firefox. Here are some ideas on how I achieved this:

after the google maps drew the route, I tried to check the html with firebug and I found that the problem with firefox can not print google map successfully is somehow because of the "style" of the div map.

img1: http://picasaweb.google.com/lh/photo/KNWAznhah3Fv0CxdJ7_anUNXPgy_jUWAJdQ2OJnhc_g?feat=directlink

By removing the appropriate div (see img1) using javascript, the map and route can be printed correctly in firefox.

I'm not sure if this violates the rules for using the Google map api, you better check carefully before using this method.

- Mark

+1
source

All Articles