I have a Google Earth Web Story. (https://www.google.com/earth/outreach/learn/create-a-map-or-story-in-google-earth-web/), and currently, I'm looking to embed it into my website.
I think you see where I'm going with this, as the Google Earth API has been deprecated.
Is there any way to still embed it?
I've looked into alternatives like Cesium but their "Story" features aren't nearly as capable as what Google Earth can provide.
Edit: Looking at Cesium again, it's not bad, it has everything I need, except 3D Maps and Street-view. So I'd still prefer to be able to use Google Earth
At this time, Google Earth does not provide an API nor the ability to embed it in iFrames or web pages.
Related
I've designed a nice looking Google Sites website on Google Sites, however, after the completion, we've noticed that you can't monetize Google Sites.
Is there a way to monetize them, and if not, is there a tool to convert a Google Site to a normal HTML/CSS website? Where would you start if you'd like to replicate it step by step, if such tool does not exist?
If by monitize, you mean display adverts like AdSense, then that is the situation at the momement; they are not allowed and I doubt they will be any time soon.
Google Takeout (takeout.google.com) is the standard way to extract things from Google. Checkout this link
The forum on the Google Maps JavaScript API group referred my question to Stack Overflow so here goes--
I'm looking to place markers on a Google map that when clicked display a streetview panorama (a "photosphere") of that location. Each panorama was stitched together from photos I've taken personally and is saved on my computer i.e. not currently publicly viewable on Google maps.
I've searched through this guide:
https://developers.google.com/maps/documentation/javascript/streetview
for help but to no avail (I thought the "Providing Custom StreetView Panoramas" section might have been helpful but it didn't seem relevant, unless I misunderstood what it was saying).
I'm aware that Google recently introduced a new way to upload personally-made photospheres for public display on Google maps (see: https://www.google.com/maps/views/home?gl=us&hl=en-us), but this is not what I want to do.
Anyway I'd really appreciate recommendations for tutorials that might help me with this.
Thanks.
This is what you need :
https://developers.google.com/maps/documentation/javascript/examples/streetview-custom-simple
It has the sample code. Just make changes to use your image and you are good to go.
As I'm going over the documentation of https://developers.google.com/maps/documentation/ios/overlays and https://developers.google.com/maps/documentation/javascript/overlays
there is a huge gap, same goes for other functionalities and abilities, I was wondering if there is a way to "wrap" the javascript abilities in order to use them in IOS applications
for example create a custom overlay or dragable marker, or even use distance, geocoding and elevation services
You can use a UIWebView in your iOS app, and then use the JavaScript API in there. This gives you access to all of the features of the JavaScript API, but you would lose the iOS-specific features (like rotating/tilting the map, 3D buildings), and there are other downsides (like performance, offline use, etc).
You can use Google Maps data services like the elevation API from an iOS app by making a web request to the appropriate URL, and then drawing/displaying the results within the app. It's a bit more complicated than the JavaScript API which is already integrated with the underlying maps API, but it's doable.
But yes, the major limitation of the Google Maps iOS API is its minimal support for custom overlays. The latest version includes tile overlays, but if you want something more dynamic this might not be enough. There's a feature request for dynamic overlays here, but I don't think it's on Google's priority list. Something like a draggable marker might require you to implement the dragging yourself, or it might not be possible. Annotation and overlay support is one area where Apple's MapKit still offers more flexibility than the Google Maps SDK for iOS, so you might want to take a look at that as an option (but then you can't use Google Maps data services).
What I would really like to do:
Embed a google maps search box for users to enter their address, complete with the auto-complete/detect functionality available on Google maps so that they won't have to enter a full address.
Calculate the distance from a fixed location (our warehouse) to the address they enter, and make this numerical information available for use in Javascript calculations.
It would be incredibly useful and rewarding for the company I work for, I can understand if it is indeed not possible but I really hope it is and welcome any and all suggestions..
I'm not asking for code, only resources where I can learn how to do this.
Thanks in advance.
To make a special fancy map, you need to use Google Maps API.
You can learn about what Google Maps API is, please visit the official site.
https://developers.google.com/maps/
I just signed up for a Google Maps API key and was hoping for a wizard style application for setting up the map (not a static one), unfortunately I was immediately blinded by science!
Can anyone point me to a tutorial where I can find out how to create a simple google map and place a callout bubble including am image of the office and address details.
Give this a try
http://econym.org.uk/gmap/
The documentation for Google maps is pretty fantastic. That's how I learned to use it.
There's a section for Basics in the docs. That might be a good place to start.
If all you're looking to do is show a map with an infowindow, you might want to take a look at the embedding options here:
http://maps.google.com/help/maps/getmaps/quick.html
It'll let you easily embed a map on your site, without to much science!
Shameless self-promotion
If you are happy to use C# this may or may not help - Lookup on all postcodes on a webpage, and plot them with Google maps. It doesn't really need much ASP.NET/C# knowledge beyond the basics.