Finally i found the solution and here it is...CSS:.orangeSprite{ background-image: url(images/orangeinfowindow.png) !important; _background-image: none !important; color: White; _filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='crop', src='images/orangeinfowindow.png') !important;}Code: Before showing the infowindow, please use the below code: var infoWindow = map.infoWindow; var sprite = dojo.query('.sprite', infoWindow.domNode); for (var i = 0; i < sprite.length; i++) { sprite.className = 'sprite orangeSprite'; //sprite is the default class for infowindow and orangeSprite has the actual sprite image to be displayed. }map.infoWindow.resize(380, 220);Now call the resize() method.You will get the new sprite image, instead of the default provided.Regards,Ravi.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.