Archive for December, 2008

Using OpenGL to interact with 2D maps, part 3: putting it together

Sunday, December 21st, 2008

In the previous post, I went over the basics of setting up OpenGL for drawing our maps. We got our 2D map rendered onto 3D space, and we were able to interact with it. The last step is to manage the interaction between the 3D space and the 2D map so that we [...]

labels yo

Saturday, December 6th, 2008

in the quest to make cumberland contain the bare minimum of map making functionality, I added labelling. They can be set to angles, positioned relative to a point, and also outlined to make them stick out. The point in polygons is the centroid. Polylines are a little trickier. Ideally, you'd want [...]

VirtualEarth support

Thursday, December 4th, 2008

I added support for generating tiles for VirtualEarth to cumberland. I did it because it's super trivial after you have support for Google Maps. The tiles are the same except they have different min and max zoom levels and you need to save them with their quad key for VE. Luckily, MSDN [...]

Cumberland + KML = pure fire

Monday, December 1st, 2008

Keyhole Markup Language (KML) is the xml format used in Google Earth for overlaying data. I've implemented functionality for creating kml from a cumberland map and a command line tool (map2kml.exe) to use it. It creates a kml document with folders for each layer using the various styles, including thematic mapping, and adds [...]