Grabbing a Region Map

Following on from yesterday's post about the map thing I made, I thought someone might like to see the code for grabbing the map. It's nothing clever and, after I threw it together, I realised that the gridsurvey.com API docs had an example anyway, but I'll post it here anyway in case anyone finds it useful.

It's written such that all you need do is drop the script in a prim (ideally a cube, I guess) and it'll "just work". Note that it places the map on face 0 of the prim -- this is handy for creating a one-prim framed map of your home.

You can find the code on gist, and embedded below:

No comments:

Post a Comment