First of all thanks for creating this excellent module. Since I downloading openspace module I have added code so other modules I have can implement it
foreach (module_implements('openspace_block') as $module) {
$function1 = $module .'_openspace_block';
$function1($settings, 'load');
}
Then I have added
CCK fields for northing and easting
Helpers (node) module for values in northing and easting cck fields
And have created new module which implements openspace module and which uses values
function openspacesettings_openspace_block(&$settings, $op) {
switch($op) {
case 'load':
$settings["openspace"]["easting"] = $node->field_easting[0][value];
$settings["openspace"]["northing"] = $node->field_northing[0][value];
}
}
At this stage I would like to ask a couple of questions.
Is the intention of the openspace module to integrate with geo module so that it uses a values in a cck field integrated with geo API?
The Geo module also mentions about that it can implement values for shape files. I would like it if openspace module could handle Boundary data from Ordnance Survey. I haven't looked at this in any detail at all, but would this need a new vector layer added to module?
Regards
Adrian
Comments
Comment #1
planet4sale commentedAdd a single boundary layer with default styling syntax. Create new variables in openspace.admin.inc
Create new cck fields to match, and add these to node in new module implementing openspace_block:
Add variables to openspace.js
To change the colour of the administrative boundary modify openspace.js following advice http://openspace.ordnancesurvey.co.uk/openspace/developerarea.html
Boudary data is available at: http://openspace.ordnancesurvey.co.uk/openspaceforum/thread.jspa?threadI...