|
|||||||
New to SitePoint Forums? Register here for free!
|
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Enthusiast
![]() Join Date: Sep 2006
Posts: 25
|
Google Maps API
Hi,
I am developing a site which will require a single google maps display. Until the site is ready to launch, it won't be at its domain name address but under a development IP address at my hosting company. The code for the map is: Code:
<script src="http://maps.google.com/maps?file=api&v=2.x&key=ABCDEFG&sensor=false" type="text/javascript">
</script>
<script type="text/javascript">
function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(54.179391, -0.283327), 15);
map.setUIToDefault();
}
}
</script>
The only two reasons I can think off for this are either that the development IP address is an issue as it is not a domain name or that I have already used my google account login for a different site but have tried setting up a different account with an alternative email address. That, or I am missing something very simple! Any ideas would be most most welcome because I am pulling out what little of my hair that is left. Many thanks in advance |
|
|
|
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 02:46.









Threaded Mode