AnsweredAssumed Answered

Information Window close button not able to see

Question asked by meenu.monu on Sep 23, 2015
Latest reply on Sep 24, 2015 by meenu.monu

Thank U for ur time.

Information window added in the following way.It is success also. The problem is Information window header portion showing black colour and not possible to see the close button.How can i solve that?

 

Is it possible to avoid zoomto option from information window?

 

 

Script and style portion below

 

 

<style type="text/css">

        html, body, #mapDiv{

        padding: 0;

        margin: 0;

        height: 99.8%;

          z-index: -1;

         -moz-border-radius:4px;

        overflow:hidden;

 

        }

         

         .claro .dijitButtonText {

        color:#03c;

        font-family: Arial, Helvetica, sans-serif

        font-weight:bold;

      }

      .claro td.dijitMenuItemLabel {

        color:#03c;

        font-family: Arial, Helvetica, sans-serif

        font-weight:500;

      }

        .auto-style1 {

        }

        .auto-style2 {

           height: 20px;

        }

        .auto-style3 {

            height: 20px;

        }

        .auto-style4 {

            text-align: left;

        }

        .auto-style5 {

            width: 137px;

        }

        .auto-style6 {

            height: 2%;

            width: 279px;

        }

        .auto-style7 {

            width: 279px;

        }

        #TxtAltareeqEng {

            width: 55px;

        }

        #TxtAltareeqEng0 {

            width: 55px;

        }

    </style>

 

        <script type="text/javascript">var dojoConfig = { parseOnLoad: true };</script>

    <script type="text/javascript" src="http://js.arcgis.com/3.14/"></script>

         <script src="Scripts/jquery-2.1.1.js" type="text/javascript"></script>

 

        <script type="text/javascript">

 

            window.onerror = function (msg, url, linenumber) {

                alert('Error message: ' + msg + '\nURL: ' + url + '\nLine Number: ' + linenumber);

                return true;

            }

 

            dojo.require("dijit.layout.BorderContainer");

            dojo.require("dijit.layout.ContentPane");

            dojo.require("esri.map");

            dojo.require("esri.dijit.BasemapGallery");

            dojo.require("dijit.Tooltip");

            dojo.require("dijit.form.Button");

            dojo.require("dijit.Menu");

            dojo.require("esri.dijit.Popup");

            dojo.require("esri.dijit.PopupTemplate");

            dojo.require("esri.graphicsUtils");

 

 

Coding

   var geomPoint = new esri.geometry.Point(list.d[recordcount].ELon, list.d[recordcount].ELat);

                                       

                            var symbol = new esri.symbol.PictureMarkerSymbol({

                                "url": colourstyle,

                                "height": 16,

                                "width": 16,

                                "type": "esriPMS"

                            });

                           

                            var infoTemplate = new esri.InfoTemplate();

                            infoTemplate.content = strhotspot;

                            var pointGraphic = new esri.Graphic(geomPoint, symbol);

                            pointGraphic.setInfoTemplate(infoTemplate);

                            graphicsLayer.add(pointGraphic);

Outcomes