From b00989cbd84454ad79fc8c526330d1ae5e7ff1ee Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 11 Mar 2009 13:48:40 +0000 Subject: [PATCH] Adding tooltips. git-svn-id: http://svn.openlayers.org/trunk/openlayers@9008 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/snap-split.html | 6 +++--- examples/snapping.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/snap-split.html b/examples/snap-split.html index e1826369cc..ca3e6579ad 100644 --- a/examples/snap-split.html +++ b/examples/snap-split.html @@ -130,13 +130,13 @@ }); draw = new OpenLayers.Control.DrawFeature( vectors, OpenLayers.Handler.Path, - {displayClass: "olControlDrawFeaturePoint"} + {displayClass: "olControlDrawFeaturePoint", title: "Draw Features"} ); modify = new OpenLayers.Control.ModifyFeature( - vectors, {displayClass: "olControlModifyFeature"} + vectors, {displayClass: "olControlModifyFeature", title: "Modify Features"} ); panel.addControls([ - new OpenLayers.Control.Navigation(), + new OpenLayers.Control.Navigation({title: "Navigate"}), draw, modify ]); map.addControl(panel); diff --git a/examples/snapping.html b/examples/snapping.html index 3f9d6a0587..0e64f29f3c 100644 --- a/examples/snapping.html +++ b/examples/snapping.html @@ -76,13 +76,13 @@ }); draw = new OpenLayers.Control.DrawFeature( poly, OpenLayers.Handler.Polygon, - {displayClass: "olControlDrawFeaturePoint"} + {displayClass: "olControlDrawFeaturePoint", title: "Draw Features"} ); modify = new OpenLayers.Control.ModifyFeature( - poly, {displayClass: "olControlModifyFeature"} + poly, {displayClass: "olControlModifyFeature", title: "Modify Features"} ); panel.addControls([ - new OpenLayers.Control.Navigation(), + new OpenLayers.Control.Navigation({title: "Navigate"}), draw, modify ]); map.addControl(panel);