Get coordinates from a Google Maps Embed Link - google-maps

I'm developing an app for iPhone that uses Mapkit and I want to include the coordinates used in this Google Maps Embed Link (I'm not the author).
The map is very simple and doesn't show the coordinates (At least I couldn't find them), so I think that analysing the link there might be useful parameters that would allow me to dump or export them. Is it possible?
Any help will be much appreciated.

Download the KMZ for the map, the archive contains a KML-file with all the data:
https://www.google.com/maps/d/kml?mid=zZY3Uui1vIqo.khcCc7obcc5U

Related

Adding 3D model KMZ with Google Maps API: is it possible?

I'm wondering if it's possible to add a 3D model made in Sketchup, exported o KMZ format, to a Google Map, with the Google Maps API. I was able to add KMZ layers that contained simple data as landmarks and such, but when I try to load the 3D model KMZ, the map just shows a default house file icon.
The test map can be accessed here: http://thebob.com.br/maptest/kmz_test.html
The KMZ file is hosted here: https://sites.google.com/site/dmgckmlfiles/kml-files/Bulk_carrier_1509.kmz
At this point I'm just guessing it's not possible to add 3D models like this into Google Maps (as the exact same thing happens if I import the file through My Maps), but I want to make sure of that before giving up.
Thanks in advance for any info!
Well if you are pertaining in Google JavaScript API, Yes this API does support the KMZ as you can see in this link about Supported KML elements. But the 3D object is not.
Also, according to this SO question, that 3D is not yet features in Javascript API. Closest things to this are Styled Maps. Only the Android implementations are available as of now.
But I found this tutorial that can help you if you still want 3D objects.

Convert Google map with huge amount of data to a static using Google Static Maps

I need to convert a map built with Google Maps to a static map.
The problem is that map has an amount of data (mainly circles), and its representation has to be doing a path description of its circunference, and I need some kind of accurate, a pure circle has to be displayed in the static mode, so each circle description is about 500 chars (encoded).
The Google Static Maps url limit is 8192 and its not enough for rendering those shapes.
There is another way for doing it? I also tried to use html2canvas, but it is forbidden by Google.
Google actually recently extended the URL limit to 8192, but if you need more than that you probably need to resort to taking a screenshot of a Google Maps JavaScript API map, as suggested by xomena.
A tool like PhantomJS [1] can help you write a script to automatically take a screenshot of a webpage (which you've drawn using the Google Maps JavaScript API).
[1] https://github.com/ariya/phantomjs/wiki/Screen-Capture
I have a small example that uses PhantomJS to take a screenshot of the page.
Here's the JavaScript Map with some information: http://jsbin.com/pevizusana/2/edit
Here's the PhantomJS code that will take a screenshot on this site: http://pastebin.com/gEXhG1dP
And here's the result: http://i.imgur.com/Mj951aP.jpg
I hope you find this information helpful.
I'm the author of osm-static-maps, It's an open source project that you can use as a cli or js library or self-hosted http server. It mimics google static maps and you can pass any amount of data to the map as a geojson.
See the project here for more instructions https://github.com/jperelli/osm-static-maps

Google maps stops kml/kmz support in February 2015

Google maps just told my they're deprecating their kml/kmz mapping service in Google Maps in February 2015.
See https://developers.google.com/maps/support/kmlmaps
I appreciate to be able to display my kml/kmz files in a map, but I can't find a drop-in replacement. Any suggestions?
I don't really want to make Google-account...
There are multiple options. For maps based on OpenStreetMap:
umap allows you to create a map and import KML files.
Leaflet and OpenLayers allow you to host your own map. It is possible to display GPX files. For converting KML to GPX see GPSBabel.
You can use Gmap4 which is an enhanced Google map viewer I developed.
Simply put your KML, KMZ, GPX or TPO file online.
Start with this Gmap4 link:
http://www.mappingsupport.com/p/gmap4.php?q=________________
Replace the underline with the http link to your file.
Paste the completed link into your browser.
The Gmap4 homepage has a FAQ, examples, quick start info (on the Help page) and more to quickly get you up to speed.
Gmap4 default map: http://www.mappingsupport.com/p/gmap4.php
Gmap4 homepage: http://www.mappingsupport.com/p/gmap4.html
Joseph
Try GPS Visualizer: you can upload your kml and let it draw the map.

Get list of My Places from Google Maps

I'm making a website that has an embedded google map (iFrame) that has multiple place names on it that I set up in My Places. What I want is to be able to list the place names and addresses down the side of the map like it does in My Places.
Obviously I can just export the KML data of the map but I want the page to automatically update when a new place is added to the My Places map without having to export a new file.
If Google still supported RSS feeds I would probably use that, but the current API seems to need to rely on URL requests.
Any help or suggestions are appreciated!
I don't think you can do this with an embedded map. You can add a sidebar to a map from MyPlaces using the Google Maps API v3, a third party KML parser like geoxml3 and a proxy.
example

Query existing, public Google Map via the Google Maps API v3

I am trying to embed an existing, public Google Map into a website. Specifically this one:
http://goo.gl/maps/cHf2
Of course I could use the iframe embed to achieve this, but I would like a little more control over the map … I imagined being able to pull all the markers from the map and display them as an index next to the map. Kind of like Google already does, but embedded in my page with my own styles and images.
I have been digging through Google, Stack Overflow and the API instructions and couldn’t find any relevant posts. In the GET string of the map on Google we can see this chunk:
&msid=212828439842926497866.0004bfae4da003d8ffd1f&mid=1341413217
I thought in there might be a maps ID and I could use it to query the content of the map through the API? The intention is using Google Maps as a CMS for less technical minded people and not dealing with geo data in our own CMS.
Any help would be greatly appreciated. Maybe I am just missing the forest for the trees.
You can download the kml that specifies the markers in that page and display that on your API based map. This example defaults to displaying it using geoxml3, but you can hide that and display the KmlLayer version.
You should be able to just point KmlLayer to the link (I downloaded the kml and put it on my server so it would work with geoxml3).
Here is an example (taken directly from the documentation) that does that
here is the original