Skip to content

Commit

Permalink
fix maxExtent in options, close #1136
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzhenn committed Jun 18, 2020
1 parent 3aac735 commit 1f54812
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/map/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ class Map extends Handlerable(Eventable(Renderable(Class))) {

this.setSpatialReference(opts['spatialReference'] || opts['view']);

this.setMaxExtent(opts['maxExtent']);


this._mapViewPoint = new Point(0, 0);

Expand Down

0 comments on commit 1f54812

Please sign in to comment.