From 80ce6e6583711b4d5c6e2ccb3f256a5dd9b9b8cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Junod?= Date: Thu, 31 Mar 2011 07:59:42 +0000 Subject: [PATCH] increase pointRadius size git-svn-id: http://svn.openlayers.org/trunk/openlayers@11824 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/mobile-drawing.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/mobile-drawing.js b/examples/mobile-drawing.js index dd1bcc7f1c..c5f23e5cf5 100644 --- a/examples/mobile-drawing.js +++ b/examples/mobile-drawing.js @@ -1,7 +1,13 @@ function init() { // create a vector layer for drawing - var vector = new OpenLayers.Layer.Vector(); + var vector = new OpenLayers.Layer.Vector('Vector Layer', { + styleMap: new OpenLayers.StyleMap({ + temporary: OpenLayers.Util.applyDefaults({ + pointRadius: 16 + }, OpenLayers.Feature.Vector.style.temporary) + }) + }); // OpenLayers' EditingToolbar internally creates a Navigation control, we // want a TouchNavigation control here so we create our own editing toolbar @@ -52,4 +58,4 @@ function init() { // activate the first control to render the "navigation icon" // as active toolbar.controls[0].activate(); -}; +}