Hey guys,

Here is another update on the development of Maps [0], and which requirements 
for WF usage it does not meet yet. Maps is currently at version 0.4.2, and I'm 
working on 0.5.

Since my last report [1], which was in late October, I finished the following 
to-do's:

* Make is able to display maps without any markers.
This functionality was released in version 0.4.

* Add an OSM optimized OL service.
This service was added in 0.4, and supports display_map and display_point. 
Support for semantic result formats and form inputs will be added to Semantic 
Maps in 0.5, although that might not be relevant here.

* Add static map support.
I've just done this for the OSM service with display_map, and checked it into 
SVN. It seems to be working as it should to me. I've stayed relatively close to 
the SlippyMap code for this, and simply copied a lot of the code. I'm planning 
on further refining some things, and possibly adding support for display_point 
for 0.5.

* Add strict parameter validation.

Maps is now able to validate each parameter more sticky, and can give error 
feedback. The error feedback can be configured via an 'errorLevel' setting that 
accepts 4 values, enabling you to not show any errors, only a warning if there 
are any errors, a list of all errors, or a list of all errors and no map. I 
also rewrote parameter handling in Maps to make it completely modular, and 
decided to split the code into a separate extension, since it has nothing Maps 
specific in it anyway. This extension is called Validator [2] and is now 
required for Maps to function. Both this extension and the strict parameter 
validation code of Maps are on SVN, but not released yet. That will happen when 
Maps 0.5 is released.

Together with the tod-o's there where already finished when I did my previous 
report, these are everything that was mentioned that needed to change to Maps 
to make it suitable for WF usage. There are probably some more points that will 
require attention. So can someone involved with the mapping effort that knows 
the requirements make some time to review Maps with me, so I know what else 
needs to be done?

I also welcome any suggestions you might have.

[0] http://www.mediawiki.org/wiki/Extension:Maps
[1] http://lists.wikimedia.org/pipermail/maps-l/2009-October/000315.html
[2]http://www.mediawiki.org/wiki/Extension:Validator


Cheers

--

Jeroen De Dauw 

* Forum: code.bn2vs.com
* Blog: blog.bn2vs.com

* Skype: rts.bn.vs
--

Don't panic. Don't be evil.70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 
65!


      
_______________________________________________
Maps-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/maps-l

Reply via email to