Skip to content

NYC free wifi map developed in leaflet using carto as a backend for SQL queries

Notifications You must be signed in to change notification settings

ralaruri/wifi_map_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wifi-map

  • The goal of this application is to allow people to find free Wi-Fi locations with an added layer of convenience with sidewalk café locations in proximity to them. This was a bootstrapped project to quickly deploy and develop within a 24 hour time frame using free and quickly avaiable tools and code.

here is the demo of the map: https://ralaruri.github.io/wifi_map_js/

Stack this map is built on:

Beauty of the Querying:

  • SQL is nothing new but how it is used in this application is pretty creative:
  • Using Cartos API to call the geojson of the queried dataset in order to visualize it in leaflet within the search box!

Tooling:

  • Jsbin: https://jsbin.com/?html,output
    • live programming using javascript, able to emulate a web browser extremely quick prototyping.
    • no need to host code on a server
    • downside lacking SSL certification, within the meulation, impacts the usage of geolocation feature in MVP

Data:

  • NYC Open Data: https://opendata.cityofnewyork.us
  • Utilized two seperate data sets and imported them as tables within Postgres Database
  • Side Walk Cafes Data Set
  • Outdoor Wifi Locations Data Set

Interface:

  • Indoor/Outdoor Drop Down Menu
  • Data Toggle Switches (Sidewalk Cafes & Wifi Locations)
  • Radio Button to switch between a low detail light base map & and a higher detail base map provided by Carto.
  • Hover over Points

Disabled Features:

  • Geolocation Feature:
    • If not located in NYC it would pin you at your current location.
    • Need to add some sort of anonymization buffer also.

Screen Shots:

Overview:

Overview

Interface 1:

Features 1

Interface 2:

Features 2

Releases

No releases published

Packages

No packages published

Languages