Comments (4)
You need to activate the tab pane. This should do it for you.
http://jsbin.com/tajupoq/edit?html,output
from calcite-maps.
Thanks for the quick reply.
And just to clarify for future users.... in addition to changing the "app.activeView = app.mapView", you need look for the following HTML code, and switch the classes "fade in active" between the 3D and 2D tab divs. And you'll also want to switch the class="active" in the 'Nav' list item element.
<div class="calcite-map calcite-map-absolute">
<div id="tabContainer" class="tab-content">
<div id="2dTab" class="tab-pane fade in active" role="tabpanel">
<div id="mapViewDiv"></div>
</div>
<div id="3dTab" class="tab-pane fade" role="tabpanel">
<div id="sceneViewDiv"></div>
</div>
</div>
</div>
from calcite-maps.
Yes, you basically need to update the app state: nav menus, panes and view variables. I'll update the title of this if that's ok and close it out. Thanks.
from calcite-maps.
Closing.
from calcite-maps.
Related Issues (20)
- map.View is not a function HOT 2
- Missing icon when using ArcGIS API 4.8 HOT 1
- How we can open multiple widgets? HOT 5
- dojo domConstruct.create errors
- How to listen to events of calcite-maps HOT 2
- Search dropdown not working HOT 2
- Hooking into search for custom popup HOT 3
- Cannot install bower dependancy
- how to use it with webpack HOT 3
- Load bootstrap.js not work
- Bootstrap Does not work when https://js.arcgis.com script is added
- Can we still use JavaScript to open/close widgets?
- Any progress for Bootstrap 4 (leaflet / jquery)? HOT 3
- Security vulnerabilities with minimatch, grunt-cli using npm audit
- style explorer link error
- Status of Calcite Maps? HOT 10
- to implement editor widget?
- deprecated? HOT 1
- Live Map not running
- Search widget in calcite panel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calcite-maps.