Select to view content in your preferred language

Info pop-up window is not displaying traffic camera...

883
10
10-13-2010 10:35 AM
ZlatkoGrebenar1
New Contributor II
I'm trying to display traffic cameras using the query widget. They display as a link in the widget but when I hover over the different cameras the info pop up window only displays the URL and not the actual traffic camera.

Here is the code for the query widget:
<configuration>
  <name>Traffic Cameras</name>
   <layer>http://******/ArcGIS/rest/services/Development/Traffic_Cams/MapServer/0</layer>
   <query>1=1</query>
   <fields all="false"> <!-- all="false" means it does not get all fields, only the fields specified below -->
        <field name="DESCRIPTIO"/>
        <field name="URL"/>
        </fields>
<linkfield>URL</linkfield>
<refreshrate></refreshrate>
<zoomscale>5000</zoomscale>
    <info>widgets/InfoTemplates/InfoPopupWidget.swf</info>
</configuration>

Thank you,
Tags (2)
0 Kudos
10 Replies
RyanKammerer1
New Contributor III
FYI, as an operational layer, my traffic cams do show up in the pop up window. It is only when I use my "Traffic Cams" widget that a link to the image shows up instead. It's either that the widget itself will not except a .jpeg file extension, or something is missing in my code.
0 Kudos