Google Map Extension

To celebrate the release of the Vault 2012, I will be releasing 1 sample app per week for the next 4 weeks.

Let's start things off with the Google Map Extension for Autodesk Vault.  This one is authored by Gavin Guo, one of the developers on Vault.


(click image for full view)

Summary:
The Google Map Extension for Autodesk Vault allows you to set user defined property (UDP) values containing location information for files and folders in Vault.  You can then view and update these files and folders using Google Map technology.


(click image for full view)

Features:

  • View and edit location information for files and folders in Vault.
  • View single objects in the custom tab.
  • View multiple objects using the Show Google Map command.
  • Use either an address or a latitude/longitude point to set the location.
  • Works with the GeoRSS property in AutoCAD drawings.
  • Customize the information displayed on the Google Map marker.

Requirements:

  • Vault Workgroup 2012, Vault Collaboration 2012 or Vault Professional 2012

Click here to download application
Click here to download source code

To Configure:
Before the extension can be used, a Vault administrator needs to configure some settings.

  1. Download the application.
  2. Unzip and run the installer.
  3. Run Vault Explorer and log in as an Administrator.
  4. Under the Tools menu.  Select Administration->Vault Settings.
  5. Select the Behaviors tab.
  6. Click the Properties button.
  7. Decide which UDP you want to use to store Address information and which UDP you want to store latitude/longitude information.  Either create new properties or decide on existing ones.
  8. Make sure that the UDPs are associated to at least File and Folder types.
  9. Exit out the the Property Definitions window and the Vault Settings window.
  10. Select Tools->Configure Google Map
  11. Select the UDPs you want to address and coordinate properties.  Select the key property, which is what Google Map will use to set the markers.  Select the coordinate format and select the properties you want to show up in the map markers (thumbnails are supported).
     
  12. Click OK to save.  At this point the extension has been configured.

To Use:

  1. Download the application.
  2. Unzip and run the installer.
  3. Run Vault Explorer.
  4. Select a file or folder. 
  5. Update either the address or coordinate property, depending on which is the key.
  6. Save the property update.
  7. Select the update object and select the Google Map tab.  You should see a map correlating to the property data.
  8. To update, you can drag and drop the map marker to a different location and select Update Map Information.
  9. To show multiple objects on a single map, multi-select all the files and folders you want to display on any Vault grid.  Next, right-click and select Show Google Map command.

As with all the samples on this site, the legal disclaimer applies.

1 app down, 3 apps to go.  Keep checking back for more apps and Vault 2012 API details.


Comments

6 responses to “Google Map Extension”

  1. Very cool …
    Thanks Doug and congratulations for your blog.

  2. I was hoping to enhance the capability of Google Maps, since it’s part of my work to study maps and locations, and this post is what I need. With this, I can easily mark the locations on the map that I need, just like using pushpins on a wall map. Great work! Thanks a lot!

  3. Hello, does google Map Extension works with the 64-Bit Version from Vault 2012 Client?

  4. It should work fine with both the 32 and 64 bit clients. I’m not aware of any issues.

  5. Great Work Doug,
    Will this extension work with future version of Vault e.g 2014 and the upcoming 2015 release?

  6. No. Vault plug-ins are tied to a specific version. So the code needs to be updated to work with Vault 2014 or 2015.

Leave a Reply to Doug RedmondCancel reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading