diff --git a/README.rst b/README.rst index 7880db3..10d8b5e 100644 --- a/README.rst +++ b/README.rst @@ -3,6 +3,13 @@ Introduction collective.geo.openlayers enables `Openlayers`_ machinery into Plone. +This package registers two javascript files into Plone javascript registry: + +1. OpenLayers.js +2. proj4js-compressed.js + + + .. image:: https://secure.travis-ci.org/collective/collective.geo.openlayers.png :target: http://travis-ci.org/collective/collective.geo.openlayers @@ -31,7 +38,6 @@ by having a buildout configuration such as: :: Install this product from the Plone control panel. - Integration example =================== @@ -50,9 +56,6 @@ other `openlayers examples`_):: portal_state context/@@plone_portal_state; portal_url portal_state/portal_url" /> - - diff --git a/collective/geo/openlayers/README.txt b/collective/geo/openlayers/README.txt index 7e1dade..c71e467 100644 --- a/collective/geo/openlayers/README.txt +++ b/collective/geo/openlayers/README.txt @@ -15,10 +15,6 @@ the @@openlayers view must contain a div wrapper for a map >>> '
>> '' in browser.contents - True - Now, check to make sure the CSS files from OpenLayers are accessible. This causes issues if for the client if they can't be found (eg when the directories aren't registered) diff --git a/collective/geo/openlayers/profiles/default/jsregistry.xml b/collective/geo/openlayers/profiles/default/jsregistry.xml new file mode 100644 index 0000000..bcae394 --- /dev/null +++ b/collective/geo/openlayers/profiles/default/jsregistry.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/collective/geo/openlayers/tests/openlayers_test.pt b/collective/geo/openlayers/tests/openlayers_test.pt index a404d8a..3f0740f 100644 --- a/collective/geo/openlayers/tests/openlayers_test.pt +++ b/collective/geo/openlayers/tests/openlayers_test.pt @@ -17,8 +17,6 @@ -