Skip to content

Commit

Permalink
Remove OL2 locatelayer
Browse files Browse the repository at this point in the history
  • Loading branch information
nboisteault committed Dec 21, 2023
1 parent bfb7cc9 commit f4bbc58
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions assets/src/legacy/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,8 @@ window.lizMap = function() {
$('div.locate-layer select').hide();
$('span.custom-combobox').show();
}

}


/**
* PRIVATE function: updateContentSize
* update the content size
Expand Down Expand Up @@ -1604,16 +1602,6 @@ window.lizMap = function() {
locateContent.push(html);
}
$('#locate .menu-content').html(locateContent.join('<hr/>'));
map.addLayer(new OpenLayers.Layer.Vector('locatelayer',{
styleMap: new OpenLayers.StyleMap({
pointRadius: 6,
fill: false,
stroke: true,
strokeWidth: 3,
strokeColor: 'yellow',
strokeOpacity: 0.8
})
}));

var featureTypes = getVectorLayerFeatureTypes();
if (featureTypes.length == 0 ){
Expand Down

0 comments on commit f4bbc58

Please sign in to comment.