First, here's the site where I'm having these problems:
http://www.healthypetmobilevet.com/area.shtml

Does anyone know if it's possible to get the map div to be centered on
the same place when printed? I checked this on FireFox 3, IE 7, Opera
9.64, and Safari 3.2 (all running on Windows) and they basically have
the same problem. On some the effect is more severe, though.

Another problem I saw when doing this--the polygons on my map are in
the incorrect location under IE7 when printed, even though they're
correct when displayed. And when printed from Opera, the polygons
completely disappear! The best looking print seems to come from
Safari, though the map still isn't perfectly centered. I'm starting to
get a little concerned about the IE7 problems, considering how many
people use IE6/7. I suppose I should really check it on IE6 too since
it makes up ~17% of my recent visits.

Maybe this is a problem with my CSS, but it does seem to re-size the
map div the way I asked (100% of the containing div). I'm really
concerned with the screwed-up polygons in IE7. Anyone have some
insight on getting printouts to look decent with Google maps?

And should I set up a demonstration page to see how print media
styling affects Google maps without all the other content, or is my
current page enough to see the problem?

-Brian

On Apr 14, 10:59 pm, Brian P <[email protected]> wrote:
> I wonder if anyone can answer this for me. I found exactly the same
> question being asked 
> in:http://groups.google.com/group/Google-Maps-API/browse_frm/thread/e110...
>
> The question is, can the map be re-centered when printed? I have a
> solution (found in here somewhere I think) that re-centers the map
> when the window is re-sized, but this does not work with a print media
> CSS div (at least in Firefox 3). You can see my map, with print CSS
> that does not keep the same center 
> at:http://www.healthypetmobilevet.com/area.shtml
>
> Just open it in FF and choose print preview. The map center changes :^
> (
>
> -Brian P
>
> From laurelwoodart:
> I already use media rules to fit the map's DIV on the page the way
> that
> I want it.  (well not quite, 
> seehttp://groups-beta.google.com/group/Google-Maps-API/browse_thread/thr...
> )
>
> What I want to is make the center of the map on the screen also be the
> center of the printed DIV (i.e I want the screen and print version's
> to
> be centered on the same lat/lon)
>
> Google Maps seems to get a pre-rendered image from the server and
> print
> that instead of the interactive map.  Since that feature does not seem
> to be part of the official API, I do not know if doing it manually
> would be a breach of the ToS.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to