Adding tooltips.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9008 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2009-03-11 13:48:40 +00:00
parent be06680e85
commit b00989cbd8
2 changed files with 6 additions and 6 deletions

View File

@@ -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);