Coder Social home page Coder Social logo

haroonabdulrazaq / geo-search Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 6.72 MB

Geo-Search is a tool that allows users to search for a location and extract information such as timezone, map and local weather conditions like temperature, wind speed, humidity, and precipitation.

Home Page: https://haroonabdulrazaq.github.io/geo-search/

CSS 81.74% HTML 1.01% JavaScript 17.25%
javascript es6 api googlemaps-api geo-code-api openweathermap-api html5

geo-search's Introduction

geo-search

Geo-Search is a tool that allows people to search for places and extract information such as timezone, map and local weather conditions like temperature, wind speed, humidity, and precipitation.

Getting Started

To get started on your Local machine you can go to https://haroonabdulrazaq.github.io/geo-search/ Or Clone to your local machine from Github github.com/Haroonabdulrazaq/geo-search. The system is a webpage which includde resources like the CSS,JS,img folder. The index.html is divided into Five sections First Header section, Second Map section, Third Search section, Fourth notable Landmarks section, Fifth is the Footer. The map section Includes a Map with customize map marker the marker is suppose to change base on User's search. when the user navigates to the Search Input and Inputs the location of interest the system should provide the Local weather condition of the place and also the geographical coordinate(Longitude and Latitude) of the location. The notable landmark section shows images of notable Landmark such that when a user mouseover or clicks(for mobile user) on the images the name appears on the image. The footer contains the Social media links of the developer and also a section where you can support or contribute to the project and also leave comment. the third section in footer is a navigation button that makes it easier to navigate back to the top of the project.

Prerequisite

Eslint using Airbnb Style guide. This guide gives detail of how to intsall and use Eslint with the specified style guide (Airbnb) https://medium.com/@Tunmise/set-up-eslint-with-airbnb-style-guide-in-5-minutes-d7b4cc5707f8 .

Classes and Functions

Classes-None

Functions

onreadystatechange -

This function makes an API call and also handles the result that is returned from the server

convertToFahrenheit -

This function converts the Temperature returned by the openweather map API into Fahrenheit

convertToCelsius -

This function converts the Temperature returned by the openweather map API into Celsius

carousel() -

This function changes the notable landmark image in 4s It's an automatic image slider and it also includes names of the notable landmark that appears on the image during mouseover or clicks for (Mobile users)

initMap() -

This function initialize the map from google MAP API

addMarker(location, map) -

This function includes a customized map maker this marks where a user has clicked on labeling them from A-Z

Deployment

THe system is deployed on github pages using gh-pages you can access url: https://haroonabdulrazaq.github.io/geo-search/

Built with

HTML, CSS, JavaScript

Author

Haroon Abdulrazaq

Acknowlegdment

Anifowose Habeeb, Yusuf Abdulkareem, W3Schools, Google API, Openclassrooms

geo-search's People

Contributors

haroonabdulrazaq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

geo-search's Issues

View map

  • use customized map marker
  • Display map on the page

Add temperature Conversion

  • ConvertToCelsius Convert temperature in Fahrenheit to Celsius
  • ConvertToFahrenheit convert temperature in Celsius to Fahrenheit
  • Connect the above function to the toggle button created in #4
  • It should toggle between the functions to execute based on current state temperature scale in use

Get a static map Image

  • Leverage a public API to create a static map Image of place of interest
  • Add it to the DOM

Geocode the search string

  • Retrieve search string from the search input element
  • Make an HTTP network request to convert the search string to geographic coordinate

Improve Layout

  • Remove Image background
  • Reduce the header
  • Remove the background color of header
  • Minimize scroll

User can search for a place

  • Design the input field

  • implement the search button

  • JavaScript form validation

  • Display information such as timezone, map and local weather conditions

  • input fields can Suggest /autocomplete

  • [ ]

Share to Facebook

  • implement a share button
  • I can share location of interest and local weather condition to Facebook

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.