Polyline not showing in IE
Hi,
I've got a problem with a polyline which shows as it should in Firefox
and Opera, but it does not show at all in Internet Explorer. Has anyone
got an idea about the bug?
The page is: http://medis.uni-muenster.de/conflict-maps/demo.htm
And this is the 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>
<script
src="http://maps.google.com/maps?file=api&v=1&key=ABQIAAAAo4r5ZV7p9GVQ0qzJFkNrfhQuuKyFAXuq-iutOcWisv7sYOkrVxSxtIu0ouHpMKgltLO0L7jpKfyimg"
type="text/javascript"></script>
</head>
<body>
<div id="map" style="width:1000px; height:700px"></div>
<script type="text/javascript">
//<![CDATA[
//Create a new GMap and load it to the html object id="map"
var map = new GMap(document.getElementById('map'));
//Add large Zoom controls
map.addControl(new GLargeMapControl());
//show Satellite Map
map.setMapType(G_SATELLITE_TYPE);
//zoom to Crete
map.centerAndZoom(new GPoint(24.96917724609375, 35.16482750605027),
8);
//add the conflict outlines:
var points = [];
points.push(new GPoint(24.093863,35.589269));
points.push(new GPoint(24.116461,35.598924));
points.push(new GPoint(24.152942,35.589334));
points.push(new GPoint(24.183554,35.568067));
points.push(new GPoint(24.193420,35.548052));
points.push(new GPoint(24.198224,35.532410));
points.push(new GPoint(24.184441,35.515372));
points.push(new GPoint(24.176666,35.501182));
points.push(new GPoint(24.165015,35.495374));
points.push(new GPoint(24.141922,35.494511));
points.push(new GPoint(24.119747,35.499810));
points.push(new GPoint(24.070412,35.501294));
points.push(new GPoint(24.051496,35.539153));
points.push(new GPoint(24.058641,35.546872));
points.push(new GPoint(24.066975,35.545493));
points.push(new GPoint(24.079096,35.550625));
points.push(new GPoint(24.083920,35.555328));
points.push(new GPoint(24.079648,35.564438));
points.push(new GPoint(24.075970,35.569382));
points.push(new GPoint(24.074531,35.570717));
points.push(new GPoint(24.072790,35.570565));
points.push(new GPoint(24.071842,35.571620));
points.push(new GPoint(24.071399,35.572928));
points.push(new GPoint(24.071715,35.574055));
points.push(new GPoint(24.072842,35.575127));
points.push(new GPoint(24.073799,35.575442));
points.push(new GPoint(24.072472,35.576669));
points.push(new GPoint(24.071164,35.578654));
points.push(new GPoint(24.068950,35.579547));
points.push(new GPoint(24.068284,35.581081));
points.push(new GPoint(24.070254,35.581900));
points.push(new GPoint(24.071563,35.582648));
points.push(new GPoint(24.072884,35.582773));
points.push(new GPoint(24.073420,35.583269));
points.push(new GPoint(24.074162,35.582953));
points.push(new GPoint(24.075400,35.583439));
points.push(new GPoint(24.076455,35.583817));
points.push(new GPoint(24.076600,35.584854));
points.push(new GPoint(24.077235,35.585286));
points.push(new GPoint(24.077324,35.586350));
points.push(new GPoint(24.077638,35.587314));
points.push(new GPoint(24.076096,35.587604));
points.push(new GPoint(24.075779,35.588623));
points.push(new GPoint(24.077616,35.588333));
points.push(new GPoint(24.077564,35.589136));
points.push(new GPoint(24.076334,35.590038));
points.push(new GPoint(24.078311,35.589685));
points.push(new GPoint(24.079289,35.589890));
points.push(new GPoint(24.080408,35.590559));
points.push(new GPoint(24.079807,35.591064));
points.push(new GPoint(24.081312,35.591638));
points.push(new GPoint(24.082052,35.590900));
points.push(new GPoint(24.082370,35.590016));
points.push(new GPoint(24.084260,35.589068));
points.push(new GPoint(24.086294,35.588787));
points.push(new GPoint(24.088133,35.588795));
points.push(new GPoint(24.090105,35.590065));
points.push(new GPoint(24.090338,35.591498));
points.push(new GPoint(24.091893,35.590992));
points.push(new GPoint(24.093271,35.591469));
points.push(new GPoint(24.094752,35.590242));
points.push(new GPoint(24.093863,35.589269));
map.addOverlay(new GPolyline(points, "#ff0000", 4, 0.8));
//]]>
</script>
</body>
</html>
Best,
Carsten
0 Comments:
Yorum Gönder
<< Home