<?xml version="1.0" encoding="UTF-8"?>

<ibloc xmlns="http://www.irise.com/schema/ibloc" type="widget" namespace="irise" name="GoogleMaps" version="1.3" productVersion="8.9">
  <displayName>Google Map</displayName>
  <description>Embed a Google map complete with controls, dragging, and scroll-wheel zooming. In version 1.2 added auto detect of current location and ability to search for x around the location for example Chase Bank</description>
  <canvasImage scale="stretch">resources/images/Google_Maps_Canvas.gif</canvasImage>
  <iconImage>resources/images/Google_Maps_Icon.png</iconImage>
  <defaultWidth>600</defaultWidth>
  <defaultHeight>400</defaultHeight>
  <containsDrag>true</containsDrag>
  <intrinsicProperty>address</intrinsicProperty>
  <metadata>
    <createdBy>Sahil Mehta, Andres Aguilar</createdBy>
    <contributors>Ariel Browarnik</contributors>
    <supportedBrowsers>Internet Explorer v7.0,Internet Explorer v8.0,Firefox v3.5,Safari v4,Chrome v8</supportedBrowsers>
    <connectionRequired>true</connectionRequired>
    <helpUrl>https://idn.irise.com/x/u4CD?utm_campaign=ibloc&amp;utm_source=studio&amp;utm_medium=about_link</helpUrl>
    <supportNumber>(866) 361-3900</supportNumber>
    <supportUrl>http://community.irise.com/irise/searches?query=google+map+ibloc&amp;style=topics?utm_campaign=ibloc&amp;utm_source=studio&amp;utm_medium=about_link</supportUrl>
    <releaseDate>2011-04-27</releaseDate>
  </metadata>
  <properties>
    <property name="address" editable="true" required="true">
      <displayName>Address</displayName>
      <description>Center the map at an address</description>
      <validators></validators>
    </property>
    <property name="detectLocation" editable="true" required="true">
      <displayName>Auto Detect Location</displayName>
      <description>When selected, it will try to use browser's capabilities to auto detect location</description>
      <editor name="checkBox" multiValue="false" minEditorCount="1" maxEditorCount="0"></editor>
      <defaultValue>
        <boolean>false</boolean>
      </defaultValue>
      <validators></validators>
    </property>
    <property name="showPin" editable="true" required="true">
      <displayName>Show Pin</displayName>
      <description>Display a push pin at the address</description>
      <editor name="checkBox" multiValue="false" minEditorCount="1" maxEditorCount="0"></editor>
      <defaultValue>
        <boolean>false</boolean>
      </defaultValue>
      <validators></validators>
    </property>
    <property name="pinText" editable="true" required="false">
      <displayName>Text in the pin callout</displayName>
      <description>E.g. You are here!</description>
      <validators></validators>
    </property>
    <property name="searchFor" editable="true" required="true">
      <displayName>Search For</displayName>
      <description>Marks POIs next to the location that match the criteria E.g. chase banks</description>
      <validators></validators>
    </property>
    <property name="searchPinIcon" editable="true" required="false">
      <displayName>Search location icon</displayName>
      <description>Icon to be displayed on the found markers.</description>
      <editor name="imageChooser" multiValue="false" minEditorCount="0" maxEditorCount="1"></editor>
      <validators></validators>
    </property>
    <property name="MapType" editable="true" required="false">
      <displayName>Map Type</displayName>
      <description>Select the type of Google Map to display.</description>
      <editor name="dropDown" multiValue="false" minEditorCount="1" maxEditorCount="0">
        <property name="constraints">
          <values>
            <string>terrain</string>
            <string>roadmap</string>
            <string>satellite</string>
            <string>hybrid</string>
          </values>
        </property>
      </editor>
      <defaultValue>
        <string>roadmap</string>
      </defaultValue>
      <validators></validators>
    </property>
    <property name="Zoom" editable="true" required="false">
      <displayName>Zoom Level</displayName>
      <description>0 is the lowest zoom level, in which the entire world can be seen on one map. 19 is the highest zoom level, down to individual buildings. Zoom levels of 20 are possible within satellite view.</description>
      <editor name="integerSpinner" multiValue="false" minEditorCount="1" maxEditorCount="0">
        <property name="incrementIndex">
          <values>
            <integer>1</integer>
          </values>
        </property>
        <property name="min">
          <values>
            <integer>0</integer>
          </values>
        </property>
        <property name="max">
          <values>
            <integer>20</integer>
          </values>
        </property>
      </editor>
      <defaultValue>
        <integer>14</integer>
      </defaultValue>
      <validators></validators>
    </property>
  </properties>
  <events>
    <event name="OnZoomChange">
      <displayName>On Zoom Change</displayName>
      <description>On Zoom Change event for google map widget</description>
    </event>
    <event name="DragEnd">
      <displayName>Drag End</displayName>
      <description>Drag end event for google map widget</description>
    </event>
  </events>
  <preload>
    <scripts>
      <script src="http://maps.googleapis.com/maps/api/js?libraries=places&amp;sensor=true"></script>
      <script src="/iblocs/irise/GoogleMaps/1.3/javascript/googleMaps.js"></script>
    </scripts>
    <stylesheets></stylesheets>
  </preload>
  <content>
	
		&lt;div style="width: 100%; height: 100%"&gt;&lt;/div&gt;			
	
    </content>
</ibloc>