Click here to Skip to main content
15,891,868 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

I am working on Google Tile Server. I have written one WCF Service (C#) which fetches tile from Google server using http URL :- http://mt1.google.com/vt/lyrs=m@129&hl=en&x=1&y=0&z=1&s=Galileo

As you know, Google Tile requires three variable parameters x, y and z in it's URL to provide a tile.

Other co-ordinates can be seen here. http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/

I am very much successful in fetching the Google Tile (Map) one by one (means putting different values of x, y and z).

Now coming to real world scenario, I tried developing one WinForm (C#) application to display those tiles. I am able to display one-one tiles. But my problem is..

1.

How to provide complete set of maps (different tiles stitched together)? I know, I can provide multiple calls to Google Tile Server with different parameters but I needed to know what could be the appropriate value of x, y & z in different conditions and continuous relation to that
2.

Is there any calculation, formula or mapping which links screen coordinate to Google Tile Server coordinates (means x, y & z values)?
3.

I have to provide smooth zooming and panning on dragging and double click .. same as Google provides.
4.

My basic concern is relation between Google's x, y, z and my screen coordinates.

Sorry for a long post but matter is seriously serious.

Any help (or samples) will be highly appreciated. Thanks

Regards,

Shilpa Silk
Posted
Updated 1-Feb-12 3:46am
v2
Comments
Arati23 3-Sep-10 7:29am    
Cau u plz send the complete project,wanna c how u r accesing the google using wcf
then i can suggect u the solution

 
Share this answer
 
Here is the link for you

Play with google maps Here on Play ground[^]

There are many examples, you can change and test there itself.

Thanks
--RA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900