Re: Create a Print Page with A4 size of google map
Hi ,
Thanks very much it really help using this function .
Thanks,
Combo
On Oct 29, 11:26 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:
> On Oct 29, 8:33 am, cambo <hunchannar...@gmail.com> wrote:
>
> > Hi Williams,
>
> > Thanks you so much for your response. But i would like to ask you more
> > questions related to this issue in the following :
>
> > 1 . How can i read the current state of the map ? . Which function to
> > read the current state of the map ? . How can i get the current Lat
> > and Long of the map if move the map the the other location ? .
>
> map.getCenter()?
>
> > Which API function can read the lat and long of the map dynamicallly ( move
> > the map to other location and able to get the new Lat and Long ) ?
>
> > 2. Which API map fucntion can i get the Current Zoom Level of the
> > Map ?
>
> map.getZoom()?
>
>
>
> > Please respond and help me to resolve it as soon as posssible.
>
> The quickest way to answer your questions is to refer to the
> documentation:http://code.google.com/apis/maps/documentation/reference.html#GMap2
>
> They are all listed there...
>
> -- Larry
>
>
>
> > Thanks,
> > Cambo.
>
> > On Oct 28, 1:53 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:
>
> > > Your print icon should have an "onclick" attribute that calls a function
> > > that performs the following tasks:
>
> > > Read the current state of the map.
>
> > > Build a URL for you new page, passing the state information as
> > > parameters.
>
> > > Open a new page with that URL.
>
> > > The new page should perform the following tasks:
>
> > > Read the passed parameters.
>
> > > Create a suitable map using those settings
>
> > > Call window.print()
>
> > > I have a tutorial on passing and receiving parameters here:
>
> > >http://econym.org.uk/gmap/linktothis.htm
>
> > > --
> > > Mike Williamshttp://econym.org.uk/gmap-Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home