Icon of Trevor

Trevor F. Smith: Exterior

Subtitle: A public record of my projects and related works.
Keywords: Bit Henge Favorites Fingernail Clippings Ogoglio Transmutable
Streams: trevor.smith.name twitter reader linkmonger flickr
Search:

« 87.9FM: Pirate Cat Radio | Main | 16 minutes! »

Maps on Canvas

Lately, I can only get it together for brief free-time hacks. So, this evening I decided to spend an hour munging some of the TIGER/Line data for San Francisco into a ECMAScript data structure and then with the left over time I wrote a simple renderer for the new Canvas tag.

Unless you're into this sort of thing, I don't suggest you follow the link below. It looks just like the screen shot in this post, and you'll wait a while for the 1.4MB of map data to load. Then (if you're running a new Safari or a Deer Park alpha) you'll see a straight line drawing of San Francisco.

Sfcanvasscreenshot_1

Trevor's Canvas Map

It is interesting to see how different canvas implementations hold up to this sort of abuse. If we were to build a real map renderer on top of this technology, we would need to be smarter about how we go about switching between LODs and mixing with raster data.

Comments

None too shabby.
I suppose you've already seen the civicspace tile engine thing today.

I did see the civicspace announcement. Though it's a bit rough, I like their general approach.

"If we were to build a real map renderer on top of this technology, we would need to be smarter"- or just go back to ink on cotton, technophile ;), love, A Cartophile

The comments to this entry are closed.