Display Google Maps as Part of Android App - android

How can we display google maps as part of android app ? I want to display google maps sharing screenspace with other elements like textbox and labels etc.Dont want maps to take up whole screen space.

You can create a Fragment inside of your Activity and inflate Google Maps into the Fragment programmatically.
Follow the link here to learn about working with Fragments:
Building a Dynamic UI with Fragments

Related

Location tab inside Extended Controls on Android Studio not displaying map

I am trying to emulate a route in an app but it doesn't show me the map on the Extended Controls Extended Controls image
Is there any configuration I've missed? Should I add a Google API Key somewhere?
Thanks.

Make marker with custom text on google map in android?

I am developing an Android Application where I'm using Google Map API v2.
I need to show Image & TextView on a map with custom markers.
Please refer to the attached image for better understanding:

how to embed a custom map from google maps into an app

I created a custom map using Google Maps that has highlighted features of the local waterways around my boat company. The map is set to be shared publicly and can be found here: https://www.google.com/maps/#28.1159901,-80.5874005,10z/data=!3m1!4b1!4m2!6m1!1sztQRD4WV85yk.kzRrtK6ZMD3E
My question is can I embed this map on an app that I am developing through Como Mobile App Creator? The app already has a map page powered by Google maps but it just shows the location of the company on a standard Google map; I want to embed the custom map I created so that it shows up in the app.
The Como App Maker also features a custom page wherein you can add source code, and I got the source code from Google maps and tried to add it in there but the custom page just shows up blank in the app. Here is the source code I used: iframe src="https://mapsengine.google.com/map/u/0/embed?mid=ztQRD4WV85yk.kzRrtK6ZMD3E"width="640" height="480"
How do I embed my custom map on the app I am making?
One reason I can see is: mapsengine is deprecated and new mapsengine projects are not accepted anymore.
Potential solution steps:
1) Use My Maps instead of Maps Engine.
2) Create custom map by importing your map layer there.
3) Save that map and go to share. Make it public (pick & choose view only or can edit).
4) Click on options (drop down) menu on the right of where "Add Layer" and "Share" are and choose "Embed on my site". You will be provided with an iframe.
This will embed that custom map you just created in your app.
Few things to keep in mind:
My Maps are ideal only for
1) Less than 2500 map views per day.
2) The data in the map does not change very frequently.
3) However, the embedded map will reflect the changes (if any) made (by you or people who has edit permissions) to the map in My Maps.
EDIT:
I'm sorry I did not check the URL before. So I went to it now and loaded it in My Maps. I got this iframe. See snippet.
<iframe src="https://www.google.com/maps/d/embed?mid=ztQRD4WV85yk.kzRrtK6ZMD3E&hl=en" width="640" height="480"></iframe>
But I would still encourage to make it in My Maps if this one was made in mapsengine so it is still there after mapsengine is stopped altogether in January 2016 (see Deprecation notice here).
Hope this helped.

Custom google map for Webview Android

I am developing an Android restaurant app completely web-based. I am trying to add the address of the restaurant so that when you click on it the map opens within the application. I have tried to create my own custom google map and add locations and then reference the link text by simple <a href=http://www.google.com/mapmaker?gw=39...> tag.
However, this open the entire google page. How can i do away with search bar and rest of the content and just show the map. Thanks

Google Map View, use "My places" map on android app

I would like to create an android app, which using Google Map View and display my own map.
I started my app from this link
http://developer.android.com/resources/tutorials/views/hello-mapview.html
But in step two I would like to add these POI points to my app:
http://maps.google.com/maps/ms?ie=UTF&msa=0&msid=203009957035125689590.0004abe0f3ee68f732c31
(This is the map of 'Budapest university of technology and economics' and I would like to create an app that everyone can download and navigate themselves to the right building)
Is it possible? If it is, how can I do that?
Thanks!
Greg.

Categories

Resources