increase pointRadius size
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11824 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1,7 +1,13 @@
|
|||||||
function init() {
|
function init() {
|
||||||
|
|
||||||
// create a vector layer for drawing
|
// 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
|
// OpenLayers' EditingToolbar internally creates a Navigation control, we
|
||||||
// want a TouchNavigation control here so we create our own editing toolbar
|
// 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"
|
// activate the first control to render the "navigation icon"
|
||||||
// as active
|
// as active
|
||||||
toolbar.controls[0].activate();
|
toolbar.controls[0].activate();
|
||||||
};
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user