Git Product home page Git Product logo

Comments (5)

alaframboise avatar alaframboise commented on July 26, 2024

You can't with default calcite-maps. The panels and menus are designed to collapse/expand 1:1. But you have two choices: 1) add the widget to the map in one of the corners; or2) create a standard bootstrap panel set and control it yourself. You can always use pure bootstrap components in this framework.

from calcite-maps.

SyedJamshedAli avatar SyedJamshedAli commented on July 26, 2024

Thanks for guidance.
Is there any chance that this functionality can be provided in the theme by default.
As this is the most effective use case of map related applications.
Opening multiple panels are some thing that required in almost all application

from calcite-maps.

acrateau avatar acrateau commented on July 26, 2024

This is the dilemma of any mapping application on a mobile device. How much is enough, how much is too much...?

If you need a wider range of support for user interface such as multiple widgets active at once, you might want to check out the Web AppBuilder Developer Edition.

If you're developing for mobile, Calcite Maps is an excellent (and relatively tiny) library for focused apps utilizing responsive design. If you want to build on the Calcite framework and add your own custom widgets that reside in a container outside of the default panels, it can be done.

from calcite-maps.

SyedJamshedAli avatar SyedJamshedAli commented on July 26, 2024

@acrateau thanks for your guidance
I really appreciate if you can help me out that how we can add our own custom multiple widgets which can be open multiple.
Also , is there any way that we can make the panels/widgets drag and dropable.

Please help.

from calcite-maps.

acrateau avatar acrateau commented on July 26, 2024

@SyedJamshedAli
For reference, I found this thread helpful: #126

Some options for multiple custom widgets..

  1. group custom widgets in one panel using bootstrap components like Tabs - checkout the SettingsPanel in the Style Explorer example app for how this can be done: https://github.com/Esri/calcite-maps/blob/master/samples/style-explorer/index.html

  2. tweak the library so you can manage a set of right-panels and left-panels simultaneously. I haven't tried this, so let me know when you figure it out! extra credit if you figure out how to render multiple panels along with the map in smaller screen sizes.

  3. roll your own custom containers for your widgets. I was able to add an attribute table at the bottom of my app by adding dGrid tables inside a bootstrap tab component. You'll need to setup and manage much of the event handling, and how the container is rendered

from calcite-maps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.