Skip to content

Google maps API to create maps with functionality including weather overlay from open weather

Notifications You must be signed in to change notification settings

eliasdewan/googleMapsApi-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning project - Using google maps api, implemented some practical actions that could be used in real use cases

Follow this link for live preview: https://big.eliatheone.uk/ - API key is disabled , limited functionlaity. Check previews below for demonstration

Find the gifs at the bottom for preview when it is paired with a working API key

HTML with javascript and Google Maps API

Google API did free tier did expire so many functions font work

Action 1 and 2

Random location, place 4 markers at the side and a green marker in the middle, click any side marker to mark the middle of the green marker and the clicked side marker

Clicking the green marker 4 markers are placed on the antipode (another side of the world) and enable button 2, clicking that button enables the area that highlights when hovered over.

First action

Action 3

Clicking on the map, two markers are placed 200km away from each other, and a circle is created in the middle of the two points with a diameter of 200km, clicking the circle, 10 random coloured circles appear on a perimeter of the of the circle.

Second action

Action 4

300km square with a marked area in the middle 4 random markers inside the square and 4 markers at each corner of the square. Geo-location information window for all markers as on click action.

Third action

Action 5

On each click create an area to shape. On hover on the area mark 100 spots inside the area, with hover out, remove the markers and show the hotspot of the markers that were there and shift colour of the area.

Fourth action

Action 6

Open weather API overlay for wind

Fifth action

Action 7

Place two markers to outline the best 3 turn-by-turn directions, with makers on each turn including starting and end. All markers are in random colour.

Sixth action

All markers have on-click interactive street view on the info window, the info window moves with the streetview interaction.

Seventh action

Action 7 - different location

Eighth action

About

Google maps API to create maps with functionality including weather overlay from open weather

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published