OpenLayers OpenLayers

Changeset 5902

Show
Ignore:
Timestamp:
01/26/08 09:41:41 (10 months ago)
Author:
crschmidt
Message:

Add support for parsing and serializing OpenStreetMap data. Includes
tests, examples, modification to proxy.cgi, etc. This should allow one
to build an OpenLayers based OpenStreetMap editor with some effort, and
makes it trivially simple to drop OpenStreetMap data from the API into
your OpenLayers application. r=ahocevar,elemoine (Closes #1271)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/proxy.cgi

    r4371 r5902  
    1818allowedHosts = ['www.openlayers.org', 'openlayers.org',  
    1919                'labs.metacarta.com', 'world.freemap.in',  
    20                 'prototype.openmnnd.org', 'geo.openplans.org'] 
     20                'prototype.openmnnd.org', 'geo.openplans.org', 
     21                'www.openstreetmap.org'] 
    2122 
    2223method = os.environ["REQUEST_METHOD"] 
  • trunk/openlayers/lib/OpenLayers.js

    r5870 r5902  
    181181            "OpenLayers/Format/WFS.js", 
    182182            "OpenLayers/Format/WKT.js", 
     183            "OpenLayers/Format/OSM.js", 
    183184            "OpenLayers/Format/SLD.js", 
    184185            "OpenLayers/Format/Text.js", 
  • trunk/openlayers/tests/list-tests.html

    r5870 r5902  
    2626    <li>Format/test_GML.html</li> 
    2727    <li>Format/test_JSON.html</li> 
     28    <li>Format/test_OSM.html</li> 
    2829    <li>Format/test_KML.html</li> 
    2930    <li>Format/test_SLD.html</li>