<esri:Map id="map"> <esri:extent> <esri:Extent xmin="-13456111" ymin="4335957" xmax="-11817302" ymax="5194498"> <esri:SpatialReference wkid="102100"/> </esri:Extent> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <esri:ArcGISDynamicMapServiceLayer id="censusLayer" name="Census" url="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer"> <esri:layerDefinitions> <!--Oklahoma is FIPS = '40', Oregon is FIPS = '41', Pennsylvania is FIPS = '42', Rhode Island is FIPS = '44', South Carolina is FIPS = '45', South Dakota is FIPS = '46', Tennessee is FIPS = '47', Texas is FIPS = '48', Utah is FIPS = '49', --> <esri:LayerDefinition layerId="0" definition="STATE_FIPS like '4%'"/> <esri:LayerDefinition layerId="1" definition="STATE_FIPS like '4%'"/> <esri:LayerDefinition layerId="2" definition="STATE_FIPS like '4%'"/> <esri:LayerDefinition layerId="3" definition="STATE_FIPS like '4%'"/> </esri:layerDefinitions> </esri:ArcGISDynamicMapServiceLayer> </esri:Map>
I believe it's a bug in the API sometimes decoding the expression to hexadecimal values depending on the characters following the % wildcard.
See my workaround here
https://community.esri.com/message/424756#424756
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.