Adding Google Maps Layer

From Earlham CS Department
Revision as of 10:12, 20 April 2012 by Jrhurst08 (talk | contribs) (Created page with "It turns out that every individual instance of posit that is compiled requires its own api key. This is generated by the following command: $ keytool -list -keystore ~/.androi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

It turns out that every individual instance of posit that is compiled requires its own api key. This is generated by the following command:

$ keytool -list -keystore ~/.android/debug.keystore

And signing up for the google maps service at this link:

http://code.google.com/android/maps-api-signup.html

This process will generate the needed key that should then replace the following line in the file, map_main.xml under the res/layout directory:

        android:apiKey="SOME-KEY" />

replace with

        android:apiKey="YOUR-GENERATED-KEY" />