Git Product home page Git Product logo

Comments (3)

tomwayson avatar tomwayson commented on May 29, 2024

I'm not aware of any configuration that you can set on the map or the pop up that would make it responsive to changes in the screen size

@alaframboise may know of a better way, but you could basically code this yourself by listening for changes to the size of the map or it's container and then calling the popup's resize method.

HTH

from angular-esri-map.

alaframboise avatar alaframboise commented on May 29, 2024

The popup will try to reposition itself automatically https://developers.arcgis.com/javascript/jsapi/popup-amd.html#popup1 but if that's not the behavior you are after take a look at the code in https://github.com/Esri/bootstrap-map-js.

from angular-esri-map.

tomwayson avatar tomwayson commented on May 29, 2024

FYI - the docs app for this repo does not include the bootstap-map-js CSS even though it's using Bootstrap. I was going to add it, but didn't see any issues w/ the (very simple) examples, so I decided to leave it out for clarity's sake.

Your own app may need at least the CSS from https://github.com/Esri/bootstrap-map-js if you are using Bootstrap.

Closing as this is not related to the code in this repo.

from angular-esri-map.

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.