<?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>nateirwin.net &#187; Design</title>
	<atom:link href="http://www.nateirwin.net/topics/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nateirwin.net</link>
	<description>spatially and technically enabled</description>
	<lastBuildDate>Thu, 18 Mar 2010 15:20:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ArcGIS JavaScript Extension for Microsoft Virtual Earth Bug: Cannot Dynamically Draw Polyline or Polygon in Internet Explorer 7</title>
		<link>http://www.nateirwin.net/2009/01/22/arcgis-javascript-extension-for-microsoft-virtual-earth-bug-cannot-dynamically-draw-polyline-or-polygon-in-internet-explorer-7/</link>
		<comments>http://www.nateirwin.net/2009/01/22/arcgis-javascript-extension-for-microsoft-virtual-earth-bug-cannot-dynamically-draw-polyline-or-polygon-in-internet-explorer-7/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 22:45:45 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Web Mapping]]></category>
		<category><![CDATA[Virtual Earth]]></category>

		<guid isPermaLink="false">http://www.nateirwin.net/2009/01/22/arcgis-javascript-extension-for-microsoft-virtual-earth-bug-cannot-dynamically-draw-polyline-or-polygon-in-internet-explorer-7/</guid>
		<description><![CDATA[UPDATE: This was a bug. I reported it to ESRI, and they have fixed it in the latest release (1.3) of Virtual Earth JavaScript extension. Funny, I&#8217;m not sure if anyone is even using the extension, as there was a major lack of response about this issue in the ESRI forums. Are you using it? [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nateirwin.net%2F2009%2F01%2F22%2Farcgis-javascript-extension-for-microsoft-virtual-earth-bug-cannot-dynamically-draw-polyline-or-polygon-in-internet-explorer-7%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nateirwin.net%2F2009%2F01%2F22%2Farcgis-javascript-extension-for-microsoft-virtual-earth-bug-cannot-dynamically-draw-polyline-or-polygon-in-internet-explorer-7%2F&amp;source=nateirwin&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>UPDATE: This was a bug. I reported it to ESRI, and they have fixed it in the latest release (1.3) of Virtual Earth JavaScript extension. Funny, I&#8217;m not sure if anyone is even using the extension, as there was a major lack of response about this issue in the ESRI forums. Are you using it? If so, let me know in the comments. I&#8217;m curious.</p>
<p>UPDATE2: Here&#8217;s a link to the release post on the ArcGIS Server Development blog: <a href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2009/03/02/ArcGIS-JavaScript-API-version-1.3-released.aspx" target="_blank">http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2009/03/02/ArcGIS-JavaScript-API-version-1.3-released.aspx</a>. And the ONLY change for the 1.3 release of the Virtual Earth connector: &#8220;Version 1.3 of the ArcGIS JavaScript Extension for Microsoft Virtual Earth fixes a display issue when drawing VE shapes on top of ArcGIS Server map layers in Internet Explorer.&#8221;</p>
<p>I’ve been wrestling with this one for a little while now, but only today found the time to put together a simple demonstration of what I think is a bug in the ArcGIS JavaScript Extension for Microsoft Virtual Earth. Take the following code:</p>
<pre class="javascript" name="code">        var latLngs = [];
        var map = new VEMap('map');

        function onClick(e) {
            map.DeleteAllShapes();
            latLngs.push(map.PixelToLatLong(new VEPixel(e.mapX, e.mapY)));

            if (latLngs.length &gt; 1) {
                // I'm not hiding the marker, so you'll be able to see that the line does indeed get drawn.
                // It just doesn't display.
                map.AddShape(new VEShape(VEShapeType.Polyline, latLngs));
            }
        }
        function ready() {
            map.AttachEvent('onclick', onClick);
            map.LoadMap(new VELatLong(35, -85), 5, VEMapStyle.Aerial);

            // Adding in an ArcGIS Server REST service, as this triggers the bug.
            // If you comment this out, the polyline will draw correctly in IE 7.
            var agisve_services = new ESRI.ArcGIS.VE.ArcGISLayerFactory();
            agisve_services.CreateLayer('http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Portland/ESRI_LandBase_WebMercator/MapServer', 'Portland', function(tileSourceSpec, resourceInfo) {
                tileSourceSpec.Opacity = 0.50;
                map.AddTileLayer(tileSourceSpec, true);
            });

            // This just shows you that a polyline will draw correctly in IE7.
            map.AddShape(new VEShape(VEShapeType.Polyline, [
                new VELatLong(36, -80),
                new VELatLong(36, -95)
            ]));
        }</pre>
<p>Pretty simple stuff. If you look at this in any browser other than IE7, things will work correctly. You’ll see that a polyline is drawn on page load. Then, when you click around on the map, a new polyline is drawn using the locations that you clicked on. If you look at this in IE7, however, you will notice that the initial polyline is drawn on page load, but the “dynamically drawn” polyline is not displayed when you click around on the map.</p>
<p>Now, onto the most important part: If you comment out the code that adds an ArcGIS Server REST service to the map, the line draws correctly in IE7. Try it. Comment out:</p>
<pre class="javascript" name="code">var agisve_services = new ESRI.ArcGIS.VE.ArcGISLayerFactory();
            agisve_services.CreateLayer('http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Portland/ESRI_LandBase_WebMercator/MapServer', 'NPSUnits', function(tileSourceSpec, resourceInfo) {
                tileSourceSpec.Opacity = 0.50;
                map.AddTileLayer(tileSourceSpec, true);
            });</pre>
<p>I’m not sure what’s going on here, but I’m determined to find out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nateirwin.net/2009/01/22/arcgis-javascript-extension-for-microsoft-virtual-earth-bug-cannot-dynamically-draw-polyline-or-polygon-in-internet-explorer-7/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Helpful CSS Resources</title>
		<link>http://www.nateirwin.net/2006/07/30/helpful-css-resources/</link>
		<comments>http://www.nateirwin.net/2006/07/30/helpful-css-resources/#comments</comments>
		<pubDate>Sun, 30 Jul 2006 03:05:58 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">/post/Helpful-CSS-Resources.aspx</guid>
		<description><![CDATA[I have been learning Cascading Style Sheets (CSS) as I go while working on this site. They have saved me much time and grief; I can&#8217;t believe that I ever did any design without them! While learning, I have run into a number of helpful resources scattered across the net. Here they are, in no [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nateirwin.net%2F2006%2F07%2F30%2Fhelpful-css-resources%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nateirwin.net%2F2006%2F07%2F30%2Fhelpful-css-resources%2F&amp;source=nateirwin&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I have been learning <a href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" target="_blank">Cascading Style Sheets</a> (CSS) as I go while working on this site. They have saved me much time and grief; I can&#8217;t believe that I ever did any design without them! While learning, I have run into a number of helpful resources scattered across the net. Here they are, in no order whatsoever:</p>
<ul>
<li><a href="http://www.ilovejackdaniels.com/cheat-sheets/css-cheat-sheet/" target="_blank">CSS Cheat Sheet</a> &#8211; available as a downloadable .png or .pdf, this cheatsheet lists all selectors, pseudo-selectors, properties, etc. and presents just about everything you&#8217;ll need to know on a single page.</li>
<li><a href="http://www.glish.com/css/" target="_blank">CSS Layout Techniques</a> &#8211; A great compilation of tips and tricks for creating cross-browser supported CSS style sheets.</li>
<li><a href="http://www.intensivstation.ch/en/templates/" target="_blank">CSS Templates</a> &#8211; Free-to-use CSS templates that can be tweaked and extended to meet your needs.</li>
<li><a href="http://www.csszengarden.com" target="_blank">CSS Zen Garden</a> &#8211; Beautiful examples of CSS in action with viewable style sheets and HTML.</li>
<li><a href="http://www.dezwozhere.com/links.html" target="_blank">Holy CSS Zeldman!</a> &#8211; An authoritative collection of links to CSS resources.</li>
<li><a href="http://www.huddletogether.com/2006/02/16/practical-web-development-tips/" target="_blank">Squeaky Clean CSS</a> &#8211; a blog entry written by Lokesh Dhaka that offers some great pointers on making sure that your CSS stays organized and useable.</li>
<li><a href="http://bluerobot.com/web/layouts/default.asp" target="_blank">The Layout Reservoir</a> &#8211; More simple and extendable CSS templates.</li>
</ul>
<p>Overall, I have learned that it is best to modify CSS templates a step at a time. After each modification, I view the results of the change and further tweak my modifications, if necessary. This allows me to learn step-by-step and see the direct consequences of the changes that I make to the CSS.</p>
<p>Learning from someone else&#8217;s style sheets also helps, as you almost always pick up at least one new design tip in the process.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nateirwin.net/2006/07/30/helpful-css-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lightbox Javascripts</title>
		<link>http://www.nateirwin.net/2006/07/30/lightbox-javascripts/</link>
		<comments>http://www.nateirwin.net/2006/07/30/lightbox-javascripts/#comments</comments>
		<pubDate>Sun, 30 Jul 2006 02:04:49 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">/post/Lightbox-Javascripts.aspx</guid>
		<description><![CDATA[I finally got some pictures up on the site! Follow the link on the left to see pictures that were taken of me and my race partner at the Richmond Muddy Buddy race. The pictures use a set of javascripts called Lightbox JS, which were written by Lokesh Dhakar. The scripts are licensed under the [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nateirwin.net%2F2006%2F07%2F30%2Flightbox-javascripts%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nateirwin.net%2F2006%2F07%2F30%2Flightbox-javascripts%2F&amp;source=nateirwin&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<div><span style="font-family: Verdana; font-size: x-small;"><img src="http://www.nateirwin.net/images/lightbox_example.png" alt="" /></span></div>
<p><span style="font-family: Verdana; font-size: x-small;"><br />
I finally got some pictures up on the site! Follow the link on the left to see pictures that were taken of me and my race partner at the Richmond <a href="http://www.muddybuddy.com" target="_blank">Muddy Buddy</a> race. The pictures use a set of javascripts called <a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank">Lightbox JS</a>, which were written by <a href="http://www.huddletogether.com/" target="_blank">Lokesh Dhakar</a>. The scripts are licensed under the <a href="http://creativecommons.org/licenses/by/2.5/" target="_blank">Creative Commons Attribution 2.5</a> license, and can, therefore, be used in everything from personal projects to commercial projects.</span></p>
<p><span style="font-family: Verdana; font-size: x-small;">I really love the simplicity and elegance of Lightbox JS 2, but am looking to extend the functionality. There are several different &#8220;updates&#8221; to the scripts that I am currently looking into that add new features to the tool. Here are a couple of the alternatives that I found interesting:</span></p>
<ul> <span style="font-family: Verdana; font-size: x-small;"></p>
<li><a href="http://serennz.cool.ne.jp/sb/sp/lightbox/" target="_blank">Lightbox Plus</a> &#8211; adds the resize image functionality to Lightbox JS 2, which automatically resizes the image to a smaller size if it doesn&#8217;t fit on the viewer&#8217;s screen.</li>
<li><a href="http://codylindley.com/Javascript/257/thickbox-one-box-to-rule-them-all" target="_blank">Thickbox</a> &#8211; a lighter alternative to Lightbox JS 2, Thickbox also adds the ability to display more content types in the display box.</li>
<p></span></ul>
<p><span style="font-size: xx-small;"><em>Listening to <a href="http://www.amazon.com/exec/obidos/ASIN/B000BCE90O/nateirwinnet-20" target="_blank"> Wilco &#8211; Kicking Television</a>&#8230;</em><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nateirwin.net/2006/07/30/lightbox-javascripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Initial CSS Complete!</title>
		<link>http://www.nateirwin.net/2006/07/10/initial-css-complete/</link>
		<comments>http://www.nateirwin.net/2006/07/10/initial-css-complete/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 02:21:53 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">/post/Initial-CSS-Complete!.aspx</guid>
		<description><![CDATA[So, I have pieced together the initial (and I say initial because I know that there will be changes coming) CSS layout for my site. I used this dasBlog theme, essence, which was designed by Jelle Druyts, to put together the non-blog sections of the site. It isn&#8217;t perfect, but it gets the job done [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nateirwin.net%2F2006%2F07%2F10%2Finitial-css-complete%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nateirwin.net%2F2006%2F07%2F10%2Finitial-css-complete%2F&amp;source=nateirwin&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<div><img src="http://www.nateirwin.net/images/css.png" alt="" /></div>
<p><span style="color: #000000;"><br />
So, I have pieced together the initial (and I say initial because I know that there will be changes coming) <a href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets">CSS</a> layout for my site. I used this dasBlog theme, essence, which was designed by <a href="http://jelle.druyts.net">Jelle Druyts</a>, to put together the non-blog sections of the site. It isn&#8217;t perfect, but it gets the job done for now.</span></p>
<p><span style="color: #000000;">Although there is still a major lack in content, the site is now functional. My next big project is putting together the photo album. Once this is done, I am going to connect <a href="http://del.icio.us/nathaniel.irwin">my del.icio.us links</a> to the site and then work on a membership/roles system, and &#8211; if I&#8217;m feeling crazy enough &#8211; maybe even try to connect it into the login system that comes integrated with this dasBlog application.</span></p>
<p><span style="color: #000000;">Maybe after all of this is done I&#8217;ll be able to sit back and write some blogs. Until then!<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nateirwin.net/2006/07/10/initial-css-complete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.274 seconds -->
