Visit the LQ Articles and Editorials section
Go Back > Blogs
User Name



GMaps API tile server

Posted 01-28-2009 at 01:59 PM by spirov92
Updated 01-28-2009 at 02:03 PM by spirov92

So, I've been messing around with the GMaps API, trying to create my custom map type. It took me a lot of time, so I decided to share the code I ended up with.
This script serves content to the Google Maps API. It divides each requested tile into 8x8=64 squares and for each one displays the highest-rated picture that belongs to it.
PHP Code:
//this script should serve content for the gmaps api

//we're echo-ing out an image, so we should show that
LQ Newbie
Posted in Uncategorized
Views 3499 Comments 0 spirov92 is offline


All times are GMT -5. The time now is 01:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration