GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Google Maps/Satellite gurus? $50 inside for help. (https://gfy.com/showthread.php?t=746631)

Nom_is 06-27-2007 02:58 PM

Google Maps/Satellite gurus? $50 inside for help.
 
Hey guys,

Can anybody guide me through having Google Maps with the satellite imagery setup on my site?

Here are a couple of examples of people running the google maps API with satellite data:

http://www.mapmsg.com/
http://www.wikimapia.org/

$50 to the person who can help me out, ICQ in sig.

BucksMania 06-27-2007 04:08 PM

bump for you

Nom_is 06-27-2007 09:10 PM

Quote:

Originally Posted by BucksMania (Post 12669098)
bump for you

Thanks for the bump!

Nom_is 06-28-2007 10:48 AM

... bump ...

ztik 06-28-2007 10:57 AM

I'll set it up for $300

Martin3 06-28-2007 10:58 AM

http://www.google.com/apis/maps/

ztik 06-28-2007 11:00 AM

actualy here im lazy

acdefg is your Key

Code:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">  <head>    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>    <title>Google Maps JavaScript API Example</title>    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=abcdefg"            type="text/javascript"></script>    <script type="text/javascript">    //<![CDATA[    function load() {      if (GBrowserIsCompatible()) {        var map = new GMap2(document.getElementById("map"));        map.setCenter(new GLatLng(37.4419, -122.1419), 13);      }    }    //]]>    </script>  </head>  <body onload="load()" onunload="GUnload()">    <div id="map" style="width: 500px; height: 300px"></div>  </body></html>


Nom_is 06-28-2007 05:35 PM

Ok, I figured it out. Just incase anybody looking for the answer stumbles across this thread:

In order to use the google satellite maps you have to set the map type using javascript. SetMapType is a javascript method of the GMap2 class.

Here is the code:

map.setMapType(G_SATELLITE_MAP);

Make sure you put it after the setCenter method otherwise it will not work.


All times are GMT -7. The time now is 03:35 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123