Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 65

Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
09/18/13 10:36 AM (12 years ago)

Question about Map Plugin

Hey guys, my app is a directory for a theme park, and has about 300-400 locations. Each location has their own menu, and I would like to add a "zoom to overhead map" feature for each where it shows just the one pin on a zoomed in satellite map. Easy enough, there seems to be 2 plugins that would do the job. Either "Location Map" or "ML Location Map". My question is does ML Location map also use the Google API Keys? Only asking because as far as I can tell, the process of using Location Map plugin requires editing your xcode to insert the google api keys. This would be fine, but my app will have about 800-1000 screens total, and after each section, I redownload my code and recompile, so I can see the changes in my new plugins and screens as I add them (the ones that won't refresh automatically). This means I would have to edit my xcode every single time I redouwnload the source, just as I have to recopy my images folder over each time. I'm trying to avoid having to manually edit any code each time I redownload and recompile the source. Also, I haven't looked into it in detail yet... would I just have to add my google API keys in one section, or for every map screen that I have? Do I have to enter them at all for at code level for ML Location Map, or are those entered in the buzztouch plugin options? Any advice?
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
09/18/13 05:07 PM (12 years ago)
@Angry Ninja Development, You could use a JSON approach to the maps but not sure about the fly over zoom. I believe with the new core, not positive, when using any maps would need the Google V. 2 Keys. LA
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
09/18/13 05:28 PM (12 years ago)
Unless you're providing your own map solution, Google will need the API v2 key to operate. This applies to both Android and iOS, and each platform requires it's own API key; one for Android, one for iOS. You can use the same API key throughout the App. Even if you have 1,000,000 map screens, you'll only have one map plugin, and therefore only need to enter the API Key once. You don't need to keep re-downloading your project source code, unless you're changing plugins. That's part of why you use buzz touch; flexibility. Just download one copy, and include all possible plugins. This will allow you to use a single download for your app. Just update the config.txt file Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.