Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
g1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
76
Issues
76
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cto
g1
Commits
426b850a
Commit
426b850a
authored
Apr 03, 2019
by
Tejesh
🖖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove check
parent
3e102eab
Pipeline
#81837
passed with stage
in 3 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/mapviewer.js
src/mapviewer.js
+1
-2
No files found.
src/mapviewer.js
View file @
426b850a
...
...
@@ -569,8 +569,7 @@ MapViewer.prototype.zoomHandler = function (layerName, minZoom, maxZoom) {
*/
MapViewer
.
prototype
.
fitToLayer
=
function
(
layerName
,
options
=
this
.
options
.
fitbounds
)
{
var
layer
=
typeof
(
layerName
)
==
'
string
'
?
this
.
gLayers
[
layerName
]
:
layerName
if
(
layer
.
getBounds
().
isValid
())
this
.
map
.
fitBounds
(
layer
.
getBounds
(),
options
)
this
.
map
.
fitBounds
(
layer
.
getBounds
(),
options
)
}
function
dataOrURL
(
conf
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment