by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Eric McNiece
    @emcniece
    ng-if="true" still produces error
    will check into leafletData
    nmccready
    @nmccready
    I'm pretty sure this can be reproduced in a small example. I can try to mock it, but it's better coming from you.
    Eric McNiece
    @emcniece
    haha it's cool - solved
    your tip about disposing leafletData was a great lead - it led me down the whole multi-map multi-directive road
    nmccready
    @nmccready
    If there is a bug
    Please file an issue. Or a pr
    Eric McNiece
    @emcniece
    for sure! This one is just architecture problems
    nmccready
    @nmccready
    Sweet good work
    Yeah leafletData needs to be redesigned or dropped.
    Eric McNiece
    @emcniece
    turns out the directives aren't being destroyed, so one possibility was to use ui-router's onExit to call leafletData.unresolveMap(), but then we would lose all of the data bound to the map. I opted to add IDs to all of the maps, now it's working like a charm
    thank you so much for the pointers!!
    nmccready
    @nmccready
    Yeah the ids help lot
    Definitely required for multiple maps
    Eric McNiece
    @emcniece
    took me a while to realize that I was fighting singletons
    nmccready
    @nmccready
    Gotcha cool glad u Dug in and figured it out, nothing rocket science in there ;)
    Eric McNiece
    @emcniece
    :beers:
    nmccready
    @nmccready
    Cheers
    Parker Jones
    @parallaxisjones
    hi guys, I'm trying to use ui-leaflet and I'm running into this issue (I just posted it) : angular-ui/ui-leaflet#245
    wondering if anyone has any idea of what's happening
    Parker Jones
    @parallaxisjones
    I've tried adding and removing a few dependencies... I removed my own reference to angular and leaflet and the app still loads, and so does the message. When I remove the require statements for angular-ui and angular-simple-logger I get the warning again
    seems like angular-leaflet is trying to load angular multiple times. currently I don't have the time to experiment. will have to later on
    "When I remove the require statements for angular-ui and angular-simple-logger I get the warning again" --> I meant to say the warning disappears when I remove those librarr require statements from my index.js file
    Alex Omelnitckii
    @omelniz
    Sorry guys, I didn't find way how apply styles using the ui-leaflet api. May be you can help me? Thanks.
    Pete
    @petermanger
    Hi all, is it appropriate to ask Leaflet Beta 2 questions here?? If so - I seem to have lost all the leafletDirectiveGeoJson.<events> . The leafletDirectiveMap.<events> all seem to work fine. Anything obvious anyone can hint?
    Pete
    @petermanger
    Fixed! We had forcibly been stopping propagation and I forgot. This article helped a lot http://stackoverflow.com/questions/35466139/map-on-click-fires-when-geojson-is-clicked-on-leaflet-1-0
    this is pretty neat, too: https://github.com/Leaflet/Leafdoc
    William Comartin
    @wcomartin
    hey guys, having an issue with click location when the browser is zoomed, is anyone else having this problem and is there a solution for it?
    William Comartin
    @wcomartin
    figured out its when i use CSS zooming
    Slavrix
    @Slavrix
    has anyone been able to get this to work correctly with an ionic app?
    im getting the #207 issue also.
    anyone have a workaround ?

    Under "what’s next”:

    Tutorials and examples to cover more advanced features of the library, its popular plugins, and integrations with libraries like D3 and React/Angular.

    Jeremy Jackson
    @jjcad
    I'm trying to change the +/- in the zoom control to instead read "Zoom In"/"Zoom Out". I though I would be able to change it by doing something like:
    ```
    controls:  {
      zoomInText: "Zoom In",
      zoomOutText: "Zoom Out"
    }
    But that doesn't seem to be working...
    Does anyone know how to do this?
    rvsf
    @rvsf
    ~Hey, wazz up
    rvsf
    @rvsf
    Im trying to use leaflet in angular and having some dificulties to start it up, and im not used to use bower so any tips how to set up this ui-leaflet?
    Joseph Bisaillon
    @josephbisaillon
    @rvsf This is probably pretty late,
    but you should just have to require leaflet and ui-leaflet in bower. Then you can inject it into your angular code like usual.
    so just add them to your bower dependencies
    Andrii Ulianenko
    @gooduling
    Hi guys! Do you know any pluggin which can "snap cursor to grid" in Leaflet? I mean that uneven movement when cursor just "jump" wrom point to point with some constant interval in X or Y direction
    If no, do you have any idea how to do it just with javascript?
    Nate
    @nrbrigmon
    @rsvp i had a bunch of problems too. i git cloned this guy: https://github.com/haoliangyu/angular2-leaflet-starter and then had to be sure to import the JS/CSS in the index.html
    ramadhani
    @cyber41

    This is the expected markup which is created dynamically

    <textarea data-ng-model="cv.experience[content.title]"></textarea>
    <textarea data-ng-model="cv.experience[content.title]"></textarea>

    This is the sample of the JSON I want to achieve

    experience:{
    
        content:[
            {
                header:String,
                title:String,
                start_date:Date,
                end_date:Date,
                location:String,
                description:String
            },
            {
                header:String,
                title:String,
                start_date:Date,
                end_date:Date,
                location:String,
                description:String
            },
            ....
        ]
    }

    How can i archive above structure using ** ng-model **

    Khalid Almuraee
    @Kalmuraee
    Hi
    Mikael Korpela
    @simison
    Little advertising goes long way:
    angular-ui/ui-leaflet#323
    Maintainers & contributors for ui-leaflet wanted - currently unmaintained