Code Monkey home page Code Monkey logo

cozy-map's People

Stargazers

BiTuTy avatar Roman avatar  avatar  avatar Alexander avatar Terrance Robotham avatar Frank Rousseau avatar Kevin "Ilphrin" Pellet avatar

Watchers

Alexander avatar Kevin "Ilphrin" Pellet avatar rb avatar

cozy-map's Issues

Need a configuration pages

to select import export some databases and "preferences".
In a first time i need it to focus on "homedata" /server/controllers/homedata see /server/model/homedata

Contact behaviour when server refuse request

When requesting the contact list I sometimes end up waiting undefinitively the response of contact app.
The console show that cozy returned a "401 Unauthorized" but nothing in the js logs. The "spinner" stay in screen forever.

  • Interpret a response fail from the server (and remove the spinner + error message on screen)
  • For clarity move the spinner over the contact menu (All the time I think it's all map that is stuck which is false.

update FontAwesome to 4.5

Cozy-Map rely on /fonts/fonts.css from Cozy-proxy for FontAwesome.
waiting the PR #259 to be able to use at least the version 4.4

stylesheet leaflet.css

when trying to link <link rel='stylesheet' href='../node_modules/dist/leaflet.css' /> inside index.html.
the map rendered weirdly kind of erratic.
this problem is solved when the stylesheet is pasted somewhere inside the project. as follow:
<link rel='stylesheet' href='styles/leaflet.css' />
is my link wrong or are we not allow to link the stylesheet to the node_modules directory?

“TypeError: r is undefined” when geolocalizing contact

Here's the error I get into the console when I try to see one of my contacts on the map:

process for:  158 rue de Verdun  92800 Puteaux  FRANCE  loading... map.min.js:28037:7
TypeError: r is undefined
 map.min.js:28045:35
error with conctat address!

It would be nice to catch the error and provide some user feedback ;-)

TypeError: res.body is null

with the commit 12e1081168

If you start the app it will do a POST and a GET job.

userConfig.postConfig data, (err, config) ->

userConfig.getConfig (err, res) ->

i tried to stop the POST job when the GET job return a body.length not null

userConfig.getConfig (err, res) ->

    if res.body[0] is 0
        userConfig.postConfig data, (err, config) ->

unfortunately it firebug me that res in if res.body[0] is 0 is not defined.

Actually this code work if you have already done a POST job.
But, if you start the app for the first time it will be stuck with a callback err TypeError: res.body is null.

Add support for package tracking

Hey there,

When I was at a friend's the other day and he was showing me his webmail app, I noticed a mail about an order my friend placed which was giving a tracking link for his package. So I had a thought:

If we create konnectors to retrieve locations from main transporters (UPS, DHL, Colissimo...) and import these locations into Map, we could add a real-time (well, as much as allowed by the transporter) package tracking in Cozy.

May represents a huge load of work, but adds, in my opinion, a very interesting feature.

Allow new lines in contacts addresses

Hi,

some of my contacts in my Cozy Contacts app have an address than spans on several lines.

Example:

25 bis rue des machins
35000 Rennes

When I import my contacts into cozy-map, the address becomes 25 bis rue des machins35000 Rennes without the new line, and therefore, can't be marked on the map.

May I suggest to replace all the new lines by a simple whitespace ?

Sorting contacts

Currently when syncing with contacts, it seems the order is arbitrary. It would be great if the contacts where sorted alphabetically.

litle "bump" when move the map

when loading the map on Cozy, you may experience a very little sudden burst of the whole page.
It's probably due to the cozy top bar, i fix it by calling the App in full screen as:
your cozy address should be something like this:
https://{USER}.cozycloud.cc/#apps/map/{Zoom}/{Lat}/{Lng}
just move the # like this
https://{USER}.cozycloud.cc/apps/map/#{Zoom}/{Lat}/{Lng}

Double benefit, now you can also update your position from the address bar by enter or mod the {Zoom}/{Lat}/{Lng}

Edit custom maps with markers

Hi,

It would be really cool to have the ability to edit custom maps, and eventually share them, as uMap does (software behind framacarte).

Not sure if this is an already planned feature though :)

Leaflet div map into index.html?

Leaflet need a div map to be able to render the map inside it.
is there a way to avoid to put this into index.html

<div id='map'></div>

and put it into index.coffee or mymap.coffee ?

bug with map pan after control.locate

impossible to pan the map after a click on the upper right locate icon. seen on FF on OSX.
should do a distinction between a one time locate and a follow locate.

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.