-
Recent Posts
Recent Comments
Categories
Tags
apache beer beernutz bigbrother boston bottle buttons cartography computers conditioning css database deadlock draft economics firebug freedom gmail hexadecimal homebrewing html java javascript maps mbta mustache outlook performance podcasts politics productivity programming quality random recipe sea stackoverflow subway surveillance taxes testing tricks tv web wedding-
Category Archives: gmaps.kaeding.name
Speed Improvements for Mapping Site
Here is just a quick update on my site that allows you to map multiple locations on Google Maps. If you use the site regularly, you may have noticed that it has been slow, and sometimes unresponsive, lately. (Also, you may have noticed some very wonky behavior today, but that was because I was tweaking [...]
Better support for international addresses
From reading the logs for my mapping site, I noticed that the application was blowing for many addresses outside the United States. I did a little more research, and discovered that the bug was in handling some special characters, like "ø, á, í, é, È, ž, ù, ý".
As a test case, I created a map of points from around the world that I found in the logs. Each of these queries caused an error.
Improvements to Google Mapping Site
This past weekend, I made several improvements to my site that allows you to map multiple locations on Google Maps. These improvements were mostly suggested by users of the site, and there were a couple that I came up with after seeing the usage patterns of the site, and trying to improve performance.
Read on to see the listing of new/improved features:
Plot multiple locations on Google Maps
gmaps.kaeding.name :: Plot multiple locations on Google Maps
I just made a few improvements to the mapping script. For example, now it will center at the average of the points, instead of on the first point. There is still a lot of room for improvement, though, so I hope to put some more time into it in the next few days/weeks. Also, notice the URL has changed.
I just made a few improvements to the mapping script. For example, now it will center at the average of the points, instead of on the first point. There is still a lot of room for improvement, though, so I hope to put some more time into it in the next few days/weeks. Also, notice the URL has changed.
Technorati tags: google maps
Labels: cartography, computers
Plot multiple locations on Google Maps
Plot multiple locations on Google Maps
Hey all
A few days ago, I had two appointments downtown in the financial district on the same day. I wasn't sure how close they were to each other, so I got the idea to look them up on google maps. However, I soon found out that you cannot plot more than one location on google maps at a time. (Well, that's not completely true, since you could plot one point, and then get directions from there to the other place. But then what would you do if you needed to plot three places?)
So, I decided to see if I could hack something together using the Google Maps API. The result is at: http://gmaps.kaeding.name
It isn't pretty, nor is it perfect, but hey, it works (at least when the addresses are accepted by the geocoder).
You enter as many addresses as you want, one per line. Then the script sends those strings through geocoder.us to get latitude and longitude. (The Google Maps API only allows you to plot points using latitude and longitude, not by supplying an address). Sometimes, geocoder.us will come back with more than one possible address for a single string. So, the next page asks you to confirm the addresses. The final page displays the map.
Mapping site should be faster now