February 03, 2005

Software Updates

There's been a number of updates, bug fixes, and small tweaks recently. Mostly applicable to more advanced usage of worldKit. All is now available in the worldkit.swf from the download page.


Javascript


worldKit can now speak to Javascript. Clicks on annotations, or clicks in Input Mode, can trigger Javascript functions. The lat/lon, and if applicable url, are passed through. This can be used for tight integration with your web applications.


Documentation is available here. Examples will be up on the site soon.


Input Mode


Adding annotations within worldKit now behaves differently. Previously, you would hold down the "i" key, while clicking on the map. Now, pressing and releasing the "i" key toggles between "View Mode" and "Input Mode".


New is a config.xml option, <inputonly>. If set to "true", then the map will always be in Input Mode. Additionally, annotations will always be visible. Essentially, worldKit operates as a georefernced image map.


More information in the documentation.


Crossing 180/-180


Previously, worldKit maps were restricted from crossing the line of longitude at 180 East, or -180 West. That has now been corrected .. the bounding box, defined by <east> and <west> (and <north> and <south>) is free to cross this line. If the east and west are equal, then it is assumed the map crosses the line of longitude.


Described in the the documentation. The Capitals Example now demonstrates this.


swflayer id


If you're using swflayer's, there's now an "id" attribute required (rather than "categorization"). The documentation has more.

Posted by Mikel at February 3, 2005 03:51 PM