Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Realtime Map Collaboration.

Realtime Map Collaboration.

Maps are great tools for expressing ideas, showing how things relate, and for planning. A shared map that can be updated by multiple people in realtime makes this kind of collaboration much more productive. This talk explores an application that allows users to edit maps within a web browser and share changes with others.

Mick Thompson

April 16, 2012
Tweet

More Decks by Mick Thompson

Other Decks in Technology

Transcript

  1. • 2 years, 11 cities, 45 fellows • 21 apps

    from last year, more in the works. • Open Source, Open Data...Open for Applications.
  2. What is it? • Map annotation relied in realtime. •

    2 or more editors/collaborators • chat room backchannel
  3. What exists. • Many online location data collection tools. •

    Google Maps, Esri, etc. • Ushahidi, Shareabouts, so much more...
  4. Mapchat • Only 1 global room. • Bad interface. •

    Only post messages. • No real collaboration.
  5. That was cool, what’s next? • Edit geometries. • Embedded

    chatroom/backchannel. • Use standards. • Multiple map rooms.
  6. PubSub: <change> <change id='secqID'> <feature id='ID' type= 'point' > <addition>

    <point> <coordinates>43.019, -70.012</coordinates> </point> </addition> </feature> </change>
  7. Leaflet/Wax var url = ‘tilejosn source url’; // Make a

    new Leaflet map in your container div map = new L.Map('map', {zoomControl:false}) .setView(new L.LatLng(43.059, -73.022), 12); wax.tilejson(url, function(tilejson) { // Add MapBox Streets as a base layer map.addLayer(new wax.leaf.connector(tilejson)); });
  8. Learned Leaflet is great. Google API has more edit tools.

    Node.js is a great way to start using XMPP XMPP requires some ramp up, but cools gains.