Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.81 KB

backbone-mapping-views_toddself.md

File metadata and controls

21 lines (13 loc) · 1.81 KB

#Building map overlay views using Backbone

##Abstract

The pain of building an interactive map has been greatly reduced thanks to tools like Google Maps, Leaflet.js, MapBox and OpenStreetMaps, but there's still one beguiling part � creating custom overlay views to replace the stock standard pin and box widgets provided by the mapping tools themselves. This talk shows how you can create a base Backbone view which incorporates the various prototypes provided by the mapping APIs to provide automatic placement and pixel-offsetting of your view so that when the map scrolls or zooms, it stays where it's supposed to! I will also discuss methods and patterns for handling child views inside of your main view container, and providing for communication between the child views and the parent view which will allow us to create more complex sections directly on top of the map view.

##Speaker Bio

toddself

Hi! I'm Todd Kennedy and I live in Brooklyn and have been writing JavaScript for nearly 17 years. I'm the currently tech lead for Condé Nast Traveler where we are busy gearing up to re-launch our product and site on a node.js based platform and API. Prior to this I was the Head of Product for Updater.com and the senior front end developer for a (sadly) defunct mapping start-up, Broadcastr and am the author of the Backbone.Validation plug-in.