From eb4bf5d438d660119328ce53f3e6a2b2faaab8ea Mon Sep 17 00:00:00 2001 From: Peter Robins Date: Mon, 5 Mar 2012 13:13:51 +0000 Subject: [PATCH] OpenLayers.ImgPath should be API property --- lib/OpenLayers/Util.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 5ca8c35201..880e3435ab 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -560,8 +560,10 @@ OpenLayers.Util.urlAppend = function(url, paramStr) { }; /** - * Property: ImgPath - * {String} Default is ''. + * APIProperty: ImgPath + * {String} Set this to the path where control images are stored. + * If set to '' OpenLayers will use script location + "img/" + * Default is ''. */ OpenLayers.ImgPath = '';