Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geo Map? 🗺️ #27

Open
7 tasks
nelsonic opened this issue Sep 3, 2015 · 2 comments
Open
7 tasks

Geo Map? 🗺️ #27

nelsonic opened this issue Sep 3, 2015 · 2 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented Sep 3, 2015

Can we plot hits on a map based on IP address?
e.g:
image

Todo

  • Investigate the options for https://rapidapi.com/blog/ip-geolocation-api ... https://ipgeolocation.io
    • Consider using multiple APIs and round-robin the requests to avoid sending all our the to the same service. 💭
  • Store the Lat/Lon in the DB in a new table:
    • useragent_id
    • lat_lon
    • geo_ip_api_id - IP address lookup service used
  • Which Map UI should we use?
@nelsonic
Copy link
Member Author

nelsonic commented Mar 11, 2022

Should we just use Google Maps for MVP and then migrate if we exceed the free tier?

https://mapsplatform.google.com/pricing/
image

If there are more than 28k map views in a month it gets expensive quite fast:

image

image

I think we can easily have a global limit in our app that avoids going over the limits if this ever gets on the front page of Hackernews/Reddit. 💭

@nelsonic nelsonic changed the title geo map Geo Map? 🗺️ Mar 11, 2022
@nelsonic
Copy link
Member Author

Looks like we might be able to use OpenStreetMap with Leaflet: https://github.com/Leaflet/Leaflet 💭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant