<?xml version="1.0" encoding="iso-8859-1"?>
<extension type="module" version="1.6.0" method="upgrade" client="site">
	<name>S5 Map It with Google</name>
	<author>Shape 5</author>
	<creationDate>August 17th, 2018</creationDate>
    <copyright>Copyright (C) 2008 Shape 5 LLC. All rights reserved.</copyright>
	<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
	<authorEmail>contact@shape5.com</authorEmail>
	<authorUrl>www.shape5.com</authorUrl>
	<version>1.8.1</version>
	<description>Choose between map mode or input mode for users to get directions to your site.
	             
				 Visit us at: www.shape5.com
    </description>
	<files>
		<filename module="mod_s5mapit">mod_s5mapit.php</filename>
		<filename>tmpl/default.php</filename>
		<folder>images</folder>
   	</files>

	<config>
		<fields name="params">
		<fieldset name="basic">
	<field name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling" />
		<field name="text" type="textarea" cols="40" rows="5" default="" label="Introduction text" filter="raw" description="Get a Google API key here, this is needed for the maps module to function. Go to the following URL to get your key: https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key"></field>
		<field name="addresss" type="text" default="" label="Address" filter="raw" description="Enter your address here."></field>
		<field name="cityy" type="text" default="" label="City" filter="raw" description="Enter your city here."></field>
		<field name="statee" type="text" default="" label="State" filter="raw" description="Enter your state here."></field>
		<field name="zipp" type="text" default="" label="Zip Code" filter="raw" description="Enter your zip code here."></field>
		
		<field name="s5mapitver" type="radio" default="ver2" label="Choose which version you want to display" description="Choosing version 2 will show a map, version 1 will show address input boxes with a map it buttons so users can then">
					<option value="ver2">Version 2</option>
					<option value="ver1">Version 1</option>
		</field>	
		<field name="s5miwidth" type="text" default="" label="Map Width (Leave blank to enable responsive width)" description="Enter the map width in pixels you desire.  If you desire to have the map work in responsive be sure to leave this field completely blank."></field>
		<field name="s5miheight" type="text" default="375" label="Map Height" description="Enter the map height in pixels you desire"></field>
		<field name="zoomlev" type="text" default="18" label="Zoom Level" description="Enter a number for the default zoom level"></field>	
		<field name="s5mapcontrol" type="radio" default="dis" label="Enable Map Controls?" description="Choosing to enable or disable the map controls">
						<option value="ena">Enable</option>
						<option value="dis">Disable</option>
		</field>
		<field name="s5mapscrollwheel" type="radio" default="dis" label="Mouse Scroll Wheel Navigation?" description="Choosing to enable or disable the scrolling of the mouse wheel. This prevents the map from zooming in and out when a user scrolls down the page.">
						<option value="ena">Enable</option>
						<option value="dis">Disable</option>
		</field>		
		<field name="s5mapcolorstyle" type="list" default="" label="Choose the color style" description="Default will show Google's default map style, the others are custom color schemes">
				<option value="default">Default</option>
				<option value="lightgray">Light Gray</option>
				<option value="darkgray">Dark Gray</option>
		</field>		
		<field name="s5mapitimagemarker" type="text" default="" label="Map Marker" description="Enter in an image name located in your /images folder if you desire to override the stock map marker that is included with this module."></field>
		<field name="getdirections" type="text" default="" label="Text for get directions link" filter="raw" description="Enter the text you'd like to show in for the get directions link"></field>
		<field name="gapi_key" type="text" default="" label="Google API Key" filter="raw" description="Enter your Google API key here, this is needed for the maps module to function. Go to the following URL to get your key: https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key"></field>

	</fieldset>
		</fields>
	</config>
	<updateservers>
		<server type="extension">http://update.joomlart.com/service/tracking/j31/mod_s5mapit.xml</server>
	</updateservers>	
</extension>
