Time not appearing does not, in MapViewer with Internet Explore (Reposted)

(I posted this question once before, but I think he had a few problems caused by the div tag in the HTML code I included.) The div 'map' did not appear in the sent message and some other links on the page did not work, perhaps because of my rogue "div". I used markup codes in the hope that these problems don't exist this time. I apologize.)

I use MapViewer 10133p 5 and having troubles placing times in Internet Explorer (IE code that seems to work in Firefox very well fail in Internet Explorer). I reduced my HTML to which, in my view, are the essential and pasted its contents below.

In the Firefox browser, anywhere, anytime, I click on the card that I see an alert indicating the coordinates where I clicked, then a FAITH (with a picture on it) is placed on the card. Finally, I see another alert letting me know that the FAITH was placed. In IE7, I see alerts, but I never see FAITH. Finally, from what I can tell, the Server WebLogic which is at the service of the MapViewer app receives a request, whenever I have this in Firefox, but sees not a request come through when I do it in Internet Explorer.

IE gives me no indication that something is wrong, and since the final warning (see below) goes off, I have to assume that the execution of the script is not a failure. Any guidance would be greatly appreciated.

< html >
< head >
< meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
< title > test < /title > map

< script
Language = "Javascript".
src = "http://localhost:7001/mapviewer/fsmc/jslib/oraclemaps.js" >
< /script >

< script language = Javascript >
MapView var;
var FOICount = 0;

function showMap()
{
baseURL var = "http://localhost:7001 / mapviewer.
var mapCenterLon =-110.0;
var mapCenterLat = 45.9;
var mapZoom = 4;
Browse var = MVSdoGeometry.createPoint (mapCenterLon, mapCenterLat, 8307);
MapView = new MVMapView (document.getElementById ("map"), baseURL);
mapview.addBaseMapLayer (new MVBaseMap ("test_map.sweetgrass_county"));
mapview.setCenter (mpoint);
mapview.setZoomLevel (mapZoom);
mapview.addEventListener ("mouse_click", mapview_mouse_click);
MapView.Display ();
}

function mapview_mouse_click()
{
var mouseLocation = mapview.getMouseLocation ();
var mouseLocationX = mouseLocation.getPointX ();
var mouseLocationY = mouseLocation.getPointY ();
Alert (mouseLocationX + ',' + mouseLocationY);

pointClicked = MVSdoGeometry.createPoint (mouseLocationX, mouseLocationY, 8307);
pointClickedFOI = new MVFOI ("ID:" + (FOICount +), pointClicked, 'MY.) STYLE.NAME");
pointClickedFOI.setWidth (48);
pointClickedFOI.setHeight (48);

pointClickedFOI.setHTMLElement ("< img src="./pin.png"/ > '");

mapview.addFOI (pointClickedFOI);
Alert (' added FAITH to ' + mouseLocationX + ',' + mouseLocationY);
}
< /script >
< / head >

< onload javascript:showMap() = body; >
& lt; div id = "map".
style = "z-index: 0;" position: absolute; display: block; left: 0px; Top: 10px; Width: 95%; height: 95% "& gt;
& lt; / div & gt;
< / body >
< / html >

This is a bug of oracle cards. The solution is to add the image as a marker faith separated.

pointClicked = MVSdoGeometry.createPoint (mouseLocationX, mouseLocationY, 8307);
pointClickedFOI = new MVFOI ("ID:" + (FOICount +), pointClicked, 'MY.) STYLE.NAME");
pointClickedFOI.setWidth (48);
pointClickedFOI.setHeight (48);
mapview.addFOI (pointClickedFOI);

markerFOI = MVFOI.createMarkerFOI ("ID:" + (FOICount +), pointClicked, '. ') ("/ pin.png");
mapview.addFOI (markerFOI);

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for