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.
Related
i have create a tracking project using maps from Google on android kotlin, and i want to create more that user can go to somewhere with navigation (so there's two point, a current location point and destination point). i want to implement turn by turn navigation sdk from mapbox? is it possible to do that? have you build it before?
ya turn by turn navigation is tricky.Map box should make it easier though u just have to implement there sdk in your project and they also have docs on how to use the Map box sdk. only downfall is you have to pay for it.
i would advise if you are creating a personal project try creating a location listener and update current position of the device on a google maps intent. you can then just create your own navigation app ( its abit of a longer way around it but you would have more control over the navigation and plus its free)
is there a possibility to have the map exactly like Google Maps Android app does ? I mean with the yellow roads etc. Using google maps api for android we have only hybrid, normal, satellite and no one looks like the app one. I tried the styling wizard, the one i need is the standard one from wizard, but nothing is generated as ROADMAP is the standard style.
You can style the Map View / Map Fragment to however you want
https://developers.google.com/maps/documentation/android-sdk/styling
Use the Map Style Wizard https://mapstyle.withgoogle.com/ to create a style that matches the one you are looking at and apply that to your codebase (using the instructions above)
I'm working on a cross platform (iOS & Android) app that requires the user to follow a (possibly closed) path made of several destinations.
So far it seems that my best option is to find a way to open Google Maps with a URL like this: https://www.google.com/maps/dir/San+Jose,+CA/GooglePlex/San+Francisco,+CA
Besides the fact that such url opens the browser first and not the app directly, Google Maps doesn't enter the "navigation" mode.
I analyzed the SDK and there doesn't seem to be a way to instantiate a path with multiple destinations.
Is there a way to achieve navigation on multiple destinations in Google Maps? If not, any alternative with "navigation" mode?
Yes you can achieve navigation in multiple direction
1) in navigation map first it has been showing one direction , there your calling one api, check that api you will get multiple direction data, just you have to parse the all data by using loop and need to do custom implementation.
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
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.