I would like to know how to create a google-map alike site using PHP+MYSQL and MY OWN MAP..not the one that is provided by google..and also how to write the codes/API since i don't want to use the API by google coz' i would like to write my own. plz point any reference site, etc. for my revision. thanks!
I assume you want to use MySQL for pointers to map data-- however that would be awfully expensive in terms of resources and creating the actual maps. If not Google's map data-- whose data would you use? Q...
From my understanding you just want to write own script to generate a sitemap for google. I created one recently for one of my scripts. My script doesn't use a database but if you look at where it loops you would just put own code to get the data from mysql. It will atleast get you started. <?php echo "<p>GENERATING SITEMAP</p>"; echo "Please wait...<br><br>"; if (!$xmlfile = fopen("../sitemap.xml", "w")) { echo "Cannot open file ($filename)"; exit; } // // Write main website // fwrite($xmlfile, "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\"> <url> <loc>{$website_url]}/</loc> <lastmod>".date('Y-m-d')."</lastmod> <changefreq>daily</changefreq> <priority>0.7</priority> </url> "); // // Write all of links // $stagarray = explode(",", $searchkeywords); for ($i = 0; $i < count($stagarray); $i++) { //echo '<li><a href="'.$website.'/tags/'.$stagarray[$i].'.html">'....file, "</urlset>"); fclose($xmlfile); ?>
i also trying to do that one and i created the algoritm. thats is slices the photos from google map and rename in my format as beloving picture but i am thinking that will be as pyramid when the zoom in and it has to be limitation for each zooms to not allowing clik up,down,left,right.