Giter VIP home page Giter VIP logo

libremap-webui's People

Contributors

nicoechaniz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libremap-webui's Issues

revamp plugins handling

The plugin handling via grunt+browserify is unclean atm -> perhaps the alias or exernali options in grunt-browserify come to our rescue?

Locations

  • zoom to my location
  • search locality (nominatim)
  • search by community

show node details

After clicking on a node details should be displayed. At the moment only json data can be displayed.

link quality attribute

It's good to have a normalized 0 < quality < 1 to represent this in the link line on the map, but seeing the actual quality value is usually very important.

I propose to add a quality_attr member to the base data structure for links.

For example:

   {
       "type": "wifi",
       "alias_local": "64:70:02:3D:85:0B",
       "alias_remote": "64:70:02:EE:02:E8",
       "quality": 0.25,
       "quality_attr": "signal",
       "attributes": {
           "local_mac": "64:70:02:3D:85:0B",
           "station_mac": "64:70:02:EE:02:E8",
           "channel": 165,
           "signal": -81,
           "interface": "wlan1"
       }
   }

This would let us show the actual quality value (in this case the signal value) in the link popup.

TypeError: i is undefined (vendor.js/leaflet)

When loading the map, the web console shows: "TypeError: i is undefined" (vendor.js:191).

So I tried replacing:

  • libremap-webui/vendor/leaflet/leaflet.js, with
  • libremap-webui/vendor/leaflet/leaflet-src.js

And I got: "TypeError: obj is undefined" (vendor.js:247)

Being non-minimsed, the code was:

stamp: (function () {
    var lastId = 0,
        key = '_leaflet_id';
    return function (obj) {
        obj[key] = obj[key] || ++lastId; // line 247
        return obj[key];
    };
}()),

I wonder if it's related to this: Leaflet/Leaflet#1282

global/easier access to config

I've seen a configModel passed around, sometimes the whole thing, sometimes a portion.

For example, in fine.js:
this.routersView = new RoutersView({
proxyView: this.proxyView,
collection: this.routersColl,
configModel: this.configModel.get('routers'),
});

I just pushed a change to routers.js to replace a hardcoded api_url for the api_url value from the config, but in order to access this data I've had to add:
var appconfig = require('../../../../../config.json');

I guess with all the "magic tools" :) we are using, it should be easy to simplify this to something like:

var appconfig =require('libremapconfig')

so we don't need to have all those ../../ in there.

add community route

(was in wrong repo: libremap/libremap-agent-openwrt/issues/6)

something like:

libremap.net/#community/quintanalibre.org.ar

so a community can use that link to show "their" map (using the existing filter).

The view should also auto-zoom to the area containing the community nodes.

increese max zoom level

I would like to have deeper zoom levels to see the position of nodes on the building level.

Clustered view is broken

Libremap shows clustered routers, even if i disable clustering. Sometimes it's switching between clustered/not clustered withing seconds..

bildschirmfoto-5

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.