Skip to content
Browse files

how to import Maps API

dont forget libraries=visualization in the URL
  • Loading branch information...
1 parent c5a796a commit df807de5dbd8468b641d18de08f4f31bc7888d66 @rviscomi committed Oct 2, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -19,6 +19,12 @@ Red Dwarf depends on Google Maps for geocoding and mapping. You must get a [Goog
Usage
-----
+Import the Google Maps JavaScript API. Appending `libraries=visualization` to the source path will ensure that you have the heatmap library available. Replace `YOUR_KEY` with the API key provided to you by Google.
+
+```html
+<script src="http://maps.googleapis.com/maps/api/js?key=YOUR_KEY&sensor=false&libraries=visualization"></script>
+```
+
Instantiate a new RedDwarf object, the constructor of which accepts a configuration object (see [Settings](#settings)).
```js

0 comments on commit df807de

Please sign in to comment.
Something went wrong with that request. Please try again.