blogs

user warning: Unknown column 'n.teaser' in 'field list' query: SELECT n.nid, n.title, n.teaser, n.created, u.name, u.uid FROM node n INNER JOIN carto_filter_nodes c ON n.nid = c.nid INNER JOIN users u ON n.uid = u.uid WHERE n.status = 1 ORDER BY n.created DESC LIMIT 0, 15 in /home/groups/m/ma/mappingwidgets/htdocs/includes/database.mysql.inc on line 120.

Release plans

Release 0.5?

  • Support for editing map features?

Release 0.4 (next)

  • Use maps from multiple WMS'es
  • Layer control widget
  • Support for saving and restoring of web map contexts
  • ??

Release 0.3 (current)

  • Ruler uses map (world) coordinates instead of pixel coordinates
  • StaticField and ControlField can show formatted output
  • new ServerLegend widget when using PHPMapscript for the ServerMap
  • calls to server widgets (ServerMap, ServerLegend) are made 'sessionless' in the sense that they don't need session variables; this to prevent problems with different types of session when being called from e.g. the drupal carto module. A generated javascript variable contains the name of the map file in use for the client's session.

Changelog

Development version:

Version 0.3.1:

  • feature: SimpleMap widget supports multiple WMS'es
  • feature: event handling changed to get/set functions and listeners (20060317)
  • feature: DocumentElement widget added (20051223)
  • feature: Google Maps widget added (20051215)
  • feature: option to include javascript source files instead of including the code; this enables client side caching of the javascript files and reduces network traffic (20051028).

Version 0.3:

User manual of mappingwidgets

The 'MappingWidgets' project is developing a framework for making simple clients to OpenGIS web mapping servers (WMS). In order to reach a good performance, the generated mapping code (this is the mix of javascript and xhtml) is cached by the smarty framework. The standard smarty framework is extended with plugins to convert widgets in a template into necessary code.

Standard web mapping / geography functionality is: zoom in, zoom out, pan, info, overview, full zoom history (first,previous,next,last) etc.

An equally important objective is that the framework must be suitable for integrating it with a CMS or Wiki environment, such as Drupal or Mediawiki. An integration of mappingwidgets with Drupal can be found as Carto module at the Drupal site.

UMN Mapserver client demo

To change the extent, select a tool button: zoom in, zoom out, pan/move, or info. The remaining buttons are for the whole area, a previous extent, or a following extent respectively. Note that a zoom area can also be defined by dragging an area in the overview map.

The capabilities of the local mapserver can be requested by this link.

ZOOMIN_TOOLTIP
Zoom out
Drag the map to view another location
Get information on features
Make measurements
Show the full map
Return to the first extent
Return to the previous extent
Return to the next extent
Return to the last extent

How to install mappingwidgets on Debian GNU/Linux

Mappingwidgets can be installed on a Debian GNU/Linux system using the following steps.

  1. install debian packages for the demo's using UMN Mapserver and PHP/MapScript; the packages from the 'unstable' distribution contain the latest Mapserver version
    apt-get cgi-mapserver/unstable php4-mapscript/unstable
  2. copy the tar file to /usr/local/share
  3. unpack the tar file here
    tar zxvf mappingwidgets.tar.gz
  4. goto to the apache configuration directory /etc/apache2/conf.d
  5. create a symbolic link

OpenGIS web mapping client demo

This example shows an external OGC web mapping service from www2.demis.nl. Another example (with more functionality) using a local UMN MapServer is shown here.

To change the extent, select a tool button: zoom in, zoom out, pan/move, or info. The remaining buttons are for the whole area, a previous extent, or a following extent respectively. Note that a zoom area can also be defined by dragging an area in the overview map.

The capabilities of the local mapserver can be requested by this link.

Zoom in to a selected rectangle.
Zoom out
Drag the map to view another location
Get information on features
Make measurements
Show the full map
Return to the first extent
Return to the previous extent
Return to the next extent
Return to the last extent

Syndicate content