Author Archives: Artemis F.

Recent Posts

Creating a Custom Widget for Web AppBuilder for ArcGIS using the Report Class

sample-code

Web AppBuilder for ArcGIS (Developer Edition) version 2.4 supports a Report class with which you can print a file with a map, tables, and other supporting elements. Check out the ArcGIS blog post, Creating a Custom Widget for Web AppBuilder for ArcGIS using the … Continue reading

Posted in SDK, Support.Esri.com | Tagged , , , , , | Leave a comment

Web Maps Must Be Updated if Using Styles that Adjust Symbol Size Automatically Based on Map Scale

This blog pertains to web maps and layer items that have both of these characteristics:

  • Web maps and layers authored with ArcGIS Online prior to the June 2016 update.
  • Contains polygon layers that are styled using Smart Mapping tools to adjust symbol size and/or outline width automatically based on scale

Smart Mapping tools allow you to select between various methods for using attribute values to drive the size of marker symbols when mapping data associated with polygons. You can specify a concrete size range for the symbols, or use automatic sizing so that they are optimized for the initial map zoom level and will automatically adjust so they look better across more zoom levels. We discovered an issue when using the automatic sizing option where the size of each symbol was being incorrectly represented in the web map with pixel values rather than point values (points are the correct unit of measure according to the web map specification). The ArcGIS API for JavaScript was also using pixel values. The result was inconsistent sizing between ArcGIS clients.

You also have the ability to automatically adjust the width of the outline of the polygon based on the current scale. Automatic sizing of polygon outline widths were also being represented using pixels rather than points.

Starting with the June update of ArcGIS Online, sizing values will be correctly represented using points which will enable marker sizing in web maps to be displayed consistently in all ArcGIS clients. The ArcGIS API 3.17 for JavaScript was also updated to use point values rather than pixels. While this update resolves the inconsistencies with auto sizing values going forward, it also means that web maps that were created before the June 2016 update of Online will have marker symbols and polygon outline widths that appear 1.3 times larger than the initial sizes you saw when originally authoring your map.

Example map with automatic sizing before the update            

Example map with automatic sizing after the update

What can you do if your web map was affected by this update?

If you created a web map or layer item in Online prior to the June update with layer styles that take advantage of automatic sizing based on scale, we recommend that you reauthor your web map. This process will resave your web map with the correct sizing values for consistent display in all ArcGIS clients. Here are the steps to reauthor your web map:

  1. Open your web map or layer item
  2. Click on “Change Style” in the layer menu for the polygon layer(s) that use automatic sizing of symbols. Note: You might want to write down the options you have selected so that you can easily reselect them in step 4.
  3. Select a different style for your symbols than you originally had selected and click “Done.”
  4. Click “Change Style” again on the same layer and reselect the original styling options you had, and click “Done.” Any options that were configured within the original style must be reconfigured.
  5. Save your web map or layer item. Your web map will now have size represented using point values.

For information on changing the style of your web map or layer item, see this help topic.

Note: this issue also occurs in web maps and layers that were created in Portal for ArcGIS and will be addressed in Portal for ArcGIS version 10.5. This article will be updated once a solution is available.

Julie Powell
Technical Product Manager, ArcGIS API for JavaScript

Posted in ArcGIS Online | Tagged , , , | Leave a comment

Considerations for Using Vector Tile Layers in ArcGIS Online

esri_logo

Beta versions of Esri vector basemaps are now available through ArcGIS Online as vector tile layers. These vector basemaps are accessible as both ready-to-use web maps and as vector tile layers you can add to a map. Additionally, vector basemaps include a variety of styles, some new … Continue reading

Posted in ArcGIS Online, SDK, Support.Esri.com | Tagged , , , , , , , | 5 Comments

Final Release and Support Plan for ArcGIS Runtime SDK for WPF

esri

ArcGIS Runtime SDK for WPF version 10.2.5 is significant in that it is the final release of this product. While technical support will be available through July 1, 2016, maintenance of this product has been discontinued. Customers who develop with this product … Continue reading

Posted in Announcements, SDK | Tagged , , , , , , | Leave a comment