Subject: [Tools-discuss] Automatic location for IETF meetings: venue map

From: "Thomson, Martin" <[email-masked]>
Date: Thu, 20 Nov 2008 17:29:13 -0600

Tools team,

The GEOPRIV WG has run an experiment during the last few meetings where we have operated a location information server (LIS) on the IETF network.  We've had good support from the NOC.  Bill, Noah, Hans, Rob and a few others have all been very helpful.

One thing that we've been working on this meeting is the geolocation API that will be defined by the W3C as a standard.  A beta version of this API is available here, including a set of "IETF" extensions:

  <https://addons.mozilla.org/en-US/firefox/addon/9593>

One really nice thing about this extension is that it can automatically provide a civic location that includes the room.

Using this information, I've made a few minor additions that will enhance the venue map page at <http://tools.ietf.org/rooms>.  If you are able, adding support for this extension would be appreciated.

Regards,
Martin

---CODE ALERT---
// new functions
	function located(loc)
	{
           if (loc.civic && loc.civic.ROOM)
           {
              // map from "TerminalRoom" to "terminal-room" as necessary.
              setarrow(loc.civic.ROOM.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase());
           }
	}
// this needs to be called onload
	function automaticarrow()
	{
	    if (navigator.geolocation)
	    {
	        navigator.geolocation.getCurrentPosition(located);
	    }
	}

// I also found that the check in checkParams didn't work well:
//-    if (room != "") setarrow(room);
//+    if (room && room != "") setarrow(room);
------------------------------------------------------------------------------------------------
This message is for the designated recipient only and may
contain privileged, proprietary, or otherwise private information.  
If you have received it in error, please notify the sender
immediately and delete the original.  Any unauthorized use of
this email is prohibited.
------------------------------------------------------------------------------------------------
[mf2]
_______________________________________________
Tools-discuss mailing list
[email-masked]
https://www.ietf.org/mailman/listinfo/tools-discuss