Map Scripting 101
Home > Computing and Information Technology > Computer science > Map Scripting 101: A Guide to Building Interactive Maps and Mashupswith Bing, Yahoo!, and..
Map Scripting 101: A Guide to Building Interactive Maps and Mashupswith Bing, Yahoo!, and..

Map Scripting 101: A Guide to Building Interactive Maps and Mashupswith Bing, Yahoo!, and..

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Websites like MapQuest and Google Maps have transformed the way we think about maps. But these services do more than offer driving directions-they provide APIs that web developers can use to build highly customized map-based applications. In Map Scripting 101, author Adam DuVander delivers 73 immediately useful scripts that will show you how to create interactive maps and mashups. You'll build tools like a local concert tracker, a real-time weather map, a Twitter friend-finder, an annotated map of Central Park, and much more. And because the book is based on the cross-platform Mapstraction JavaScript library, everything you create will be able to use nearly any mapping service, including OpenStreetMap, MapQuest, Google, Yahoo!, and Bing. You'll also learn how to: * Create, embed, and manipulate basic maps by setting zoom levels and map boundaries * Show, hide, and filter location markers and info-bubbles * Customize your maps for visitors based on their location * Use common data formats like GPS XML, Google Earth's KML, and GeoRSS * Create graphical overlays on maps to better analyze data and trends * Use freely available geodata from websites like Yelp and Upcoming-and public domain geodata from the US government Map Scripting 101 is perfect for any web developer getting started with map scripting, whether you want to track earthquakes around the world, or just mark the best coffee shops in Dubuque.

Table of Contents:
Dedication; ACKNOWLEDGMENTS; INTRODUCTION; About This Book; How to Use This Book; About the Website; Chapter 1: MAPPING BASICS; 1.1 The Mapping APIs: Google, Yahoo!, and Mapstraction; 1.2 Describe a Point on the Earth; 1.3 Create Your First Map; 1.4 Find the Underlying Map Tiles; 1.5 Change the Map Size; 1.6 Add Zoom and Other Controls; 1.7 Set Zoom Level; 1.8 Set Map Type; 1.9 Recenter the Map; 1.10 Retrieve the Center of the Map; 1.11 Find Point Where User Clicked; Chapter 2: PLOTTING MARKERS AND MESSAGE BOXES; 2.1 #1: Add a Marker to Your Map; 2.2 #2: Remove or Hide a Marker; 2.3 #3: Show a Message Box When Your Marker Is Clicked; 2.4 #4: Show and Hide Message Boxes Without Clicking the Marker; 2.5 #5: Create a Custom Icon Marker; 2.6 #6: Create Numbered Markers; 2.7 #7: Loop Through All Markers; 2.8 #8: Determine the Correct Zoom Level to Use Based on Markers; 2.9 #9: Filter Out Certain Markers; 2.10 #10: Remove or Hide All Markers; 2.11 #11: Handle Clusters of Markers; Chapter 3: GEOCODING; 3.1 How Do Geocoders Work?; 3.2 JavaScript vs. HTTP Geocoding; 3.3 #12: Geocode with JavaScript; 3.4 #13: Geocode with an HTTP Web Service; 3.5 #14: Reverse Geocoding: Get an Address from a Point; 3.6 #15: Get Postal Code Coordinates; Chapter 4: LAYER IT ON; 4.1 #16: Draw Lines on a Map; 4.2 #17: Draw Shapes on a Map; 4.3 #18: Add Circles to Show Search Radius; 4.4 #19: Draw a Rectangle to Declare an Area; 4.5 #20: Draw Lines Along Clicks; 4.6 #21: Color States/Countries on a Map; 4.7 #22: Add Custom Controls; 4.8 #23: Create Your Own Zoom Interface; 4.9 #24: Plot Image Thumbnails on a Map; 4.10 #25: Overlay an Image on a Map; 4.11 #26: Use Custom Tiles; Chapter 5: HANDLE MAP EVENTS; 5.1 Mapstraction's Event Model; 5.2 #27: The User Clicks the Map; 5.3 #28: The User Drags the Map; 5.4 #29: The Zoom Level Changes; 5.5 #30: A Marker Is Added to or Removed from the Map; 5.6 #31: A Polyline Is Added to or Removed from the Map; 5.7 #32: The User Opens or Closes a Message Box; 5.8 #33: The User Clicks a Marker; 5.9 #34: Return to the Center When the Message Box Is Closed; 5.10 #35: The User Moves the Map Outside Preset Bounds; Chapter 6: EXPLORE PROXIMITY; 6.1 #36: Calculate Distance Between Two Points; 6.2 #37: Find True Distance with Routing; 6.3 #38: Create Driving Directions; 6.4 #39: Determine Closest Marker; 6.5 #40: Find a Point Along a Line; 6.6 #41: Plot Local Results on a Map; 6.7 #42: Retrieve Local Results with HTTP; 6.8 #43: Check Whether a Point Is Within a Bounding Box; 6.9 #44: Get a Random Point in a Bounding Box; 6.10 #45: Check Whether a Point Is Within a Shape; 6.11 #46: Get Nearest Locations from Your Own Database; Chapter 7: USER LOCATION; 7.1 #47: Ask Users Where They Are; 7.2 #48: Get Location Using JavaScript; 7.3 #49: Use Fire Eagle to Get Location; 7.4 #50: Get Location by IP; 7.5 #51: Roll Your Own IP Database; Chapter 8: DATA FORMATS; 8.1 #52: Use XML; 8.2 #53: Use JSON; 8.3 #54: Use GeoRSS; 8.4 #55: Use KML; 8.5 #56: Use GPX; 8.6 #57: Convert from XML to JSON; 8.7 #58: Filter, Merge, and Sort Data with Yahoo Pipes!; Chapter 9: GO SERVER-SIDE; 9.1 #59: Install PHP; 9.2 #60: A Quick PHP Introduction; 9.3 #61: Retrieve a Web Page; 9.4 #62: Install MySQL; 9.5 #63: Store Locations to a Database; 9.6 #64: Import Data from a Spreadsheet; 9.7 #65: Use MySQL from PHP; 9.8 #66: Plot Locations from a Database; 9.9 #67: Get Nearest Locations from a Database; 9.10 #68: Get Nearest Locations to a Postal Code; Chapter 10: MASHUP PROJECTS; 10.1 What Is a Mashup?; 10.2 #69: Create a Weather Map; 10.3 #70: Display Recent Earthquakes Worldwide; 10.4 #71: Search Music Events by Location; 10.5 #72: Plot Twitter Geo-Tweets; 10.6 #73: Find a Coffee Shop to Meet in the Middle; JAVASCRIPT QUICK START; Where JavaScript Goes; Variables; Conditionals; Loops; Functions; Using jQuery; MAPSTRACTION REFERENCE; Class mxn.Mapstraction; Class mxn.BoundingBox; Class mxn.LatLonPoint; Class mxn.Marker; Class mxn.Polyline; Namespace mxn.util; UPDATES;


Best Sellers


Product Details
  • ISBN-13: 9781593272715
  • Publisher: No Starch Press,US
  • Publisher Imprint: No Starch Press,US
  • Language: English
  • Returnable: N
  • ISBN-10: 1593272715
  • Publisher Date: 25 Aug 2010
  • Binding: Paperback
  • No of Pages: 308
  • Sub Title: A Guide to Building Interactive Maps and Mashupswith Bing, Yahoo!, and..


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Map Scripting 101: A Guide to Building Interactive Maps and Mashupswith Bing, Yahoo!, and..
No Starch Press,US -
Map Scripting 101: A Guide to Building Interactive Maps and Mashupswith Bing, Yahoo!, and..
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Map Scripting 101: A Guide to Building Interactive Maps and Mashupswith Bing, Yahoo!, and..

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!