SlideShare a Scribd company logo
Mapstraction JavaScript mapping abstraction library Adam DuVander mapscripting.com adamduvander.com
Google Maps! Yeah!
Yahoo Maps. Okay.
// Basic Google Map, with Marker point = new GLatLng(37.780764,-122.395592) map = new GMap2(document.getElementById("map-canvas")); map.setCenter(point, 15, G_NORMAL_MAP); marker = new GMarker(point, markerOptions); map.addOverlay(marker); // Basic Yahoo Map, with Marker var map = new YMap(document.getElementById("ymap")); map.drawZoomAndCenter("Portland, OR", 6); var myMarker = new YMarker("622 SE Grand Ave, Portland, OR"); map.addOverlay(myMarker);
11 Maps in One! FreeEarth Google Map24 MapQuest Microsoft MultiMap OpenLayers OpenSpace OpenStreetMap ViaMichelin Yahoo
About me Portland Web Innovators First Wednesdays, pdxwi.com
About me
Why Mapstraction?
 
 
 
Isn't Mapstraction a LCD library?
Not Really
 
 
 
Open Closed
switch (this.api) { case 'yahoo': var ypin = this.proprietary_marker; ypin.closeSmartWindow(); break; case 'google': var gpin = this.proprietary_marker; gpin.closeInfoWindow(); break; case 'microsoft': var pin = this.proprietary_marker; this.map.HideInfoBox(); break; ... }
More about Mapstraction mapstraction.com (join the mailing list) Follow my book progress mapscripting.com Thank you! adamduvander.com @adamd

More Related Content

PPT
Tilting Google Maps and MissileLauncher
PPT
By Road Is The Other Option N
PPT
Open Geo Stacks for the Web
PDF
Test-driven Development no Rails - Começando com o pé direito
ODP
Map Scripting With Style
PDF
Ruby Metaprogramming
PPT
Authority
PPTX
How Open is Your API Future?
Tilting Google Maps and MissileLauncher
By Road Is The Other Option N
Open Geo Stacks for the Web
Test-driven Development no Rails - Começando com o pé direito
Map Scripting With Style
Ruby Metaprogramming
Authority
How Open is Your API Future?

Similar to Mapstraction: JavaScript Mapping Abstraction Library (20)

PPT
Open Maps (Or Close Enough?)
PPTX
Adobe MAX 2009: Making Maps with Flash
PDF
Maps API on_mobile_dev_festbangkok
PDF
Mapstraction
KEY
Google Maps bakes the crust, you add the toppings
ODP
Zoom in on Mapping and Location
PPT
Post-PC: Geolocation & Maps in the Android Ecosystem
PPTX
Mapathon 2013 - Google Maps Javascript API
PDF
Intro To Google Maps
PPT
Location Based Services Without the Cocoa
KEY
NACIS 2012 talk
PPT
StartPad Countdown 5 - Google Geo: Mobile Mapping
PDF
Google Maps API 101
PDF
ESRI Dev Meetup: Building Distributed JavaScript Map Widgets
PDF
Hands on with the Google Maps Data API
PDF
Unfolding Library for Interactive Maps
PDF
Building Mobile Cross-Platform Geospatial Apps, Nick Landry
KEY
State of the Map 2012 talk
PDF
Geolocation and Mapping
Open Maps (Or Close Enough?)
Adobe MAX 2009: Making Maps with Flash
Maps API on_mobile_dev_festbangkok
Mapstraction
Google Maps bakes the crust, you add the toppings
Zoom in on Mapping and Location
Post-PC: Geolocation & Maps in the Android Ecosystem
Mapathon 2013 - Google Maps Javascript API
Intro To Google Maps
Location Based Services Without the Cocoa
NACIS 2012 talk
StartPad Countdown 5 - Google Geo: Mobile Mapping
Google Maps API 101
ESRI Dev Meetup: Building Distributed JavaScript Map Widgets
Hands on with the Google Maps Data API
Unfolding Library for Interactive Maps
Building Mobile Cross-Platform Geospatial Apps, Nick Landry
State of the Map 2012 talk
Geolocation and Mapping
Ad

More from duvander (20)

PDF
Give Every Developer a Quick Start
PDF
APIs at Scale: Humans and Machines
PDF
PIE for Sale: Timeless Lessons in API Advocacy
PDF
API Content Marketing
PDF
The Architect is Not Convinced
PDF
How to Evaluate an API Without Writing a Line of Code
PPTX
The Rise of Pareto-as-a-Service
PPTX
5 or 6 API Adoption Strategies
PDF
YES, APIs Make You Special
PDF
The New API at SXSW 2013
PPTX
Demystifying Distribution of Content-as-a-Service
PPTX
Make Your API Irresistible
PDF
APIs: The Wiring Behind the Cloud
PDF
The New API: Apps, Partners and Income
ODP
Maps 4 Africa
PDF
Open Geo Stacks for the Web
ODP
Open Geo Stacks for the Web
ODP
The Innovative APIs Fueling Location on the Web
ODP
Map Scripting & Design
PPT
How "open" should mapping APIs be?
Give Every Developer a Quick Start
APIs at Scale: Humans and Machines
PIE for Sale: Timeless Lessons in API Advocacy
API Content Marketing
The Architect is Not Convinced
How to Evaluate an API Without Writing a Line of Code
The Rise of Pareto-as-a-Service
5 or 6 API Adoption Strategies
YES, APIs Make You Special
The New API at SXSW 2013
Demystifying Distribution of Content-as-a-Service
Make Your API Irresistible
APIs: The Wiring Behind the Cloud
The New API: Apps, Partners and Income
Maps 4 Africa
Open Geo Stacks for the Web
Open Geo Stacks for the Web
The Innovative APIs Fueling Location on the Web
Map Scripting & Design
How "open" should mapping APIs be?
Ad

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation theory and applications.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Spectral efficient network and resource selection model in 5G networks
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Advanced methodologies resolving dimensionality complications for autism neur...
Per capita expenditure prediction using model stacking based on satellite ima...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Mobile App Security Testing_ A Comprehensive Guide.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation theory and applications.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation_ Review paper, used for researhc scholars
Review of recent advances in non-invasive hemoglobin estimation

Mapstraction: JavaScript Mapping Abstraction Library

  • 1. Mapstraction JavaScript mapping abstraction library Adam DuVander mapscripting.com adamduvander.com
  • 4. // Basic Google Map, with Marker point = new GLatLng(37.780764,-122.395592) map = new GMap2(document.getElementById("map-canvas")); map.setCenter(point, 15, G_NORMAL_MAP); marker = new GMarker(point, markerOptions); map.addOverlay(marker); // Basic Yahoo Map, with Marker var map = new YMap(document.getElementById("ymap")); map.drawZoomAndCenter("Portland, OR", 6); var myMarker = new YMarker("622 SE Grand Ave, Portland, OR"); map.addOverlay(myMarker);
  • 5. 11 Maps in One! FreeEarth Google Map24 MapQuest Microsoft MultiMap OpenLayers OpenSpace OpenStreetMap ViaMichelin Yahoo
  • 6. About me Portland Web Innovators First Wednesdays, pdxwi.com
  • 9.  
  • 10.  
  • 11.  
  • 12. Isn't Mapstraction a LCD library?
  • 14.  
  • 15.  
  • 16.  
  • 18. switch (this.api) { case 'yahoo': var ypin = this.proprietary_marker; ypin.closeSmartWindow(); break; case 'google': var gpin = this.proprietary_marker; gpin.closeInfoWindow(); break; case 'microsoft': var pin = this.proprietary_marker; this.map.HideInfoBox(); break; ... }
  • 19. More about Mapstraction mapstraction.com (join the mailing list) Follow my book progress mapscripting.com Thank you! adamduvander.com @adamd