<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SpatialReference.toMeterFactor in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301390#M7123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, please make toMeterFactor public!!!&amp;nbsp; &lt;BR /&gt;I can use it too.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjorne and Heather, if you're out there, we could use this in the JavaScript API as well!&amp;nbsp; Now that you are part of the JavaScript API team, can you help us?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2014 17:42:12 GMT</pubDate>
    <dc:creator>LarryStout</dc:creator>
    <dc:date>2014-04-08T17:42:12Z</dc:date>
    <item>
      <title>SpatialReference.toMeterFactor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301388#M7121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have extended the Esri Draw Widget to work with more spatial references than just Web Mercator and Geographic (4326).&amp;nbsp; To do this, I needed to determine the units of any projected coordinate system.&amp;nbsp; It doesn't seem like a huge task, but the only way I could figure out how to do this was to use the toMeterFactor property of SpatialReference.&amp;nbsp; This requires the use of esri_internal, which I really hate to do.&amp;nbsp; Is there another way to determine the units of a spatial reference?&amp;nbsp; If not, can Esri make the toMeterFactor public?&amp;nbsp; It works great.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 17:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301388#M7121</guid>
      <dc:creator>LarryStout</dc:creator>
      <dc:date>2013-06-19T17:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference.toMeterFactor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301389#M7122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have extended the Esri Draw Widget to work with more spatial references than just Web Mercator and Geographic (4326).&amp;nbsp; To do this, I needed to determine the units of any projected coordinate system.&amp;nbsp; It doesn't seem like a huge task, but the only way I could figure out how to do this was to use the toMeterFactor property of SpatialReference.&amp;nbsp; This requires the use of esri_internal, which I really hate to do.&amp;nbsp; Is there another way to determine the units of a spatial reference?&amp;nbsp; If not, can Esri make the toMeterFactor public?&amp;nbsp; It works great.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, please make toMeterFactor public!!!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can use it too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 16:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301389#M7122</guid>
      <dc:creator>stevemclaughlin</dc:creator>
      <dc:date>2014-04-08T16:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference.toMeterFactor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301390#M7123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, please make toMeterFactor public!!!&amp;nbsp; &lt;BR /&gt;I can use it too.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjorne and Heather, if you're out there, we could use this in the JavaScript API as well!&amp;nbsp; Now that you are part of the JavaScript API team, can you help us?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 17:42:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301390#M7123</guid>
      <dc:creator>LarryStout</dc:creator>
      <dc:date>2014-04-08T17:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference.toMeterFactor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301391#M7124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, please make toMeterFactor public!!!&amp;nbsp; &lt;BR /&gt;I can use it too.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve, I'd like to understand your use case better.&amp;nbsp; Could you explain with some more details?&amp;nbsp; For example, do you need to know the "unit" of the spatial reference of the current map?&amp;nbsp; Or for any and all projections?&amp;nbsp; What would you do with that "unit"?&amp;nbsp; Or do you want to know the conversion factor (compared to meter) for the units on the map?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 21:03:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301391#M7124</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2014-04-10T21:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference.toMeterFactor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301392#M7125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Bjorne and Heather, if you're out there, we could use this in the JavaScript API as well!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Larrye, same question for you.&amp;nbsp; What is that you are missing from the API and what is it that you are trying to accomplish?&amp;nbsp; You might to create a new thread under the Javascript forum instead for that...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 21:06:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301392#M7125</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2014-04-10T21:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference.toMeterFactor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301393#M7126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Touche, Bjorn.&amp;nbsp; Sorry about the extra letter in your name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll detail my requirements both here and in a new thread in the JavaScript Forum, since they are the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Originally, I was trying to get the units associated with the spatial reference of the map.&amp;nbsp; I couldn't find a good way to do that, and came upon the toMeterFactor, and that works as well if not better.&amp;nbsp; Here is where and how I am using it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. When the user clicks on a feature, I show a popup with several tabs.&amp;nbsp; One of the tabs shows the measurements of the feature area and perimeter for polygons, length for polylines, and coordinates for points.&amp;nbsp; If the feature was a polygon or a polyline, the popup also shows the coordinates of the point clicked.&amp;nbsp; In both cases, the user can change the spatial reference of the coordinates or the units of the length and area units.&amp;nbsp; I call the geometry service to convert the coordinates to a different spatial reference.&amp;nbsp; If the spatial reference is Web Mercator or Geographic, I can calculate the area and length on the client.&amp;nbsp; If the spatial reference is projected, I can also calculate the area and length on the client, but I need the map units or the ratio of the units to meters to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. We use the same popup (not an Esri popup, but our own Flex popup) in the Identify and the Search Widget results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. We also need the map units to calculate area and length dynamically in the Draw Widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. We have enhanced the Print Widget to show a graphic on the screen that represents the paper size selected for the print.&amp;nbsp; It lets the user see what will be printed rather than guess what will be printed.&amp;nbsp; In this widget, we have to do an approximate projection of the paper into the map coordinate system.&amp;nbsp; We do this on the client, because the user can drag the paper around the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see all of these widgets in our "last" Flex Viewer here: &lt;/SPAN&gt;&lt;A href="http://gis.hamiltoncounty.in.gov/flexviewer/index.html"&gt;http://gis.hamiltoncounty.in.gov/flexviewer/index.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have started porting some of this functionality to a couple of different JavaScript Viewers, Dave Spriggs Configurable JavaScript Viewer that I got from GitHub (&lt;/SPAN&gt;&lt;A href="http://gis.hamiltoncounty.in.gov/jsViewer3/index.html"&gt;http://gis.hamiltoncounty.in.gov/jsViewer3/index.html&lt;/A&gt;&lt;SPAN&gt;), and the Stem App JavaScript Viewer that is part of WebApp Builder (&lt;/SPAN&gt;&lt;A href="http://gis.hamiltoncounty.in.gov/mapViewer1/index.html#"&gt;http://gis.hamiltoncounty.in.gov/mapViewer1/index.html#&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp; These implementations are a little rough right now, so be gentle.&amp;nbsp; The Widget is called Print Plus in the JavaScript Viewers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Larrye&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 14:03:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301393#M7126</guid>
      <dc:creator>LarryStout</dc:creator>
      <dc:date>2014-04-11T14:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference.toMeterFactor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301394#M7127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Larry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Since you are playing around with the StemApp I thought you might be interested in my initial work on a eSearch widget (right now the enhanced just means I am trying to get the search widget up to the level that the otb Flex Search Widget is).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Enhancements over the otb StemApp Search widget:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Widget results are organized vertically.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Field names are italics&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Field values are decrypted (coded domains, subtypes, dates are all returned with proper values).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Widget results include a swatch.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;When entering text for an attribute search pressing enter executes the search.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Changing the search layer clears the search text box and displays the search hint.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Zoom to all option added to results page.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Result list is in the same field order as specified in the JSON file.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Title field is bold in the results.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Results use an alternating color.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Results have scrollbars for vertical and horizontal if needed.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;clearing results takes you back to the initial view.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Initial View is configurable.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Default Search Symbology how has a GUI.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Searches are no re-orderable in the GUI.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Expression textbox now has a prompt for the proper expression format.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Include all fields button added&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Date field format is configurable (just not in the GUI yet).&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 19:47:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301394#M7127</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-04-11T19:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: SpatialReference.toMeterFactor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301395#M7128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've forced myself to finish up my Print Plus Widget (attached) for the StemApp before allowing myself to look at your eSearch Widget.&amp;nbsp; The WebApp Builder uses responsive design.&amp;nbsp; It is implemented using a variety of techniques, and I've been exploring them as I need them.&amp;nbsp; I've tested the Print Plus Widget on an iPhone 4S and an iPad.&amp;nbsp; I still can't drag the layout around on a touch screen, so that's my next project.&amp;nbsp; Here's a link to an app with the Print Plus Widget (and the original Print Widget) on my server: &lt;/SPAN&gt;&lt;A href="http://gis.hamiltoncounty.in.gov/mapViewer1/index.html"&gt;http://gis.hamiltoncounty.in.gov/mapViewer1/index.html&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the eSearch Widget and enjoy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Larry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 00:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/spatialreference-tometerfactor/m-p/301395#M7128</guid>
      <dc:creator>LarryStout</dc:creator>
      <dc:date>2014-04-22T00:19:04Z</dc:date>
    </item>
  </channel>
</rss>

