Fixed refreshing of features in VML renderers when moving renderer roots
(e.g. by deactivating the SelectFeature control). Thanks Kris Geusebroek for reporting this. r=elemoine (closes #2048) git-svn-id: http://svn.openlayers.org/trunk/openlayers@9301 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</style>
|
||||
<script src="../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript">
|
||||
var map, drawControls;
|
||||
var map, selectControl;
|
||||
OpenLayers.Feature.Vector.style['default']['strokeWidth'] = '2';
|
||||
function init(){
|
||||
map = new OpenLayers.Map('map');
|
||||
@@ -52,7 +52,7 @@
|
||||
map.addLayers([wmsLayer, vectors1, vectors2]);
|
||||
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
||||
|
||||
var selectControl = new OpenLayers.Control.SelectFeature(
|
||||
selectControl = new OpenLayers.Control.SelectFeature(
|
||||
[vectors1, vectors2],
|
||||
{
|
||||
clickout: true, toggle: false,
|
||||
|
||||
Reference in New Issue
Block a user