2 Star 0 Fork 0

mirrors_jsantell / 2013.cascadiajs.com

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backbone-mapping-views_toddself.md 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
Todd Kennedy 提交于 2013-08-05 14:54 . fixing link to validations plugin

#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.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_jsantell/mirrors_jsantell_2013.cascadiajs.com.git
git@gitee.com:mirrors_jsantell/mirrors_jsantell_2013.cascadiajs.com.git
mirrors_jsantell
mirrors_jsantell_2013.cascadiajs.com
2013.cascadiajs.com
master

搜索帮助