Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Integrating "My Maps" into Google API created map??
Old 03-30-2009, 05:34 PM Integrating "My Maps" into Google API created map??
Skilled Talker

Posts: 66
Trades: 0
Hello,

I have a question that I can't seem to find any documentation on after
doing some searching.

Here the issue: a client of mine would like to embed a google earth
version of a map onto an html page.

I am relatively new at google api, but have created an api map test
page that includes google earth and the region I would like listed on
the map here:
www.iongeo.com/aram_test_dev/mapquest.html

Now, what I would like to do, is integrate the map I have created on
"my maps" to show up on my 3d google earth api map. Here is the My
Maps version:

http://maps.google.com/maps/ms?ie=UT...88,360&t=h&z=1


So, is there a way to integrate the information on "my maps" into a
google api map??

-Or, can someone please tell me how I could import the kml file from
"my maps" onto the google api map that I have made?

I am thinking that the latter is the way to go about this, but I
honestly have no idea how to create a function that brings in the kml
file into my map.

Any help would be GREATLY appreciated. Thank you so much.

-Mike
Mikeface is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-02-2009, 06:07 AM Re: Integrating "My Maps" into Google API created map??
Extreme Talker

Posts: 189
Trades: 0
I havent had any experience with the google maps api, but after a quick look around I believe you could try

http://code.google.com/apis/maps/doc...e.html#GGeoXml

Quote:
class GGeoXml

A GGeoXml object add geographic content to the map from an XML file (such as a KML file) that is hosted on a publicly accessible web server. It implements the GOverlay interface and thus is added to the map using the GMap2.addOverlay() method.
Constructor

Constructor Description GGeoXml(urlOfXml:String, callback?:function)


Creates a GOverlay that represents that XML file. An optional callback function is invoked when the GGeoXml object finishes loading the XML file. (Deprecated since 2.108)




GGeoXml(urlOfXml:String) Creates a GOverlay that represents that XML file. (Since 2.108)
simster is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Integrating "My Maps" into Google API created map??
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45258 seconds with 12 queries