MapQuest Developer Blog

Archives for Roman Hardgrave

  • MapQuest Launches Mobile Flash Maps API

    MapQuest is at Adobe MAX in sunny Los Angeles and we are thrilled to announce the official release of our Mobile Flash Maps API on both licensed data and open data. I've been involved with many a mobile project over the years, and, frankly, they are a huge pain.  To build an app available to most users means building the same code several times over, once for each major platform.  Today, we're excited to announce a new API combined with an Adobe technology that should alleviate that pain. For those who have been following Adobe lately, you've seen some very exciting developments within their Flash Builder (Flex SDK) development tools.  With the release of Flash Builder 4.5, you can deploy native mobile applications to Apple iOS, Google Android and Blackberry Tablet from a single code base.  Yes, code ONE time and deploy native applications everywhere.  For those used to Adobe Flex, Flash Builder is the new name of the development tool to deploy applications using Adobe Flex SDK or ActionScript. Our Mobile Flash Maps API provides interactive mapping features to use within Flash Builder 4.5 native mobile applications.  This includes support for touch gestures, as well as making our controls and POIs mobile friendly. So now you can easily combine the great features of our web services, such as searching for traffic or optimizing your route, with an easy way to deploy to a mobile device.  Check out the video below to see just a small sample of what you can do. To me, there's nothing better than finding the perfect piece of sample code when I'm looking to develop an application.  The mobile application featured in that video is available to jumpstart your next mobile project.  If you're on an Android device, you can run this app directly on your phone by checking out the MapQuest Mobile Flash Maps API Showcase in the Android Market.  You can also download the source code for our mobile mapping app here. We couldn't squeeze all the features of our web services in a single app - here are some other features you might be interested in. Along with those features, you have your choice of using either our licensed data (what we use on or our open data (such as OpenStreetMap).  While the Mobile Flash Maps API is different from our web/desktop Flash Maps API, you'll still find many of the samples we provide on our desktop/web API will be useful to see the possibilities of what can be built.  Here is a full list of differences between the mobile and web/desktop versions of our Flash Maps API. This is just the beginning - we're excited to meet Flash Builder and Flex developers here at Adobe MAX and hear what features they're looking for from us going forward.  We have an Unconference discussion at 10 am on Wednesday if you would like to see the Mobile Flash Maps API in action. If you're not at the show, head over to our Flash Maps API Forums at let us know what you think.  We already have some additional improvements on the way. Catch up with us at MAX (@MapQuestRoman)!
  • MapQuest JavaScript API version 7 released!

    This week is exciting, we should have several things to announce. First up, version 7 of our JavaScript Mapping API has been released. This release features expanded mobile support, updated map controls, better documentation and for you geonerds out there, a special treat - MapQuest now is on the Mercator projection. Mobile Support We support iOS and Android with version 7, and we expect this list to expand over the coming months. Additionally, we've expanded our event handling on mobile devices to enable interaction such as touchable POIs. Mobile mapping is a major focus going forward, so this is just the beginning. Updated Map Controls Including Geolocation Yes, the beautiful map controls featured on are now available through our API. Plus, you get a bonus control that we have not exposed on The waving man! Click him and he automatically centers the map based on the W3C Geolocation Specification implemented in many of the latest browsers. Additionally, you can add a custom handler to perform some task after you've been geolocated: find the closest store, reverse geocode, etc. Here's a sample using geolocation with a reverse geocode. Better Documentation Is there anything more frustrating that trying to develop something with incomplete or incorrect documentation? We feel your pain. Our goal is to make working with the MapQuest Platform easy, so we've added "try it now" features to all of our docs, allowing you to edit the code in the browser and see the result. Plus, we're expanding our samples and pages, including the new Customize the Map Interface page for all those folks who like to put their own look on the map controls or info bubbles. Nerd Alert Changing our projection to Mercator might not seem like a big deal, but to those who might have struggled overlaying data, it will greatly simplify using our maps with other systems. On the API side, we're continually streamlining to simplify development. You'll notice a new map constructor object with an easy way to initialize the map based on specific points - just pass the collection object to the constructor. For all you version 6 users, upgrading to version 7 is as easy as changing the version string in your JS include URL! This is just the beginning...please stay tuned for further updates by following the blog or our Twitter feed (@MapQuestTech). Follow me at @MapQuestRoman. Next up...a way to code once and deploy mobile apps with stunning maps to iOS, Android and Blackberry! Impossible you say?
  • JavaScript v6 launched, MapQuest Platform v6 complete!

    The JavaScript SDK v6 is live! This completes our revamp of the MapQuest Platform from the ground up. MapQuest Platform v6 features new Web Services to easily implement mapping, routing, geocoding, geographic search and traffic using a REST-like API. On top of our new Web Services, we've rebuilt the JavaScript and ActionScript SDKs, streamlining our object model. We have also added new features such as enhanced wireless support, draggable routes and a custom object to quickly add a business locator.
    Draggable Routes

    Here is an overview of the platform, with details and links to more information below.
    MapQuest Platform v6

    Web Services - Overview Documentation

    -Pass name/value, JSON or XML in, get JSON or XML out
    Directions Web Service - Documentation -Easily access our patented routing algorithms -Calculate alternate routes -Display road shields in narrative -Tweak narrative to show border crossings, landmarks and side of street information -Let MapQuest optimize a multi-stop route, re-ordering the stops for a faster overall trip -Do one-to-many or many-to-many route matrix calculations -Add turn maps -Avoid highways, tolls, ferries, border crossings
    Geocoding Web Service - Documentation -Get accurate address resolution using both NAVTEQ and Tele Atlas street data, as well as address points -MapQuest's precise 5 character result code tells you exactly how your address geocoded -Pass a bounding box to bias the results to addresses within that area -Get both a street lat/lng and a parcel centroid for point geocodes -Retrieve side of street information -Easily add thumbnail maps for ambiguities -Batch geocode up to 100 locations in one call -Reverse geocode Static Map Web Service - Documentation -Easily create map images with overlays, icons, declutter and traffic -Utilize different map styles -JPG, PNG or GIF at customizable sizes -Easy-to-use wizard to create map URLs Geographic Search Web Service - Documentation -Search by lat/lng, address or IP address -Search by radius, rectangle, polygon or corridor -Search by drive time/distance or walking time -Mix and match data sources, including hosted data, remote data and NAVTEQ mapping data -Utilize multiple POI tables to add restaurants, bars, airports, train stations and more Traffic Web Service - Documentation -Retrieve a list of incidents in a given area, both construction and traffic incidents -Retrieve flow overlay -Retrieve available markets
    New Overview Control

    SDKs - JavaScript and ActionScript (AS3/Flex)

    JavaScript SDK Documentation AS3 SDK Documentation -Wireless (including iPhone) support for draggable maps through the JS SDK -Draggable routes -No more proxy! -Overview control -Mouse wheel support -New declutter styles -Automatically add routes and search results to the map -Removes many of the separate calls for geocodes, record details and more