GithubHelp home page GithubHelp logo

mannylopez / news-map Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 27.25 MB

Front page stories from the New York Times, geo-tagged and displayed on a map.

Home Page: https://mannylopez.github.io/news-map

CSS 22.37% HTML 6.67% JavaScript 70.95%
new-york-times-api

news-map's People

Contributors

mannylopez avatar

Watchers

 avatar  avatar

news-map's Issues

Map popups are off screen on mobile

Problem:

Map popups open off screen on mobile devices, making them hard to read

Proposed solution:

  • Idea 1: Fit the popup to the screen
  • Idea 2: Get rid of pop ups and instead scroll the story card into the main focus area when a marker is clicked

Map pins overlap

Problem:

Map pins that share the same lat/lon are stacked on top of one another, hiding all but the top one.

Proposed solution:

  • Idea 1: "Jitter" the coordinates so that they markers appear side by side. Downside is that the pins won't be directly on the geocoded location.
  • Idea 2: Spiderify the markers

Format date on story card

The date appears as 2020-07-22T11:39:04-04:00. Would be good to format it to 2020-07-22 or 07 July, 2020.

Fix story card title shifts to newline when selected

Problem

The story card shifts to a newline when the story is highlighted if the title is too long. This is kinda jarring.

Solution

Create a small div whose only job is to turn blue when the story is in focus

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.