Post to Twitter from a map?
July 22, 2013 1:34 AM Subscribe
For a Twitter account I'm thinking of setting up (tweeting interesting things I pick up on a police scanner, basically), I want the ability to quickly tweet from a map interface, with the tweet being geotagged with a chosen location. Does a service like this exist?
My ideal workflow would be:
* Have a Google/OpenStreetmap/whatever map open in my browser.
* I click on a location on the map.
* A placemark appears on the map.
* A bubble pops-up where I can enter the text for the tweet.
* The tweet is posted to Twitter, with its tweet location set to the lat/long I clicked on on the map.
* Ideally the placemarks would remain on the map for later recollection, but this isn't strictly necessary.
Given a weekend and an inordinate amount of frustration, I could probably hack something like this together myself, but my Javascript knowledge is weak and I don't want to reinvent the wheel.
My ideal workflow would be:
* Have a Google/OpenStreetmap/whatever map open in my browser.
* I click on a location on the map.
* A placemark appears on the map.
* A bubble pops-up where I can enter the text for the tweet.
* The tweet is posted to Twitter, with its tweet location set to the lat/long I clicked on on the map.
* Ideally the placemarks would remain on the map for later recollection, but this isn't strictly necessary.
Given a weekend and an inordinate amount of frustration, I could probably hack something like this together myself, but my Javascript knowledge is weak and I don't want to reinvent the wheel.
If you want this project to scale, I'd suggest encapsulating your data in GeoJSON.
Then you can use the Google Maps API to load the GeoJSON data.
Or you can use your GeoJSON data with Open Street Maps, and render directly on your github page with Leaflet.js. Or you can do both. Or you can do whatever.
posted by oceanjesse at 11:17 AM on July 22, 2013
Then you can use the Google Maps API to load the GeoJSON data.
Or you can use your GeoJSON data with Open Street Maps, and render directly on your github page with Leaflet.js. Or you can do both. Or you can do whatever.
posted by oceanjesse at 11:17 AM on July 22, 2013
As with many things in life, the hardest part is parsing.
posted by oceanjesse at 11:18 AM on July 22, 2013
posted by oceanjesse at 11:18 AM on July 22, 2013
This thread is closed to new comments.
posted by kaytwo at 3:38 AM on July 22, 2013