<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.0" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="37871,9972084722" ReportOptions.Description.Text="Demonstrates how to create interactive map. The map displays sales in the world. When you click some country, you will see another map that displays sales by city in this country. To create a map:&#13;&#10;&#13;&#10;- create a new report parameter &#34;FilterVar&#34;;&#13;&#10;&#13;&#10;- put the Map object on the report page and add ESRI shape file layer;&#13;&#10;&#13;&#10;- add another report with Map object on it. This map will display the selected country with cities. Add two layers: a ESRI layer and an analytical data layer;&#13;&#10;&#13;&#10;- set the &#34;ZoomPolygon&#34; value of the first layer to [FilterVar], and set the spatial / analytical data of the second layer;&#13;&#10;&#13;&#10;- configure the hyperlink of the first map object. Set it to &#34;hkDetailReport&#34;, and choose the report parameter &#34;FilterVar&#34;." ReportOptions.LastChange="42760,7428933796" ScriptLanguage="PascalScript" ScriptText.Text="procedure Map1OnPreviewClick(Sender: TfrxView; Button: TMouseButton; Shift: Integer; var Modified: Boolean);&#13;&#10;begin&#13;&#10;  TfrxMapView(Sender).Hyperlink.Value :=  '''' + TfrxMapView(Sender).SelectedShapeName + '''';&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="ReportData.MapOrderDetailsDS" DataSetName="MapOrderDetails"/>
    <item DataSet="ReportData.MapOrdersDS" DataSetName="MapOrders"/>
  </Datasets>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" MirrorMargins="True" Columns="1" ColumnWidth="210" ColumnPositions.Text="0" PrintOnPreviousPage="True" HGuides.Text="" VGuides.Text="">
    <TfrxMapView Name="Map1" IndexTag="0" Left="18,8976378" Top="83,1496063" Width="718,11023622" Height="689,76377953" OnPreviewClick="Map1OnPreviewClick" Hyperlink.Kind="hkDetailReport" Hyperlink.DetailReport="116-2.fr3" Hyperlink.DetailPage="Page2" Hyperlink.ReportVariable="FilterVar" Hyperlink.Value="'test'" Fill.BackColor="12632256" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Zoom="1" MaxZoom="50" MinZoom="1" OffsetX="0" OffsetY="0" KeepAspectRatio="True" MercatorProjection="True" ColorScale.Visible="True" ColorScale.BorderColor="0" ColorScale.BorderWidth="1" ColorScale.Dock="sdBottomRight" ColorScale.FillColor="16777215" ColorScale.Font.Charset="1" ColorScale.Font.Color="-16777208" ColorScale.Font.Height="-13" ColorScale.Font.Name="Tahoma" ColorScale.Font.Style="0" ColorScale.TitleFont.Charset="1" ColorScale.TitleFont.Color="-16777208" ColorScale.TitleFont.Height="-13" ColorScale.TitleFont.Name="Tahoma" ColorScale.TitleFont.Style="0" ColorScale.ValueFormat="%1.0f" SizeScale.Visible="True" SizeScale.BorderColor="0" SizeScale.BorderWidth="1" SizeScale.Dock="sdBottomRight" SizeScale.FillColor="16777215" SizeScale.Font.Charset="1" SizeScale.Font.Color="-16777208" SizeScale.Font.Height="-13" SizeScale.Font.Name="Tahoma" SizeScale.Font.Style="0" SizeScale.TitleFont.Charset="1" SizeScale.TitleFont.Color="-16777208" SizeScale.TitleFont.Height="-13" SizeScale.TitleFont.Name="Tahoma" SizeScale.TitleFont.Style="0" SizeScale.ValueFormat="%1.2f" PropData="09436F6E76657274657209090500000000000000B406C00500F87E49B16FFFB305C00500080000000000B406400500706071D0FE32A705400500040000000000B4074005F3687C406EA79EAC07400512B9F880DC4E3DA5064005B004EF371C0E87B3084005B9C84AD005AB2AAC08400805000000000000000000000500000000000000000000050000000000000000000005000000000000000000000500000000000000000000">
      <TfrxMapFileLayer Name="MapFileLayer1" AnalyticalValue="&#60;MapOrderDetails.&#34;UnitPrice&#34;&#62; * &#60;MapOrderDetails.&#34;Quantity&#34;&#62; * (1 - &#60;MapOrderDetails.&#34;Discount&#34;&#62;)" ColorRanges.RangeFactor="rfValue" ColorRanges.RangeCount="3" ColorRanges.Visible="True" ColorRanges.StartColor="255" ColorRanges.MiddleColor="65535" ColorRanges.EndColor="32768" DataSet="ReportData.MapOrderDetailsDS" DefaultShapeStyle.BorderColor="0" DefaultShapeStyle.BorderStyle="psSolid" DefaultShapeStyle.BorderWidth="1" DefaultShapeStyle.FillColor="16777215" DefaultShapeStyle.PointSize="10" HighlightColor="65280" Operation="opSum" ValueFormat="%1.0f" LabelKind="mlName" MapPalette="mpNone" SizeRanges.RangeFactor="rfValue" SizeRanges.RangeCount="0" SizeRanges.Visible="True" SizeRanges.StartSize="4" SizeRanges.EndSize="20" PointLabelsVisibleAtZoom="1" LabelColumn="NAME" SpatialColumn="NAME" MapAccuracy="0" MapFileName="Maps\world.shp" PixelAccuracy="0" SpatialValue="IIF(&#60;MapOrders.&#34;ShipCountry&#34;&#62; = 'USA', 'United States' , &#60;MapOrders.&#34;ShipCountry&#34;&#62;)" PropData="[encoded data, 64398 characters]"/>
    </TfrxMapView>
    <TfrxMemoView Name="Memo1" IndexTag="0" Left="18,8976378" Top="0" Width="718,11023622" Height="37,7953" AutoWidth="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-24" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="World Sales by City"/>
    <TfrxMemoView Name="Memo2" IndexTag="0" Left="18,8976378" Top="37,79527559" Width="718,11023622" Height="22,67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Click the country to see sales by city."/>
    <TfrxMemoView Name="Memo3" IndexTag="0" Left="18,89765" Top="60,4724409448819" Width="718,11023622" Height="22,67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Use the left mouse button to pan, mouse wheel to zoom the map."/>
  </TfrxReportPage>
</TfrxReport>
