Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
ArcGIS Experience Builder
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Dashboards
ArcGIS Field Maps
ArcGIS StoryMaps
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Imagery and Remote Sensing Insights (IRIS) COP
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcGIS Pro SDK
ArcObjects SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
Game Engine Maps SDKs
File Geodatabase API
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Europe
Esri India
Americas
Asia Pacific
Comunidad GEOTEC
GeoDev Germany
ArcGIS Content - Esri Nederland
All Global Communities
All Communities
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Learning
Networks
ArcGIS Topics
Products
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
ArcGIS API for Flex (Retired)
:
ArcGIS API for Flex Questions
:
Infowindow Renderer is not getting displayed on cl...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
Infowindow Renderer is not getting displayed on click
Subscribe
595
3
03-23-2012 02:25 AM
by
MohammedIsmail
Emerging Contributor
03-23-2012
02:25 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
hi
Below is the code for infowindowrenderer
am trying display the infowindow on click but i could not get it
can u tell me what could be the reason
<esri:Map id="MyML" x="15" y="17" width="858" height="687" logoVisible="false"
zoomSliderVisible="true" openHandCursorVisible="false" >
<esri:ArcGISDynamicMapServiceLayer id="la" url="
http://gis-server/ArcGis/rest/services/Bijapur/MapServer
" />
<esri:FeatureLayer id="fLayer"
mode="onDemand"
outFields="[t_code,t_name]"
url="
http://gis-server/ArcGis/rest/services/Bijapur/MapServer
">
<esri:symbol>
<esri:SimpleFillSymbol id="fillsym" style="null">
<esri:SimpleLineSymbol width="3" color="0xFF0000"/>
</esri:SimpleFillSymbol>
</esri:symbol>
<esri:infoWindowRenderer>
<fx:Component>
<mx:VBox backgroundColor="0xffffff"
color="0x444444"
>
<mx:Label text="T Code: {data.t_code}"/>
<mx:Label text="T Name: {data.t_name}"/>
</mx:VBox>
</fx:Component>
</esri:infoWindowRenderer>
</esri:FeatureLayer>
</esri:Map>
Thanks & Regards
Be happy and keep smiling
ISMAIL
Tags
(2)
Tags:
flex
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
3 Replies
by
JinnanZhang
Emerging Contributor
03-25-2012
09:40 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hi ISMAIL,
I think the problem is associated with the URL of your FeatureLayer.
The correct URL should look like this: url="
http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0
" , that means you have to put an URL for an exact layer instead of put URL for entire map service.
I don't know which layer you should use but you can try to modify your URL to someting like:
"
http://gis-server/ArcGis/rest/services/Bijapur/MapServer/0
" or "
http://gis-server/ArcGis/rest/services/Bijapur/MapServer/1
"
See if that works.
Best,
Jinnan Zhang
Reply
0
Kudos
by
MohammedIsmail
Emerging Contributor
03-25-2012
08:47 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
hi
i tried but its not working how can i do this now
pls if u can help me to solve then it will be great
thanks
ISmail
Reply
0
Kudos
by
MohammedIsmail
Emerging Contributor
03-26-2012
06:58 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
hi
its working with vector files but it is not working with rasters
what could be the problem
Thanks
Ismail
Reply
0
Kudos
Post Reply