Increasing point radius for easier touch selection
This commit is contained in:
@@ -5,7 +5,13 @@ function init() {
|
|||||||
styleMap: new OpenLayers.StyleMap({
|
styleMap: new OpenLayers.StyleMap({
|
||||||
temporary: OpenLayers.Util.applyDefaults({
|
temporary: OpenLayers.Util.applyDefaults({
|
||||||
pointRadius: 16
|
pointRadius: 16
|
||||||
}, OpenLayers.Feature.Vector.style.temporary)
|
}, OpenLayers.Feature.Vector.style.temporary),
|
||||||
|
'default': OpenLayers.Util.applyDefaults({
|
||||||
|
pointRadius: 16
|
||||||
|
}, OpenLayers.Feature.Vector.style['default']),
|
||||||
|
select: OpenLayers.Util.applyDefaults({
|
||||||
|
pointRadius: 16
|
||||||
|
}, OpenLayers.Feature.Vector.style.select),
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user