<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MAGSHARE</title>
	<atom:link href="http://magshare.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://magshare.org</link>
	<description>The NA Webservants&#039; Toolbox</description>
	<lastBuildDate>Mon, 22 Feb 2010 16:40:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Basic Spec For 1.5 Series</title>
		<link>http://magshare.org/2010/02/21/basic-spec-for-1-5-series/</link>
		<comments>http://magshare.org/2010/02/21/basic-spec-for-1-5-series/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 18:55:45 +0000</pubDate>
		<dc:creator>Chris M.</dc:creator>
				<category><![CDATA[BMLT Development]]></category>

		<guid isPermaLink="false">http://magshare.org/?p=626</guid>
		<description><![CDATA[Well, we&#8217;ll let the 1.4 series rest with support for Android and iPhone. These are available as of version 1.4.1. It looks like 1.4.3 will be the final installment in the 1.4 series.

I&#8217;d like to start on the 1.5 series. Originally, I had been planning to take the 1.4 series through support of older phones [...]]]></description>
			<content:encoded><![CDATA[<p class="first">Well, we&#8217;ll let the 1.4 series rest with support for Android and iPhone. These are available as of version 1.4.1. It looks like 1.4.3 will be the final installment in the 1.4 series.</p>
<p><span id="more-626"></span></p>
<p>I&#8217;d like to start on the 1.5 series. Originally, I had been planning to take the 1.4 series through support of older phones (would be a fair amount of work, as I&#8217;d need to create an entire WML stack).</p>
<p>Instead, there has been call for the ability to get reports from the system.</p>
<p>This was something that I had been planning to add as part of a more comprehensive package in 2.X, but maybe we can add this now.</p>
<p>This would be like the 1.3 series, in which we worked exclusively on the administration system. This would only affect, and be available to, logged-in administrators.</p>
<p>With that in mind, here are my suggestions for what reports can be generated:</p>
<ol style="margin-left:3em">
<li>Latest Meeting Changes
<ol style="margin-left:1em">
<li>Across the board</li>
<li>For all meetings that I can edit</li>
<li>Only for my Service body</li>
</ol>
</li>
<li>Latest Service Body Changes
<ol style="margin-left:1em">
<li>Only for my Service body</li>
<li>For Service Bodies that I can edit</li>
<li>Across the board (only available to Server Admins)</li>
</ol>
</li>
<li>Latest Format Changes
<ol style="margin-left:1em">
<li>This would be read-only (except for Server Admins), and available to all admins</li>
</ol>
</li>
</ol>
<p>We&#8217;ll work out exactly what the UI will be for this, but I&#8217;d like admins to be able to revert changes in meetings and Service Bodies for which they have edit privileges.</p>
<p>This will be a fairly extensive project.</p>
]]></content:encoded>
			<wfw:commentRss>http://magshare.org/2010/02/21/basic-spec-for-1-5-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test of the Gelocator Plugin in a Post</title>
		<link>http://magshare.org/2010/02/04/test-of-the-gelocator-plugin-in-a-post/</link>
		<comments>http://magshare.org/2010/02/04/test-of-the-gelocator-plugin-in-a-post/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 19:20:43 +0000</pubDate>
		<dc:creator>Chris M.</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://magshare.org/?p=595</guid>
		<description><![CDATA[View this post in order to see the geolocator in action.

/* = 0) &#038;& (inAcc 1 ) { g_pm_index--; ClearLookupResults(); DisplayPlacemark ( ); } }; function DisplayPlacemark ( ) { if ( geocode_response &#038;& geocode_response.Placemark ) { var pm = geocode_response.Placemark[g_pm_index-1]; SetAccuracyValue(parseInt ( pm.AddressDetails.Accuracy )); document.getElementById('bmlt_tools_accuracy_display').style.display = 'block'; document.getElementById('bmlt_tools_address_transfer_container').style.display = 'block'; if ( g_pm_index_max > [...]]]></description>
			<content:encoded><![CDATA[<p>View this post in order to see the geolocator in action.<br />
<span id="more-595"></span><br />
<script type="text/javascript">/* <![CDATA[ */ var g_show_debug_checkbox = true; var g_show_long_lat_info = true; var g_show_map_checkbox = true; var geocoder = null; var geocode_response = null; var g_pm_index = 0; var g_pm_index_max = 0; var g_focused_element = null; function GeocodeInitializeOnLoad ( ) { if (GBrowserIsCompatible()) { geocoder = new GClientGeocoder; document.getElementById('bmlt_tools_address_source_container').style.display = 'block'; document.getElementById('bmlt_tools_address_transfer_container').style.display = 'block'; document.getElementById('bmlt_tools_address_lookup_container').style.display = 'block'; if ( g_show_long_lat_info && g_show_map_checkbox ) { document.getElementById('bmlt_tools_map_display').style.display = 'block'; }; if ( g_show_debug_checkbox ) { SetBlankDebugData (); document.getElementById('bmlt_tools_debug_display').style.display = 'block'; }; if ( navigator && navigator.geolocation ) { document.getElementById('bmlt_tools_where_am_i').style.display = 'block'; }; ClearLookupResults ( ); DrawAccuracyScale(); ClearAddressForm (); if ( g_show_long_lat_info && g_show_map_checkbox ) { document.getElementById('bmlt_tools_map_checkbox').checked = false; }; if ( g_show_debug_checkbox ) { document.getElementById('bmlt_tools_debug_checkbox').checked = false; }; } else { alert ( 'ERROR: Could not create Geocoder object!' ); }; DisplayLongLat(); }; function trim_str ( in_str ) { return in_str.replace(/^\s+/, '').replace(/\s+$/, ''); }; function DisplayLongLat ( ) { if ( g_show_long_lat_info ) { document.getElementById('bmlt_tools_address_long_lat' ).style.display = 'block'; document.getElementById('bmlt_tools_transfer_long_lat' ).style.display = 'block'; document.getElementById('bmlt_tools_lookup_long_lat_line' ).style.display = 'block'; }; }; function SetAccuracyValue( inAcc ) { var scale_indicator = document.getElementById('bmlt_tools_accuracy_scale'); if ( !scale_indicator ) { DrawAccuracyScale(); scale_indicator = document.getElementById('bmlt_tools_accuracy_scale'); }; if ( scale_indicator ) { scale_indicator.className = ((inAcc >= 0) && (inAcc<10))?'acc'+inAcc.toString():'accDisabled'; }; }; function DrawAccuracyScale() { if ( !document.getElementById('bmlt_tools_accuracy_scale') ) { var par = document.getElementById('bmlt_tools_accuracy_gradient'); if ( par ) { for ( var i = 1; i < 300; i+=3 ) { var nod = document.createElement ( "div" ); if ( nod ) { nod.className = 'line'; par.appendChild ( nod ); }; }; var slider = document.createElement ( "div" ); if ( slider ) { slider.id = 'bmlt_tools_accuracy_scale'; slider.className = 'accDisabled'; par.appendChild ( slider ); }; }; }; }; function WhereAmI() { navigator.geolocation.getCurrentPosition(WhereAmI_CallBackSuccess); }; function WhereAmI_CallBackSuccess( in_position_object ) { document.getElementById('bmlt_tools_address_long').value = in_position_object.coords.longitude; document.getElementById('bmlt_tools_address_lat').value = in_position_object.coords.latitude; document.getElementById('bmlt_tools_address_lat').focus(); }; function RestoreFocus ( ) { if ( g_focused_element ) { g_focused_element.focus(); }; }; function ClearAddressForm ( ) { document.getElementById('bmlt_tools_address_street').value = ''; document.getElementById('bmlt_tools_address_other').value = ''; document.getElementById('bmlt_tools_address_borough').value = ''; document.getElementById('bmlt_tools_address_town').value = ''; document.getElementById('bmlt_tools_address_county').value = ''; document.getElementById('bmlt_tools_address_state').value = ''; document.getElementById('bmlt_tools_address_zip').value = ''; document.getElementById('bmlt_tools_address_nation').value = ''; document.getElementById('bmlt_tools_address_string').innerHTML = ''; document.getElementById('bmlt_tools_address_street').focus(); }; function FormSubmitted() { if ( (g_focused_element.id == 'address_long') || (g_focused_element.id == 'address_lat') ) { ReverseLookup(); } else { GeocodeAddress(); }; }; function UpdateAddressString() { var ad1 = trim_str ( document.getElementById('bmlt_tools_address_street').value ); var ad2 = trim_str ( document.getElementById('bmlt_tools_address_other').value ); var adb = trim_str ( document.getElementById('bmlt_tools_address_borough').value ); var adt = trim_str ( document.getElementById('bmlt_tools_address_town').value ); var adc = trim_str ( document.getElementById('bmlt_tools_address_county').value ); var ads = trim_str ( document.getElementById('bmlt_tools_address_state').value ); var adz = trim_str ( document.getElementById('bmlt_tools_address_zip').value ); var adn = trim_str ( document.getElementById('bmlt_tools_address_nation').value ); var final_string = ''; if ( ad1 ) { final_string += ad1; }; if ( ad2 ) { if ( final_string ) { final_string += ' '; }; final_string += ad2; }; if ( adb ) { if ( final_string ) { final_string += ', '; }; final_string += adb; }; if ( adt ) { if ( final_string ) { final_string += ', '; }; final_string += adt; }; if ( adc ) { if ( final_string ) { final_string += ', '; }; final_string += adc; }; if ( ads ) { if ( final_string ) { final_string += ', '; }; final_string += ads; }; if ( adz ) { if ( final_string ) { final_string += ' '; }; final_string += adz; }; if ( adn ) { if ( final_string ) { final_string += ', '; }; final_string += adn; }; document.getElementById('bmlt_tools_address_string').innerHTML = final_string; }; function GetGeoAddress ( address ) { if ( geocoder ) { ClearLookupResults ( ); geocode_response = null; if ( g_show_debug_checkbox ) { SetBlankDebugData (); }; document.getElementById('bmlt_tools_placemark_count').innerHTML = ''; g_pm_index = 0; g_pm_index_max = 0; geocoder.getLocations ( address, GeoCallback ); }; }; function ClearLookupResults ( ) { document.getElementById('bmlt_tools_lookup_address_nation').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_lookup_address_state').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_lookup_address_county').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_lookup_address_town').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_lookup_address_borough').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_lookup_address_street').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_lookup_address_zip').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_lookup_address_long').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_lookup_address_lat').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_goo_go').style.display = 'none'; document.getElementById('bmlt_tools_accuracy_display').style.display = 'none'; document.getElementById('bmlt_tools_address_transfer_container').style.display = 'none'; document.getElementById('bmlt_tools_placemark_rotator_controls').style.display = 'none'; document.getElementById('bmlt_tools_goo_go_a').href = null; }; function GeoCallback ( in_geocode_response ) { geocode_response = in_geocode_response; if ( geocode_response && geocode_response.Placemark && geocode_response.Placemark.length ) { g_pm_index_max = geocode_response.Placemark.length; } if ( g_show_debug_checkbox ) { document.getElementById('bmlt_tools_dump_pre').innerHTML = TraverseJSONTree ( ); }; if ( geocode_response && geocode_response.Placemark && geocode_response.Placemark.length ) { if ( g_pm_index_max ) { g_pm_index = 1; DisplayPlacemark ( ); } else { g_pm_index = 0; g_pm_index_max = 0; if ( g_show_debug_checkbox ) { SetBlankDebugData (); }; geocode_response = null; alert ( 'NOTHING FOUND' ); }; } else { g_pm_index = 0; g_pm_index_max = 0; if ( g_show_debug_checkbox ) { SetBlankDebugData (); }; geocode_response = null; alert ( 'NO RESPONSE FROM GOOGLE' ); }; }; function MakeGoogleLink() { var longitude = parseFloat ( document.getElementById('bmlt_tools_lookup_address_long').innerHTML ); var latitude = parseFloat ( document.getElementById('bmlt_tools_lookup_address_lat').innerHTML ); var uri = 'http://maps.google.com/maps?f=q&q='+latitude+','+longitude; document.getElementById('bmlt_tools_goo_go').style.display = 'block'; document.getElementById('bmlt_tools_goo_go_a').href = encodeURI(uri); }; function IncrementPlaceMark() { if ( g_pm_index < g_pm_index_max ) { g_pm_index++; ClearLookupResults(); DisplayPlacemark ( ); } }; function DecrementPlaceMark() { if ( g_pm_index > 1 ) { g_pm_index--; ClearLookupResults(); DisplayPlacemark ( ); } }; function DisplayPlacemark ( ) { if ( geocode_response && geocode_response.Placemark ) { var pm = geocode_response.Placemark[g_pm_index-1]; SetAccuracyValue(parseInt ( pm.AddressDetails.Accuracy )); document.getElementById('bmlt_tools_accuracy_display').style.display = 'block'; document.getElementById('bmlt_tools_address_transfer_container').style.display = 'block'; if ( g_pm_index_max > 1 ) { document.getElementById('bmlt_tools_placemark_rotator_controls').style.display = 'block'; document.getElementById('bmlt_tools_placemark_count').innerHTML = g_pm_index.toString() + " of " + g_pm_index_max.toString(); if ( g_pm_index > 1 ) { document.getElementById('bmlt_tools_placemark_count_decrement').innerHTML = '<a href="javascript:DecrementPlaceMark()" title="Go to the previous placemark.">&lt;&lt;</a>'; } else { document.getElementById('bmlt_tools_placemark_count_decrement').innerHTML = '&nbsp;'; }; if ( g_pm_index < g_pm_index_max ) { document.getElementById('bmlt_tools_placemark_count_increment').innerHTML = '<a href="javascript:IncrementPlaceMark()" title="Go to the next placemark.">&gt;&gt;</a>'; } else { document.getElementById('bmlt_tools_placemark_count_increment').innerHTML = '&nbsp;'; }; } else { document.getElementById('bmlt_tools_placemark_count').innerHTML = '&nbsp;'; document.getElementById('bmlt_tools_placemark_rotator_controls').style.display = 'none'; }; if ( pm.Point ) { document.getElementById('bmlt_tools_lookup_address_long').innerHTML = trim_str ( pm.Point.coordinates[0].toString() ); document.getElementById('bmlt_tools_lookup_address_lat').innerHTML = trim_str ( pm.Point.coordinates[1].toString() ); MakeGoogleLink(); if ( g_show_long_lat_info && g_show_map_checkbox ) { SetMapResponseMarker(); }; }; if ( pm.AddressDetails.Country ) { var nation = trim_str ( pm.AddressDetails.Country.CountryNameCode.toString() ); document.getElementById('bmlt_tools_lookup_address_nation').innerHTML = nation; }; if ( pm.AddressDetails.Country.AdministrativeArea ) { var state = trim_str ( pm.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName.toString() ); document.getElementById('bmlt_tools_lookup_address_state').innerHTML = state; }; if ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea ) { var county = trim_str ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName.toString() ); document.getElementById('bmlt_tools_lookup_address_county').innerHTML = county; if ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality ) { var town = trim_str ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.LocalityName.toString() ); document.getElementById('bmlt_tools_lookup_address_town').innerHTML = town; if ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.DependentLocality ) { var borough = trim_str ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.DependentLocality.DependentLocalityName.toString() ); document.getElementById('bmlt_tools_lookup_address_borough').innerHTML = borough; if ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.DependentLocality.Thoroughfare ) { var street = trim_str ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.DependentLocality.Thoroughfare.ThoroughfareName.toString() ); document.getElementById('bmlt_tools_lookup_address_street').innerHTML = street; }; if ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.DependentLocality.PostalCode ) { var zip = trim_str ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.DependentLocality.PostalCode.PostalCodeNumber.toString() ); document.getElementById('bmlt_tools_lookup_address_zip').innerHTML = zip; }; } else { if ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare ) { var street = trim_str ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare.ThoroughfareName.toString() ); document.getElementById('bmlt_tools_lookup_address_street').innerHTML = street; }; if ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.PostalCode ) { var zip = trim_str ( pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.PostalCode.PostalCodeNumber.toString() ); document.getElementById('bmlt_tools_lookup_address_zip').innerHTML = zip; }; }; }; } else { if ( pm.AddressDetails.Country.AdministrativeArea.Locality ) { var town = trim_str ( pm.AddressDetails.Country.AdministrativeArea.Locality.LocalityName.toString() ); document.getElementById('bmlt_tools_lookup_address_town').innerHTML = town; if ( pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality ) { var borough = trim_str ( pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality.DependentLocalityName.toString() ); document.getElementById('bmlt_tools_lookup_address_borough').innerHTML = borough; if ( pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality.Thoroughfare ) { var street = trim_str ( pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality.Thoroughfare.ThoroughfareName.toString() ); document.getElementById('bmlt_tools_lookup_address_street').innerHTML = street; }; if ( pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality.PostalCode ) { var zip = trim_str ( pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality.PostalCode.PostalCodeNumber.toString() ); document.getElementById('bmlt_tools_lookup_address_zip').innerHTML = zip; }; } else { if ( pm.AddressDetails.Country.AdministrativeArea.Locality.Thoroughfare ) { var street = trim_str ( pm.AddressDetails.Country.AdministrativeArea.Locality.Thoroughfare.ThoroughfareName.toString() ); document.getElementById('bmlt_tools_lookup_address_street').innerHTML = street; }; if ( pm.AddressDetails.Country.AdministrativeArea.Locality.PostalCode ) { var zip = trim_str ( pm.AddressDetails.Country.AdministrativeArea.Locality.PostalCode.PostalCodeNumber.toString() ); document.getElementById('bmlt_tools_lookup_address_zip').innerHTML = zip; }; }; }; }; } else { alert ( 'ERROR: This placemark cannot be displayed!' ); }; }; function GeocodeAddress() { GetGeoAddress ( trim_str ( document.getElementById('bmlt_tools_address_string').innerHTML ) ); }; function ReverseLookup() { if ( document.getElementById('bmlt_tools_address_lat').value || document.getElementById('bmlt_tools_address_long').value ) { GetGeoAddress ( new GLatLng ( parseFloat ( document.getElementById('bmlt_tools_address_lat').value ), parseFloat ( document.getElementById('bmlt_tools_address_long').value ) ) ); } else { alert ( 'ERROR: You need to enter a longitude and latitude!' ); } }; function TransferValue ( in_from, in_to ) { if ( document.getElementById(in_to) && document.getElementById(in_from) ) { var str_val = trim_str ( document.getElementById(in_from).innerHTML ); if ( str_val && str_val != '&nbsp;' ) { document.getElementById(in_to).value = str_val; } else { document.getElementById(in_to).value = ''; }; UpdateAddressString(); document.getElementById(in_to).focus(); }; };  if ( g_show_long_lat_info && g_show_map_checkbox ) { var g_map = null; var g_marker_set = null; var g_marker_response = null; var g_map_center = new GLatLng ( 37, -96 ); var g_map_zoom = 4; var g_yellowIcon = new GIcon(G_DEFAULT_ICON); g_yellowIcon.image = "http://maps.google.com/intl/en_us/mapfiles/marker_yellow.png"; var g_greyIcon = new GIcon(G_DEFAULT_ICON); g_greyIcon.image = "http://maps.google.com/intl/en_us/mapfiles/marker_grey.png"; function ToggleMapMode ( ) { document.getElementById('bmlt_tools_map_div').style.display = (document.getElementById('bmlt_tools_map_div').style.display == 'none') ? 'block' : 'none'; if ( document.getElementById('bmlt_tools_map_div').style.display == 'block' ) { SetUpMap(); } RestoreFocus(); }; function SetUpMap ( in_map_center ) { if ( g_show_long_lat_info && g_show_map_checkbox && (document.getElementById('bmlt_tools_map_div').style.display == 'block') ) { if ( !g_map ) { g_map = new GMap2(document.getElementById("bmlt_tools_map_div"), {draggableCursor: "crosshair"}); if ( g_map ) { g_map.addControl(new GLargeMapControl()); g_map.addControl(new GScaleControl()); g_map.addControl(new GMapTypeControl()); GEvent.addListener( g_map, "moveend", MoveEnd ); GEvent.addListener( g_map, "click", MapClicked ); }; }; if ( g_map ) { zoom = g_map_zoom; if ( in_map_center ) { g_map_center = in_map_center; }; g_map.setCenter(g_map_center, g_map_zoom); SetMapResponseMarker(); SetMapEntryMarker(); }; }; }; function SetMapEntryMarker ( ) { if ( g_marker_set ) { if ( g_map ) { g_map.removeOverlay ( g_marker_set ); }; g_marker_set = null; }; if ( g_map ) { var longitude = parseFloat ( document.getElementById('bmlt_tools_address_long').value ); var latitude = parseFloat ( document.getElementById('bmlt_tools_address_lat').value ); if ( longitude || latitude ) { var point = new GLatLng ( latitude, longitude ); g_marker_set = new GMarker(point, {draggable: true, title: "Drag to set the longitude and latitude to a New Location.", icon: g_yellowIcon}); GEvent.addListener( g_marker_set, "dragend", DragEndEntry ); g_map.addOverlay ( g_marker_set ); g_map.panTo ( point ); }; }; }; function SetMapResponseMarker ( ) { if ( g_marker_response ) { if ( g_map ) { g_map.removeOverlay ( g_marker_response ); }; g_marker_response = null; }; if ( g_map ) { var longitude = parseFloat ( document.getElementById('bmlt_tools_lookup_address_long').innerHTML ); var latitude = parseFloat ( document.getElementById('bmlt_tools_lookup_address_lat').innerHTML ); if ( longitude || latitude ) { var point = new GLatLng ( latitude, longitude ); g_marker_response = new GMarker(point, {clickable: false, draggable: false, title: "This is the location of the current placemark.", icon: g_greyIcon}); g_map.addOverlay ( g_marker_response ); g_map.panTo ( point ); }; }; }; function DragEndEntry ( in_point ) { document.getElementById('bmlt_tools_address_long').value = (Math.round(in_point.lng()*10000000000)/10000000000).toString(); document.getElementById('bmlt_tools_address_lat').value = (Math.round(in_point.lat()*10000000000)/10000000000).toString(); document.getElementById('bmlt_tools_address_lat').focus(); SetMapEntryMarker(); }; function MapClicked ( in_overlay, in_point, in_overlay_point ) { DragEndEntry ( in_point ); }; function MoveEnd ( ) { if ( g_map ) { g_map_zoom = g_map.getZoom(); g_map_center = null; g_map_center = g_map.getCenter(); }; }; };  if ( g_show_debug_checkbox ) { function ToggleDebugMode ( ) { document.getElementById('bmlt_tools_dump_pre').style.display = (document.getElementById('bmlt_tools_dump_pre').style.display == 'none') ? 'block' : 'none'; RestoreFocus(); }; function TraverseJSONTree( ) { var json_string = ''; var indent = 0; function js_traverse( in_object ) { var tabs = ''; var type = typeof in_object; if (type == "object") { indent++; for ( var c = 1; c < indent; c++ ) { tabs += "&middot;&middot; "; }; for (var key in in_object) { a_rec_str = ''; var a_rec = false; if ( (json_string && (indent < 2)) || ((indent == 2) && key.match ( /[0-9]+/ )) ) { json_string += "\n"; }; if ( json_string ) { json_string += "\n"; if ( ((indent == 2) && key.match ( /[0-9]+/ )) && (g_pm_index_max > 1) ) { a_rec = true; a_rec_str = '<a href="javascript:g_pm_index='+(parseInt(key) + 1).toString()+';DisplayPlacemark()" title="Go to Placemark '+(parseInt(key) + 1).toString()+' of '+ g_pm_index_max.toString() +'">'; }; }; json_string += (a_rec ? a_rec_str :'' ) + tabs + trim_str ( key.toString() ) + ":" + (a_rec ? '</a>' :'' ) + " "; js_traverse(in_object[key]); }; indent--; } else { json_string += trim_str ( in_object.toString() ); }; return json_string; }; return js_traverse ( geocode_response ); }; function SetBlankDebugData () { document.getElementById('bmlt_tools_dump_pre').innerHTML = '<span class="no_data_span">NO DATA</span>'; }; }; /* ]]&gt; */</script> <div id="bmlt_tools_main_container"> <noscript><h1 style="text-align:center;color:red">THIS WILL NOT WORK, BECAUSE YOU DO NOT HAVE JAVASCRIPT ENABLED.</h1></noscript> <div id="bmlt_tools_address_source_container" style="display:none"> <h1>Enter Address</h1> <form action="#" method="get" id="bmlt_tools_address_source_form" onsubmit="FormSubmitted();return false"> <div id="bmlt_tools_form_contents"> <div class="one_line_form" id="bmlt_tools_address_string_line"> <div class="label">Address:</div> <div id="bmlt_tools_address_string"></div> <div class="clear_both"></div> </div> <div class="one_line_form"> <label for="bmlt_tools_address_street">Street Address:</label> <input type="text" id="bmlt_tools_address_street" value="" onchange="UpdateAddressString()" onkeyup="UpdateAddressString()" onfocus="g_focused_element=this" /> <div class="clear_both"></div> </div> <div class="one_line_form"> <label for="bmlt_tools_address_other">Other Address:</label> <input type="text" id="bmlt_tools_address_other" value="" onchange="UpdateAddressString()" onkeyup="UpdateAddressString()" onfocus="g_focused_element=this" /> <div class="clear_both"></div> </div> <div class="one_line_form"> <label for="bmlt_tools_address_borough">Borough/Ku:</label> <input type="text" id="bmlt_tools_address_borough" value="" onchange="UpdateAddressString()" onkeyup="UpdateAddressString()" onfocus="g_focused_element=this" /> <div class="clear_both"></div> </div> <div class="one_line_form"> <label for="bmlt_tools_address_town">Town:</label> <input type="text" id="bmlt_tools_address_town" value="" onchange="UpdateAddressString()" onkeyup="UpdateAddressString()" onfocus="g_focused_element=this" /> <div class="clear_both"></div> </div> <div class="one_line_form"> <label for="bmlt_tools_address_county">County/Shire:</label> <input type="text" id="bmlt_tools_address_county" value="" onchange="UpdateAddressString()" onkeyup="UpdateAddressString()" onfocus="g_focused_element=this" /> <div class="clear_both"></div> </div> <div class="one_line_form"> <label for="bmlt_tools_address_state">State/Province:</label> <input type="text" id="bmlt_tools_address_state" value="" onchange="UpdateAddressString()" onkeyup="UpdateAddressString()" onfocus="g_focused_element=this" /> <div class="clear_both"></div> </div> <div class="one_line_form"> <label for="bmlt_tools_address_zip">Zip/Postal Code:</label> <input type="text" id="bmlt_tools_address_zip" value="" onchange="UpdateAddressString()" onkeyup="UpdateAddressString()" onfocus="g_focused_element=this" /> <div class="clear_both"></div> </div> <div class="one_line_form"> <label for="bmlt_tools_address_nation">Nation:</label> <input type="text" id="bmlt_tools_address_nation" value="" onchange="UpdateAddressString()" onkeyup="UpdateAddressString()" onfocus="g_focused_element=this" /> <div class="clear_both"></div> </div> <div class="one_line_form" id="bmlt_tools_address_submit_line"><input type="button" id="bmlt_tools_address_submit" value="Address Lookup" title="Find address information for this data." onclick="GeocodeAddress()" /></div> <div id="bmlt_tools_address_long_lat" style="display:none"> <label for="bmlt_tools_address_long">Longitude:</label> <input type="text" id="bmlt_tools_address_long" value="" onchange="if(g_show_map_checkbox)SetMapEntryMarker()" onkeyup="if(g_show_map_checkbox)SetMapEntryMarker()" onfocus="g_focused_element=this" /> <label for="bmlt_tools_address_lat">Latitude:</label> <input type="text" id="bmlt_tools_address_lat" value="" onchange="if(g_show_map_checkbox)SetMapEntryMarker()" onkeyup="if(g_show_map_checkbox)SetMapEntryMarker()" onfocus="g_focused_element=this" /> <div id="bmlt_tools_address_reverse_submit_line"><div id="bmlt_tools_where_am_i" style="display:none"><input type="button" value="Where Am I?" onclick="WhereAmI()" title="Set the Longitude and Latitude to Your Current Location" /></div><input type="button" id="bmlt_tools_address_reverse_submit" value="Long/Lat Lookup" onclick="ReverseLookup()" title="Do a reverse lookup (find the address) for this longitude and latitude." /></div> </div> <div class="clear_both"></div> </div> </form> <div class="clear_both"></div> </div> <div id="bmlt_tools_address_transfer_container" style="display:none"> <div class="one_line_form_all"> <div><a href="javascript:TransferValue('bmlt_tools_lookup_address_street', 'bmlt_tools_address_street');TransferValue('bmlt_tools_lookup_address_borough', 'bmlt_tools_address_borough');TransferValue('bmlt_tools_lookup_address_town', 'bmlt_tools_address_town');TransferValue('bmlt_tools_lookup_address_county', 'bmlt_tools_address_county');TransferValue('bmlt_tools_lookup_address_state', 'bmlt_tools_address_state');TransferValue('bmlt_tools_lookup_address_zip', 'bmlt_tools_address_zip');TransferValue('bmlt_tools_lookup_address_nation', 'bmlt_tools_address_nation');TransferValue('bmlt_tools_lookup_address_long', 'bmlt_tools_address_long');TransferValue('bmlt_tools_lookup_address_lat', 'bmlt_tools_address_lat');if(g_show_map_checkbox)SetMapEntryMarker()" title="Transfer all of these values to the Entry fields.">&lt;&lt;</a></div> </div> <div class="padding_div"></div> <div class="one_line_form"> <div><a href="javascript:TransferValue('bmlt_tools_lookup_address_street', 'bmlt_tools_address_street')" title="Transfer the Street Address to the Entry fields.">&lt;&lt;</a></div> </div> <div class="one_line_form"> <div style="display:none"><a href="javascript:TransferValue('bmlt_tools_lookup_address_other', 'bmlt_tools_address_other')">&lt;&lt;</a></div> </div> <div class="one_line_form"> <div><a href="javascript:TransferValue('bmlt_tools_lookup_address_borough', 'bmlt_tools_address_borough')" title="Transfer the Borough to the Entry fields.">&lt;&lt;</a></div> </div> <div class="one_line_form"> <div><a href="javascript:TransferValue('bmlt_tools_lookup_address_town', 'bmlt_tools_address_town')" title="Transfer the Town/City to the Entry fields.">&lt;&lt;</a></div> </div> <div class="one_line_form"> <div><a href="javascript:TransferValue('bmlt_tools_lookup_address_county', 'bmlt_tools_address_county')" title="Transfer the County/Shire to the Entry fields.">&lt;&lt;</a></div> </div> <div class="one_line_form"> <div><a href="javascript:TransferValue('bmlt_tools_lookup_address_state', 'bmlt_tools_address_state')" title="Transfer the State/Province to the Entry fields.">&lt;&lt;</a></div> </div> <div class="one_line_form"> <div><a href="javascript:TransferValue('bmlt_tools_lookup_address_zip', 'bmlt_tools_address_zip')" title="Transfer the Zip/Postal Code to the Entry fields.">&lt;&lt;</a></div> </div> <div class="one_line_form"> <div><a href="javascript:TransferValue('bmlt_tools_lookup_address_nation', 'bmlt_tools_address_nation')" title="Transfer the Nation to the Entry fields.">&lt;&lt;</a></div> </div> <div class="one_line_form" id="bmlt_tools_transfer_long_lat" style="display:none"> <div class="padding_div_2"></div> <div><a href="javascript:TransferValue('bmlt_tools_lookup_address_long', 'bmlt_tools_address_long');TransferValue('bmlt_tools_lookup_address_lat', 'bmlt_tools_address_lat');if(g_show_map_checkbox)SetMapEntryMarker()" title="Transfer the Longitude and Latitude to the Entry fields.">&lt;&lt;</a></div> </div> </div> <div id="bmlt_tools_address_lookup_container" style="display:none"> <h1>Lookup Result</h1> <div id="bmlt_tools_lookup_contents"> <div id="bmlt_tools_accuracy_display" style="display: none"> <div id="bmlt_tools_accuracy_label">Accuracy:</div> <div id="bmlt_tools_padding_div_scale"> <div id="bmlt_tools_acc_min">Less</div> <div id="bmlt_tools_accuracy_gradient"></div> <div id="bmlt_tools_acc_max">More</div> </div> <div class="one_line_form"> <div class="label">Street Address:</div> <div id="bmlt_tools_lookup_address_street">&nbsp;</div> <div class="clear_both"></div> </div> </div> <div class="one_line_form">&nbsp;</div> <div class="one_line_form"> <div class="label">Borough/Ku:</div> <div id="bmlt_tools_lookup_address_borough">&nbsp;</div> <div class="clear_both"></div> </div> <div class="one_line_form"> <div class="label">Town:</div> <div id="bmlt_tools_lookup_address_town">&nbsp;</div> <div class="clear_both"></div> </div> <div class="one_line_form"> <div class="label">County/Shire:</div> <div id="bmlt_tools_lookup_address_county">&nbsp;</div> <div class="clear_both"></div> </div> <div class="one_line_form"> <div class="label">State/Province:</div> <div id="bmlt_tools_lookup_address_state">&nbsp;</div> <div class="clear_both"></div> </div> <div class="one_line_form"> <div class="label">Zip/Postal Code:</div> <div id="bmlt_tools_lookup_address_zip">&nbsp;</div> <div class="clear_both"></div> </div> <div class="one_line_form"> <div class="label">Nation:</div> <div id="bmlt_tools_lookup_address_nation">&nbsp;</div> <div class="clear_both"></div> </div> <div class="padding_div_2"></div> <div class="one_line_form" id="bmlt_tools_lookup_long_lat_line" style="display:none"> <div class="label">Longitude:</div> <div id="bmlt_tools_lookup_address_long">&nbsp;</div> <div class="label">Latitude:</div> <div id="bmlt_tools_lookup_address_lat">&nbsp;</div> <div class="clear_both"></div> </div> <div class="one_line_form" id="bmlt_tools_goo_go" style="display:none"><a href="" id="bmlt_tools_goo_go_a" title="Look at this location in Google Maps.">Go To Google Maps</a></div> <div id="bmlt_tools_placemark_rotator_controls" style="display:none"> <div id="bmlt_tools_placemark_count_decrement">&nbsp;</div> <div id="bmlt_tools_placemark_count_increment">&nbsp;</div> <div id="bmlt_tools_placemark_count">&nbsp;</div> <div class="clear_both"></div> </div> </div> <div class="clear_both"></div> </div> <div id="bmlt_tools_map_display" style="display:none"> <form action="#" onsubmit="return false"> <div class="one_line_form"> <input type="checkbox" id="bmlt_tools_map_checkbox" onchange="ToggleMapMode()" title="Show the Interactive Map." /> <label id="bmlt_tools_map_check_label" for="bmlt_tools_map_checkbox" title="Show the Interactive Map.">Show Map</label> </div> </form> <div id="bmlt_tools_map_div" style="display:none"></div> </div> <div id="bmlt_tools_debug_display" style="display:none"> <form action="#" onsubmit="return false"> <div class="one_line_form"> <input type="checkbox" id="bmlt_tools_debug_checkbox" onchange="ToggleDebugMode()" title="Show the raw data return from the Google Maps lookup." /> <label id="bmlt_tools_debug_check_label" for="bmlt_tools_debug_checkbox" title="Show the raw data return from the Google Maps lookup.">Show Raw Google Maps Response</label> </div> </form> <pre id="bmlt_tools_dump_pre" style="display:none"></pre> </div> </div> <script type="text/javascript">/* <![CDATA[ */ GeocodeInitializeOnLoad(); /* ]]&gt; */</script>
]]></content:encoded>
			<wfw:commentRss>http://magshare.org/2010/02/04/test-of-the-gelocator-plugin-in-a-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
