<?xml version="1.0" ?> <configuration> <layers> <layer> <name>Earthquakes HeatMap</name> <url>http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0</url> <outFields>YYYYMMDD,Magnitude,Num_Injured,Num_Deaths,Name</outFields> <useamf>true</useamf> <defaultquery>1=1</defaultquery> <querytemplate>Name LIKE '%REPLACE_STR%'</querytemplate> <types>CHILE,TURKEY,CHINA,PHILIPPINES,JAPAN,IRAN,INDIA</types> <type_descs>Chile,Turkey,China,Philippines,Japan,Iran,India</type_descs> </layer> </layers> <ui> <widget_dimensions> <width>378</width> <height>206</height> </widget_dimensions> <icons> <main_icon>i_rainbow.png</main_icon><!-- Icon must exist under assets/images in viewer --> <main_label>Main Panel</main_label><!-- Title/label for icon across the top widget panel --> <settings_icon>i_options.png</settings_icon> <settings_label>Settings Panel</settings_label> </icons> <refresh_label>refreshing layer...</refresh_label> <query> <comp_label>Earthquakes by geography:</comp_label> <heatmapquery_prompt>default selection</heatmapquery_prompt> <featurecount_label> features contained</featurecount_label> </query> <transparency> <comp_label>Transparency:</comp_label> <defaulttransparency>0.7</defaulttransparency> </transparency> <symbol> <comp_label>Theme:</comp_label> <defaulttheme>RAINBOW</defaulttheme><!-- Must be one of RED_WHITE_BLUE, RAINBOW, or THERMAL --> </symbol> </ui> </configuration>
Does this work with proxies?
<layer>
<useproxy>true</useproxy>
Hi LLoyd
I'm using the compiled widget and it works perfectly. Is there any possibility to include the population variable? I mean, one single point (A) is heater than another point (B) if the value in another field in A is greater than the value in B.
<querytemplate>RSL = REPLACE_STR</querytemplate> <types>0,1,2,3,4,5</types> <type_descs>Years = 0,Years = 1,Years = 2,Years = 3,Years = 4,Years = 5</type_descs>
<type_descs>Years Between (0&5),Years Between (5&10), Years Between (10&15), Years Between (15&20)</type_descs>
Hello, Excellent widget but i need some help modifying it.
Instead of greater than or equal to... Can I do a "between". I have over 100 years of data and i would like to display it by 5 or 10 years at a time rather than year by year.
Below is an example of how it looks year by year by but if i keep this up the list will be too big.<querytemplate>RSL = REPLACE_STR</querytemplate> <types>0,1,2,3,4,5</types> <type_descs>Years = 0,Years = 1,Years = 2,Years = 3,Years = 4,Years = 5</type_descs>
Is there code like this...<type_descs>Years Between (0&5),Years Between (5&10), Years Between (10&15), Years Between (15&20)</type_descs>
Thanks,
Jerry
<querytemplate>REPLACE_STR</querytemplate> <types>Magnitude >= 2 and Magnitude <= 4,Magnitude >= 6 and Magnitude <= 8</types> <type_descs>Mag 2-4,Mag 6-8</type_descs>