| | |
API new GLatLng help
Please support our Existing Scripts advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
| View Poll Results: Can it be done | |||
| Yes i can fix it. | | 0 | 0% |
| No i cant fix it | | 0 | 0% |
| Voters: 0. You may not vote on this poll | |||
![]() |
I need to insert GLatLng another webpage with a include content file...... How would i go about this? Do i need to make a database for it?
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(34.4419, -122.1419), 13);
}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<!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&v=2&key=removed key"
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.246147,-121.957769),10);
var point = new GPoint(-121.9573, 37.2464);
var marker = new GMarker(point);
map.addOverlay(marker);
map.openInfoWindow(map.getCenter(),
document.createTextNode("Los Gatos Hardware"));
map.addControl(new GMapTypeControl());
map.addControl(new GLargeMapControl());
map.addControl(new GOverviewMapControl());
}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 700px; height: 300px">
</div>
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(34.4419, -122.1419), 13);
}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<!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&v=2&key=removed key"
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.246147,-121.957769),10);
var point = new GPoint(-121.9573, 37.2464);
var marker = new GMarker(point);
map.addOverlay(marker);
map.openInfoWindow(map.getCenter(),
document.createTextNode("Los Gatos Hardware"));
map.addControl(new GMapTypeControl());
map.addControl(new GLargeMapControl());
map.addControl(new GOverviewMapControl());
}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 700px; height: 300px">
</div>
Steven Petersen
Web Designer / Web Master
Web Designer / Web Master
•
•
•
•
I need to insert GLatLng another webpage with a include content file...... How would i go about this? Do i need to make a database for it?
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=Removed"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(Here),10);
var point = new GPoint(-121.9573, 37.2464);
var marker = new GMarker(point);
map.addOverlay(marker);
map.openInfoWindow(map.getCenter(),
document.createTextNode("Los Gatos Hardware"));
map.addControl(new GMapTypeControl());
map.addControl(new GLargeMapControl());
map.addControl(new GOverviewMapControl());
}
}
//]]>
</script>Would like to insert a list that looks somewhat like this.
37.234547,-132.957769
37.256147,-121.956769
23.246147,-121.678769
12.246147,-121.576769
Last edited by stevenpetersen; Aug 12th, 2009 at 4:27 pm.
Steven Petersen
Web Designer / Web Master
Web Designer / Web Master
![]() |
Similar Threads
- G maps API driving directions not populating map or directions div tag (JavaScript / DHTML / AJAX)
- Creating A Table With Win32 Api (C++)
- C++ WinSNMP API: (C++)
- Google API (Search Engine Optimization)
- java uses or overrides a deprecated API?? (Java)
- AutoCAD API and VB.NET (VB.NET)
- Windows Api Tutorial (C++)
Other Threads in the Existing Scripts Forum
- Previous Thread: sms send via email
- Next Thread: Seemless Images
| Thread Tools | Search this Thread |





