Skip to content

Commit

Permalink
Remove 'control information' code
Browse files Browse the repository at this point in the history
  • Loading branch information
PON authored and PON committed Sep 4, 2023
1 parent 766d1e7 commit d5c134a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion mapentity/static/mapentity/mapentity.forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ MapEntity.GeometryField = L.GeometryField.extend({
},

_addExtraControls: function (map) {
/*
/*
* Allow to load files locally.
*/
var pointToLayer = function (feature, latlng) {
Expand Down
1 change: 0 additions & 1 deletion mapentity/static/mapentity/mapentity.map.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ $(window).on('entity:map:list', function (e, data) {

map.doubleClickZoom.disable();

map.addControl(new L.Control.Information());
map.addControl(new L.Control.ResetView(bounds));

/*
Expand Down

0 comments on commit d5c134a

Please sign in to comment.