were in this code do i place it
------------------------------------------------------------------------------------------------------------------------------------------
<!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>
<title>OpenStreetMap</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script src="
http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA7JYteBsTAVfZMf4qfa73BhS_JHEiC25xCjezWOnUhippi3Ni4xTcoVwYMu9jpaNCbnRKeE6GRW6z0Q"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load()
{
if (!GBrowserIsCompatible())
return;
var copyOSM = new GCopyrightCollection("<a href=\"
http://www.openstreetmap.org/\">OpenStreetMap</a>");
copyOSM.addCopyright(new GCopyright(1, new GLatLngBounds(new
GLatLng(-90,-180), new GLatLng(90,180)), 0, " "));
var tilesMapnik = new GTileLayer(copyOSM, 1, 17, {tileUrlTemplate: '
http://tile.openstreetmap.org/{Z}/{X}/{Y}.png'});
var tilesOsmarender = new GTileLayer(copyOSM, 1, 17, {tileUrlTemplate: '
http://tah.openstreetmap.org/Tiles/tile/{Z}/{X}/{Y}.png'});
var mapMapnik = new GMapType([tilesMapnik],
G_NORMAL_MAP.getProjection(), "Mapnik");
var mapOsmarender = new GMapType([tilesOsmarender],
G_NORMAL_MAP.getProjection(), "Osmarend");
var map = new GMap2(document.getElementById("map"), {
mapTypes: [mapMapnik, mapOsmarender] });
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.setCenter( new GLatLng(32.00, 34.75),7);
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 240px; height: 300px; border:1px solid
gray;"></div>
</body>
</html>
------------------------------------------------------------------------------------------------------------------------------------------
On Wed, Dec 16, 2009 at 1:12 AM, Mike Williams <[email protected]>wrote:
> I use this code to detect the opacity syntax that is supported in a wide
> range of browsers
>
> if(typeof(div.style.filter)=='string'){div.style.filter='alpha(opacity:'+
> this.percentOpacity+')';}
>
> if(typeof(div.style.KHTMLOpacity)=='string'){div.style.KHTMLOpacity=this.
> percentOpacity/100;}
>
> if(typeof(div.style.MozOpacity)=='string'){div.style.MozOpacity=this.perc
> entOpacity/100;}
>
> if(typeof(div.style.opacity)=='string'){div.style.opacity=this.percentOpa
> city/100;}
>
> --
> Mike Williams
> http://econym.org.uk/gmap
>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Maps API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>
>
--
gozimmer.net - צימרים
[email protected]
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.