This module doesn't seem to do much of anything on the demonstration page. I'm confused as to what it does and just get a bunch of, "alas, image unable to load" errors.

Comments

jpulles’s picture

Assigned: Unassigned » jpulles

The problem you mention must be corrected for the mappingwidgets component. The fact that e.g. the zoomin button did not work was worked-around by changing the target map from 'default' to 'map1' (the id of the simplemap widget). This is also why the overview map doesn't operate yet.
But problems still remain. To mention some:
a) something at page load the page shows php errors:
warning: main(MappingWidgetManager.php): failed to open stream: No such file or directory in /home/groups/m/ma/mappingwidgets/libs/mappingwidgets/MappingWidgets.php on line 16.

Fatal error: main(): Failed opening required 'MappingWidgetManager.php' (include_path='') in /home/groups/m/ma/mappingwidgets/libs/mappingwidgets/MappingWidgets.php on line 16

Why this happens I don't know. Reloading the page once more returns the expected page!?

b) the javascript console shows 'browser is not defined'. This is because part of the mappingwidgets code is generated because of the overview widget. What is desirable is that the overview block is hidden when the node doesn't contain a carto filter block. Suggestions are welcome.

jpulles’s picture

The problem you mention must be corrected for the mappingwidgets component. The fact that e.g. the zoomin button did not work was worked-around by changing the target map from 'default' to 'map1' (the id of the simplemap widget). This is also why the overview map doesn't operate yet.
But problems still remain. To mention some:
a) sometimes at page load the page shows the following php errors:
warning: main(MappingWidgetManager.php): failed to open stream: No such file or directory in /home/groups/m/ma/mappingwidgets/libs/mappingwidgets/MappingWidgets.php on line 16.

Fatal error: main(): Failed opening required 'MappingWidgetManager.php' (include_path='') in /home/groups/m/ma/mappingwidgets/libs/mappingwidgets/MappingWidgets.php on line 16

Why this happens I don't know. Reloading the page once more returns the expected page!?

b) the javascript console shows 'browser is not defined'. This is because part of the mappingwidgets code is generated because of the overview widget. What is desirable is that the overview block is hidden when the node doesn't contain a carto filter block. Suggestions are welcome.

jpulles’s picture

Status: Active » Closed (fixed)

All is fixed now. The example pages are working correctly for some time now. The pages on the sourceforge sites are now loading, and the overview block is hidden when not needed.