Posts tagged with 'map'


Confession time: I love old maps

For fun, and also because they look good framed, hanging on a wall, I collect old maps. And, I’ll admit it, I just love looking at the intricate detail and marveling at the cartographer’s ability to create these figures with, what is after all, some very primitive tools. Sometimes you can get some sense of the history of a region by looking at its maps. […]

READ MORE

Southwark in 1766

One of the kinds of art I really enjoy is art that shows off the draughtsmanship of cartographers, especially from the early 1900s or earlier. We have a small collection of framed old maps from places we most closely associate ourselves with: London, Derbyshire, Yorkshire, Normandy, Colorado. Road maps, railway maps, topographic maps. I find them utterly fascinating, tracing in my mind’s eye how the countryside has changed or the urban expanses filled out, squinting to read the names. […]

READ MORE

JavaScript for C# developers: callbacks (part III)

In the previous two installments (one, two) we explored the use of callbacks through creating a mapp function for arrays (so called because the latest JavaScripts have a native map method already), and through creating a mapAsync function where the work is done asynchronously rather than serially. The reason for this was so that we could avoid triggering the browser’s “script running a long time” warning and, also, more importantly, provide the user with a responsive UI. […]

READ MORE

JavaScript for C# developers: callbacks (part II)

Last time, we wrote a map method for arrays (which I had to call mapp, so that we didn’t clash with the native version present in many browsers). To use the map method, you have to provide a callback function that would be called for every element in the array. […]

READ MORE

JavaScript for C# developers: callbacks (part I)

As I’ve said pretty much from the very start of this series: functions are objects. You can pass them around in variables, pass them into functions as parameters, return them from functions, the whole nine yards. When you pass a function into another where it will be called, it’s generally known as a callback. […]

READ MORE