<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Christopher Giamarino on Medium]]></title>
        <description><![CDATA[Stories by Christopher Giamarino on Medium]]></description>
        <link>https://medium.com/@cgiamarino9?source=rss-5dec061bfad------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*K2hAX0qfDw31d1ZH.</url>
            <title>Stories by Christopher Giamarino on Medium</title>
            <link>https://medium.com/@cgiamarino9?source=rss-5dec061bfad------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 21:16:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cgiamarino9/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[#WorldMapCup Final Round Mapbox]]></title>
            <link>https://medium.com/@cgiamarino9/worldmapcup-final-round-429635a39865?source=rss-5dec061bfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/429635a39865</guid>
            <category><![CDATA[worldmapcup]]></category>
            <category><![CDATA[js]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[mapbox]]></category>
            <category><![CDATA[gis]]></category>
            <dc:creator><![CDATA[Christopher Giamarino]]></dc:creator>
            <pubDate>Thu, 19 Jul 2018 20:16:27 GMT</pubDate>
            <atom:updated>2018-07-19T20:24:56.515Z</atom:updated>
            <content:encoded><![CDATA[<p>Much of the #WorldMapCup focused around the football teams that qualified for the 2018 World Cup held in Russia, but I decided to change that up for the final round. My ancestors are of Italian, Irish, and Polish descent. Since Poland was the only one of three teams that I root for that qualified, they were the subject of my prior posts — although during Round One I used Italy’s (Gli Azzurri) colors to create my first Cartogram style. During Round Two I elevated Poland’s country boundary and stylized it with the image of the Polish flag. For Round Three, my story map chronicled Poland’s journey before (qualifying), during (failing to advance to the Group of 16), and after (returning to the Capital of Warsaw and enjoying the culture, sites, foods, drinks, and architecture of the city). So what did I do for Round Four?</p><p>Here is a general overview of what I did for the app I created:</p><p>Using Cartogram and Mapbox Studio, I created three separate map styles that were fashioned after the Italian, Polish, and Irish National Football teams. In addition, using a code snippet I utilized during #MapMadness, I extruded all 3D buildings to their unique heights using the field values for all three layers.</p><p>I then used eight (8) separate, but vital Mapbox GL JS code snippets as well as other examples from Github and Stack Overflow, editing them to fashion an interactive application and upload my unique HTML code to a website.</p><p>First, I wanted users to be able to switch between the three Cartogram styles I created so I added three buttons that when clicked would display the different styles. I had to edit the code supplied by Mapbox GL JS so that it looped through my username and then took the unique style ids and looped through those.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*VWovgxG3Ki3YcaXIn10jOg.png" /><figcaption>Head, Body, and start of Script that loops through my unique style username and ids.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-47BqjTr4jwG68BAF4T0lQ.png" /><figcaption>Fly-To Screen Capture Zoomed into Rome with 3D Buildings</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_nY96eIyuBaFY5tPv2MUyw.png" /><figcaption>Fly-To Screen Capture Zoomed into Warsaw with 3D Buildings</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fk56I4pMiTkx4kYy4NujFA.png" /><figcaption>Fly-To Screen Capture Zoomed into Rome with 3D Buildings</figcaption></figure><p>Second, in an effort to increase the interactivity and use the story map’s ‘Fly To’ feature, I created an array that loops through a set of coordinates which pinpoint and zoom into each Nation’s Capital City. This was quite a toilsome experience as I’m still relatively new to Mapbox GL JS and JS in general. Therefore, users must click from left-to-right in order for both the map to switch styles and the fly-to feature to fly to the correct capital. See the code snippet below — I created an array to loop through the coordinates based on a click from the button menu I created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*UwRC6-dUv8iFInsKqWOHiw.png" /><figcaption>Array that loops through coordinates on click of style buttons and flies into Capital Cities.</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRWStnaTYo_o%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRWStnaTYo_o&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FRWStnaTYo_o%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9ba4b92d8143ad233cfc8bd6bea670bf/href">https://medium.com/media/9ba4b92d8143ad233cfc8bd6bea670bf/href</a></iframe><p>The rest of the code snippets were included for further user-interactivity, navigation, geocoding and directions. I added a navigation toolbar (fourth code snippet), a user-location button (fifth snippet), a geocoder address search bar(sixth snippet), a fullscreen function (seventh snippet), and a traffic, driving, walking, and cycling direction box in the bottom-left of the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*KHjIIA_iykr7jiDpymkQmg.png" /><figcaption>Rest of HTML code showing Mapbox GL JS interactivity.</figcaption></figure><p>Just a few suggestions when using my app — when the user clicks to change a style, just remember that the loop is based on a left-to-right array starting with Italy then Poland and finishing with Ireland. Therefore, in order to preserve the correct team’s colors when flying-to each Nation’s capital you need to follow this order. After you have clicked the button and flown to each location, it is much easier to use the other navigational tools, specifically the user location compass button in the top right. If you are currently flying to the location, it won’t let you look up addresses or geolocate yourself. Nonetheless, I hope you enjoy fidgeting with my World Cup 2018-themed map app.</p><p>All in all, I really enjoyed ‘competing’ in the #WorldMapCup (my second Mapbox tournament). I’ve really learned a lot more HTML coding and Mapbox GL JS by participating in these competitions and through trial-and-error coding. It’s been fun. Although I was rooting for the underdog Croatia in the final, congratulations to France. Here’s to hoping one of my three teams wins it in 2022!</p><p>Oh, and I almost forgot, here is the URL to my map app:</p><p><a href="https://worldmapcup4.000webhostapp.com/worldmapcup_finalroundv2.html">https://worldmapcup4.000webhostapp.com/worldmapcup_finalroundv2.html</a></p><p><a href="https://medium.com/u/5691029a1e6a">Mapbox</a> <a href="https://medium.com/u/aa210845359e">Er<strong>i</strong>n Quinn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=429635a39865" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Map Madness 18 — Final Round]]></title>
            <link>https://medium.com/@cgiamarino9/map-madness-18-final-round-ed5d012acf0c?source=rss-5dec061bfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed5d012acf0c</guid>
            <category><![CDATA[los-angeles]]></category>
            <category><![CDATA[los-angeles-kings]]></category>
            <category><![CDATA[mapbox]]></category>
            <category><![CDATA[purple-and-gold]]></category>
            <category><![CDATA[la-kings]]></category>
            <dc:creator><![CDATA[Christopher Giamarino]]></dc:creator>
            <pubDate>Thu, 05 Apr 2018 03:46:38 GMT</pubDate>
            <atom:updated>2018-04-06T17:27:10.258Z</atom:updated>
            <content:encoded><![CDATA[<p>I am fascinated with 3d Buildings, online mapping tools like Mapbox, and the LA Kings (I have watched every game of theirs since winning the Cup in 2012). I didn’t watch the LA Kings religiously the previous years due to their rebuild period. However, I decided to create a 3D Building map with their 1967 colorways that loads from the south to give a view of their arena — Staples Center — and the rest of downtown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*DC8MDUC8w1XJCr8IaF2ITA.png" /><figcaption>Staples Center from the South— the arena for the LA Kings (as well as Lakers and Clippers)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*PqDbtFDBREzyqT8NsiZmVg.png" /><figcaption>Sourcecode — When the map is loaded, it loads with the above view (See zoom, pitch, bearing, and hash)</figcaption></figure><p>I disabled opacity, but enabled basic user interactions like drag and pan, zoom with mouse, and 3D toggle (the latter feature allows users to mess with the 3d building view and look at the shadow effects based on the coloration of the buildings).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w_JUbHOC9fCLMyzYEkMfLA.png" /><figcaption>3D building shadow and color effect from above.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*zpM4aVu-y0y3X7sK9B89WA.png" /><figcaption>Sourcecode — Shows how fill color is set up and how shadow will vary when the angle of the buildings is changed.</figcaption></figure><p>Enjoy! I used Mapbox example source codes, Google Drive, my knowledge learning HTML and JS with Leaflet tutorials, and Atom (code editor) for this project. I hope I win #mapmadness18 from <a href="https://medium.com/u/5691029a1e6a">Mapbox</a></p><p>I was able to figure out how to host the HTML, JS, CSS code to a free live webpage. Let me know if this link works: <a href="https://goo.gl/J9A81S">https://goo.gl/J9A81S</a></p><p>If anyone like this type of map, dynamic or static, and has a favorite sports team and city they would like to see mapped, let me know! I’d be happy to make these on the regular in exchange for beer/coffee/food money :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed5d012acf0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>