Map Overlay via API
Hello again, readers of the Antelle blog
I realised that I would need location information, specifically coordinates to plot data that I wanted to display on the map. I believed for a few minutes that I would be able to find correlating coordinate information with the data that I wanted to display. That belief was short lived, and I began the hunt for coordinate information by country, and data to display by country separately, originally I wanted to display the gross domestic product by country, and on click of a marker, an information box opened. This would eventually mean that I would need to integrate two API’s together, before implementing them into the Google Maps API.
I needed to match the country name in the coordinate API, to the country name in the display data API, this was probably the most frustrating part, as countries are not named the same in every data set, leading to mismatch, and undefined data on the map. I understand that ISO codes could have made my life easier, however it was rare to find a data set with correlating ISO codes that presented the information that I wanted to present.
I eventually found the data sets I needed, and was able to compare country names with reasonable success, and finally implement markers with information windows on click of the corresponding marker, there were problems along the way, including having every country become Zimbabwe, but I managed to work through them and get a reasonable result, I went on to extend the original idea by having extra data sets implemented, allowing for information such as human development index and water sanitation to be displayed.
Our first exam is to be taken on the 8th of December, as I mentioned above, this will be our first step to becoming Microsoft Certified Solutions Developers. We have been studying for the exam rigorously, Pluralsight being my first port of call for learning content. There is a vast wealth of resources online, however, finding the good ones, and ensuring that you are studying the correct, and relevant material isn't always easy. It’s also difficult to know how well prepared for the exam you are, as a practice exam costs an extortionate amount to take, although, a free second attempt is granted if you fail your first attempt at the real thing. This exam will be a good indicator of how far we've come over the past 3 months, we have come a long way, but it will be interesting to see how close we come to passing this exam first try.