After the server migration, you may have noticed that the SLOpenID SL Maps API ceased working. Now that I’ve been working on another API, it’s safe to say the SLOpenID version is officially dead. Please refer to the Second Life Wiki for documentation on the new API.
We now have an LLSD version of the JSON SL Maps API. It’s pretty much the same as the JSON one, except it’s along the lines of http://services.slopenid.net/grid-map-llsd/offset2region/901/901 vs http://services.slopenid.net/grid-map-json/offset2region/901/901
I added 1:64, 1:128 and 1:256 scale levels to the SLOpenID SL Maps API. You can view the world map at these scales in the following documents:
Yes this means that you can view the world map where each region takes up a pixel. Yes I’m aware my references to “scale” are slightly off- I’m referring to the square root of the number of regions contained in each texture.
At the moment, my rather lacklusture implementation of webmap API (I’m not as good with JS as I should be) doesn’t do any checking for non-existent images, hence the alt text displayed when you zoom right out. This is a simple case of running an is_file() check before spitting out the API results, so it should be fixed soon. Once it’s fixed, I’ll update the PHP API wrapper with any fixes
Why is Marv blogging this instead of making a group notice ?
Quite simply because the group notices are too small.
Why is SLOpenID releasing an API for the SL World Map? I thought we already had one
Take a look at the source code for the mapapi.js file. It’s too complicated for it’s own good.
What SLOpenID plans do with it’s SL Maps API is along the lines of what XHTML did for HTML; SLOpenID plans seperate design from data, simplifying things a hell of a lot in the process.
Read the rest of this entry »