Uploading Custom Google Maps created in App to a web page - android

I am currently creating an android app in which users can add overlay items to a Google map. The goal is to have these customized maps be saved and uploaded to an internet community. I can't figure out how to do this, but would really appreciate learning how to either embed the app (and thus the customized map) into a web page or just save the map and upload it.
Thanks,
Sam

Have a look at KML it's a xml markup language to exchange geospatial data ("maps"). Google Earth, Google Maps and other applications can read, write and display kml files.

Related

How to download specific region of google map in android

I am making an android application that will show google map on the screen. By clicking on a button user can download a the his/her specific region and store that in internal storage. Later when internet connection is poor or not available then user can use the offline map downloaded earlier. How to make this kind of app. Please guide me.. Thanks.
You should carefully read Google Maps APIs Terms of Service especially 10.5 (d) and 10.5 (e), because technically you can (temporary) download tiles for specific region from Google Maps server via series of URLs like http://mt1.google.com/vt/lyrs=m&x=95&y=55&z=7 and then create custom tile provider for Google Maps like in this answer of Alex Vasilkov. Also take a look at this answer of KENdi.

Adding Google Maps co-ordinates/markers from a custom map link

I would like to know if you can input a URL of a custom map that was created through Google Maps and then show all the waypoints in your app without having to manually add them all.
Here's an example - https://www.google.com/maps/d/viewer?mid=zD38FaCAJQek.k_FDpSYzC2wI
What would be the fastest way to input all of those markers/waypoints and co-ordinates into my Android app that uses the Maps API? thanks.
To be exact, what you wanted to do is show markers on a map created with Google My Maps.
Unfortunately, it doesn't seem like the Android Google Maps API can read KML files directly, so importing these files into your app is not possible.
One thing you could do, though it is quite a bit of work, is export your created map's KML file and read it programmatically. Extract the coordinates you need and add them as markers into your app.

Display Google Shared Map Into Android App

I have searched this topic without good results.
I have created a map with personal markers into Google Maps account (shared map).
Now I want to display that map into an Android App with Google Maps API
It's that possible?
I want to do this so I can update markers of the map direclty from the web and the app always will be up to date.
What you want is to get the kml file containing all the objects of your custom map layer.
Open your map (e.g. https://mapsengine.google.com/map/edit?mid=zbzKgwyzjU1k.kfNmxdgezpIg)
Change the link from edit to kml (note that you'll need to make the map public)
Result: https://mapsengine.google.com/map/kml?mid=zbzKgwyzjU1k.kfNmxdgezpIg
Now that you have a link to your map with up to date information on the new items, you can fetch and parse it every time you start your app.
There are plenty of sources that tell you how you can parse xml files, kml is about the same.

Android application using offline satellite map

I've been browsing the internet for two days now looking for the best way to do this, here is my concern :
I'm currently developing an Android application where the user has to browse a map (preferably satellite view), add markers etc. The problem is that the user will often be in a spot without internet access.
Some info i gathered (correct me if I'm wrong):
Google earth doesn't have an Android API
Last Google map api for Android allows the developer to implement his own TileProvider (http://guides.cocoahero.com/google-maps-android-custom-tile-providers.html).
It's forbidden to cache google maps data
So at the end my questions are :
Is it possible to use the Android Google Map API to display tiles from another data source than google maps ?
If so what would be a good source of satellite map, available offline ?
I'm new to Android development so I wanted to ask you guys before trying it out!
Thanks in advance

google maps in my android application

I have application which uses Google Maps. Also I created "custom My Map" on Google account in Google maps. So the question is next - can I use MapView control to show this specific "custom My Map" on device?
I believe there isn't any API to access your stored "My Maps" data.
The only way I can think of doing it is to export your My Maps as a KML file, as described here. From that you can retrieve the file via a server or locally onto your Android app and parse it manually to find the location.
Another option is to use the link in the KML file and view it on the app via a WebView or something in the essence.
These are just speculations of course, but it is how I would approach it.

Categories

Resources