Skip to content

Commit

Permalink
Merge pull request #210 from Esri/als-v0.8-js-4.8
Browse files Browse the repository at this point in the history
view.when fixes
  • Loading branch information
alaframboise committed Jul 19, 2018
2 parents d0433d6 + 1116d72 commit b94d494
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ This example references Bootstrap, Calcite Maps, ArcGIS and the appropriate JS f
});
// Popup and panel sync
mapView.then(function(){
mapView.when(function(){
CalciteMapArcGISSupport.setPopupPanelSync(mapView);
});
Expand Down
6 changes: 3 additions & 3 deletions samples/arcgis-4.x/arcgis-4.x-2d-3d-jQuery.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
}
});

app.mapView.then(function() {
app.mapView.when(function() {
app.mapView.popup.dockOptions.position = "top-right";
});

Expand All @@ -210,13 +210,13 @@
}
});

app.sceneView.then(function() {
app.sceneView.when(function() {
app.sceneView.popup.dockOptions.position = "top-right";
});

app.activeView = app.sceneView;

app.activeView.then(function() {
app.activeView.when(function() {
app.initialExtent = app.activeView.extent;
});

Expand Down

0 comments on commit b94d494

Please sign in to comment.