Coder Social home page Coder Social logo

awesomap-old's Introduction

Awesome Map

This is a project for study purpose. And javascript code playground, experimentations are being doing in this repo, do not use for production before review the code.

App Features (so far)

  • Extract Exif Geolocation from image file, create a marker in that location and display the image in the popup
    • If you don't have any device with GPS, use the images in sample-images folder for testing
  • Select multiple files at once

Instructions

To build the bundle, run npm run build

Informations

Map built with MapBox.

ES6 features used:

  • Block-Scoped Variables
  • Arrow Functions
  • Template Strings
  • Destructuring Assignment
  • Modules
  • Classes
  • Promises
  • Iterators

To Do

Code

Interface

  • Create better interface with panels - OK
    • Top header panel for navigation - OK
    • Right side panel for control - OK
      • Upload button should be in this panel - OK
      • List os inputed images
      • Each image have:
        • Checkbox
        • Thumbnail
        • Input fields for title, description
        • Date information extrated from EXIF tag is have, if not a date input field
        • List of tags
        • List of persons
        • String address grabbed from MapBox API that matches the EXIF geo tag
        • Marker button that watches next click in the map and grab geo location values
      • Checked images are be highlighted
    • Left side panel for the map - OK
  • Rotate image in css based on EXIF orientation tag

Experience

  • When input an image:
    • In the map panel:
      • Create marker in the geolocation tagged - OK
      • Focus on the marker with high zoom - OK
      • Open the popup of the new marker with the image
    • In the control panel:
      • Create a list of images
      • Include the current image in the list as selected
  • When input other images:
    • In the map panel:
      • Create marker in the geolocation tagged - OK
      • Focus on boundary with all markers related to selected images in the control list with needed zoom
      • Close all popups (?)
      • Open the popup new marker with the image
    • In the control panel:
      • Same as the first
      • Include the current image in the list as selected
  • When changing selected images in the control list
    • Close all popups (?)
    • Change boundary and zoom to fit all markers related to selected images
  • If the image have none EXIF tags:
    • The image will show in the list, to place in the map the marker button should be used
  • Allow multiple files to be inputed once - OK

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.