Hello Dave,
I am very excited by your offer to help because I really do want to get this
solved.
You say I didn't make much sense when describing the problem, so I am going
to try much harder to make things more clear.
I thought I explained things before but no one seems to know what I am on
about so here is my second attempt.
By the way, the Bill Pierce article that you reference is excellent and I
learnt a great deal from it.
If you look at the first comment, you will see that someone had a problem
getting the control to work with Master Pages.
http://www.codeproject.com/aspnet/LatLaysFlat-Part4.asp
However, I think my problem is far simpler than that.
In order to display a Google map, one has to apply for a key and
Google sends back a page similar to the following:
Thank you for signing up for a Google Maps API key!
-----------------------------------------------------------------
Your key is:
--------------
ABQIAAAAs5UE471 qW8DM4jCbPbQK7x TqmISFW6ihj9DyV BKjLCKBPkEuVhQa vH-o3oN4agIcY3H_Xw x41dojtQ
Here is an example web page to get you started ...
-----------------------------------------------------------------
<!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&a mp;v=2&key= ABQIAAAAs5UE471 qW8DM4jCbPbQK7x TqmISFW6ihj9DyV BKjLCKBPkEuVhQa vH-o3oN4agIcY3H_Xw x41dojtQ"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsComp atible()) {
var map = new GMap2(document. getElementById( "map"));
map.setCenter(n ew GLatLng(37.4419 , -122.1419), 13);
}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnlo ad()">
<div id="map" style="width: 500px; height: 300px"></div>
</body>
</html>
-----------------------------------------------------------------
This sample page works perfectly as a standard aspx page. So far so good!
My problem is that I want to display this page in a Content Page but I
cannot do it.
(Master Pages use Content Pages. Please let me know if this needs further
explanation)
I am looking for someone to let me know exactly what needs to be done.
As I mentioned before, I believe there must be many people out there who
want to do the same thing and who would also be grateful for any help.
I am really hoping that this attempt is sufficient to explain what I am
trying to do, but if it is not, then I will happily try again.
Waiting with fingers well and truly crossed for some help.
Pete.