Skip to content

Commit

Permalink
fix minor spelling typo, update OpenLayers doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
fredj committed Aug 14, 2011
1 parent 51eb7b6 commit bf0bd7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/chapters/geoext_client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ And finally, a default value is selected:
method.setValue("SPD");
This part only use ExtJS component: no OpenLayers or GeoExt code here.
This part only uses ExtJS component: no OpenLayers or GeoExt code here.

-------------------------------------------------------------------------------------------------------------
Select the start and final destination
Expand All @@ -98,9 +98,9 @@ move points (`OpenLayers.Control.DragFeatures
<http://openlayers.org/dev/examples/drag-feature.html>`_ will be perfect for
this job). As their name suggests these controls comes from OpenLayers.

These two controls will need a place to draw and manipluate the points; we
These two controls will need a place to draw and manipulate the points; we
will also need an `OpenLayers.Layer.Vector
<http://dev.openlayers.org/releases/OpenLayers-2.9/doc/apidocs/files/OpenLayers/Layer/Vector-js.html>`_
<http://dev.openlayers.org/releases/OpenLayers-2.10/doc/apidocs/files/OpenLayers/Layer/Vector-js.html>`_
layer. In OpenLayers, a vector layer in a place where features (a geometry and
attributes) can be drawn programmatically (in contrast, the OSM layer is a
raster layer).
Expand Down
2 changes: 1 addition & 1 deletion web/DrawPoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DrawPoints = OpenLayers.Class(OpenLayers.Control.DrawFeature, {
autoActivate: true,

initialize: function(layer, options) {
// only point can be drawn
// only points can be drawn
var handler = OpenLayers.Handler.Point;
OpenLayers.Control.DrawFeature.prototype.initialize.apply(
this, [layer, handler, options]
Expand Down

0 comments on commit bf0bd7a

Please sign in to comment.