Extract Google Mymaps map names into JAVA or file

10 views
Skip to first unread message

Gonen

unread,
Mar 13, 2008, 4:49:48 PM3/13/08
to KML Developer Support - Getting Started with KML
2 questions please:

Is it possible for me to extract the Map names into Java vector or
file (so I will have a list of my Google Mymaps)?



Is it possible to get the <href> data - that is extracted when using
"View in Google Earth" button e.g.
http://maps.google.com/maps/ms?l=en&amp;ie=UTF8&amp;oe=UTF8&amp;msa=0&amp;msid=117109785000783890896.00043bec67029aa8ce744&amp.....

without entering the browser ? e.g. directly from a Java script ?

thanks for reply !





ManoM

unread,
Mar 14, 2008, 10:44:31 AM3/14/08
to KML Developer Support - Getting Started with KML
Hi Gonen,

My Maps doesn't have an API directly, so you can't programattically
access the names of your maps.

I'm not sure what you're asking in your other question. It sounds like
you're asking if you can visit the href that is referenced by View in
Google Earth without a browser. When you click on View in Google
Earth, it downloads a KML file that has a <NetworkLink> file in it.
You could extract the href from and point to it with your application.
I believe, though, that all the ampersands are escaped, so you'd have
to replace each of these:
&amp;
with this:
&

ManoM

On Mar 13, 1:49 pm, Gonen wrote:
> 2 questions please:
>
> Is it possible for me to extract the Map names into Java vector or
> file (so I will have a list of my Google Mymaps)?
>
> Is it possible to get the <href> data - that is extracted when using
> "View in Google Earth" button e.g.http://maps.google.com/maps/ms?l=en&ie=UTF8&oe=UTF8&msa=0........

Gonen

unread,
Mar 15, 2008, 8:10:18 AM3/15/08
to KML Developer Support - Getting Started with KML
thanks for reply.

as for question #1:
Do you have any idea how can I get my map names in other way ???
Do you think that there is achance that someone have an access to this
data somehow ?


as for question #2
this is exactly what I do today. I am looking for a method to provide
the map name and to get its <href> without clicking all the
buttons....

thanks again !
> > thanks for reply !- Hide quoted text -
>
> - Show quoted text -

ManoM

unread,
Mar 15, 2008, 11:03:55 AM3/15/08
to KML Developer Support - Getting Started with KML
Hi Gonen,

At this point, there is no API for My Maps, which means that there is
no programmatic way of getting this data aside from screen scraping.

ManoM
Reply all
Reply to author
Forward
0 new messages