<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19258"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV dir=ltr align=left><SPAN class=109263217-19072012>as often it's a problem
with ie. With Firefox and Chrome the map looks as expected.</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=109263217-19072012></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=109263217-19072012>What's wrong with IE?.
Perhaps it has to do with fiddle. Try without fiddle.</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=109263217-19072012></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=109263217-19072012>Arnd</SPAN></DIV><BR>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<B>Von:</B> David TRACY [mailto:kurttracy@utah.gov] <BR><B>Gesendet:</B>
Mittwoch, 18. Juli 2012 02:59<BR><B>An:</B> Arnd Wippermann<BR><B>Cc:</B>
users@openlayers.org<BR><B>Betreff:</B> Re: AW: [OpenLayers-Users] Map Wont
Show<BR><BR></DIV>
<DIV></DIV>
<DIV>I updated my code with the new suggestions. This time i get a white
layer over the background. Before all I could see was background.
</DIV>
<DIV> </DIV>
<DIV>I noticed an error in IE i might not of noticed previously.</DIV>
<DIV><BR>Message: Object doesn't support this property or method<BR>Line:
30<BR>Char: 5<BR>Code: 0<BR>URI: <A
href="http://fiddle.jshell.net/pBnB8/1/show/">http://fiddle.jshell.net/pBnB8/1/show/</A></DIV>
<DIV> </DIV>
<DIV><BR>Message: 'this.baseLayer.wrapDateLine' is null or not an
object<BR>Line: 238<BR>Char: 276<BR>Code: 0<BR>URI: <A
href="http://openlayers.org/dev/OpenLayers.js">http://openlayers.org/dev/OpenLayers.js</A></DIV>
<DIV> </DIV>
<DIV>Suggestions would be appreciated. Thanks for the help this
far.<BR></DIV>
<DIV><BR><BR> </DIV>
<DIV> </DIV>
<DIV>
<DIV>David "Kurt" Tracy</DIV>
<DIV>Emergency Management Planner II</DIV>
<DIV>1-801-828-8158 Cell</DIV>
<DIV>1-801-538-3767 Office</DIV>>>> "Arnd Wippermann"
<arnd.wippermann@web.de> 07/08/2012 11:02 AM >>><BR></DIV>
<DIV dir=ltr align=left>you have to add "export?f=image" to your url and the
layers parameter is <BR>somethink like "show:0,1,2"<SPAN
class=593290117-08072012>.</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=593290117-08072012>f</SPAN>unction
init(){<BR> var mapOptions =
{<BR> maxExtent: new
OpenLayers.Bounds(-174,18.4,-63.5,71),<BR>
maxResolution: 0.25,<BR> projection:
"EPSG:4326"};<BR> map = new OpenLayers.Map( 'map', mapOptions
);<BR> layer = new OpenLayers.Layer.ArcGIS93Rest( "ArcGIS
Server Layer", <BR> "<A
href="http://mapserv.utah.gov/ArcGIS/rest/services/UtahBaseMap-Hybrid/MapServer/export?f=image">http://mapserv.utah.gov/ArcGIS/rest/services/UtahBaseMap-Hybrid/MapServer/export?f=image</A>",<BR>
{ layers: "show:0,1,2" });</DIV>
<DIV> </DIV>
<DIV dir=ltr align=left> map.addLayer(layer);</DIV>
<DIV> </DIV>
<DIV dir=ltr align=left> map.addControl( new
OpenLayers.Control.MousePosition() );<BR>
<BR> map.setCenter(new OpenLayers.LonLat(-111.6, 39.3),
9);<BR>}<BR> <BR>window.onload =
init();</DIV>
<DIV> </DIV>
<DIV><SPAN class=593290117-08072012></SPAN>A<SPAN
class=593290117-08072012>rnd</SPAN><BR></DIV>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<B>Von:</B> openlayers-users-bounces@lists.osgeo.org
[mailto:openlayers-users-bounces@lists.osgeo.org] <B>Im Auftrag von </B>David
TRACY<BR><B>Gesendet:</B> Samstag, 7. Juli 2012 04:10<BR><B>An:</B>
openlayers-users@lists.osgeo.org<BR><B>Betreff:</B> [OpenLayers-Users] Map Wont
Show<BR><BR></DIV>
<DIV></DIV>
<DIV>I am new to open layers. Will you please verify my code is
correct. Can you give me any pointers on how to troubleshoot if the
service is bad.</DIV>
<DIV> </DIV>
<DIV>Here is a fiddle of the map.</DIV>
<DIV> </DIV>
<DIV><A href="http://jsfiddle.net/pBnB8/">http://jsfiddle.net/pBnB8/</A></DIV>
<DIV> </DIV>
<DIV>The controls show up but nothing else.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>David "Kurt" Tracy</DIV>
<DIV>Emergency Management Planner II</DIV>
<DIV>1-801-828-8158 Cell</DIV>
<DIV>1-801-538-3767 Office</DIV></BODY></HTML>