Indigo Rose Software
  #1  
Old 06-02-2006
TJS's Avatar
TJS TJS is offline
Indigo Rose Customer
 
Join Date: Oct 2005
Location: MI
Posts: 522
Lightbulb Example: Integrating Google Maps into AMS

Here's a simple example of how to integrate google maps into AMS. There is tons of additional functionality you can add using the published API:
http://www.google.com/apis/maps/documentation/

In this example user instructions are substituted into the javascript in the maps.html document. It sounds like you could get return values from the site, but I haven't tried that yet.

Some helpful links when using this example:

1) Sign up for your own Google API Key and add it to the maps.html in the Docs folder
http://www.google.com/apis/maps/signup.html

2) Look up some coordinates to enter when you preview/build the app
http://geocoder.us/
Attached Files
File Type: apz Maps.apz (12.7 KB, 636 views)
__________________
Yeah right. Who's the only one here who knows the illegal ninja moves from the government?

()))))))))o)))))))==============================================
Reply With Quote
  #2  
Old 06-02-2006
johnraus's Avatar
johnraus johnraus is offline
Indigo Rose Customer
 
Join Date: May 2004
Location: Belgium
Posts: 82
Thnx, great tip, worth looking into ...
Reply With Quote
  #3  
Old 06-07-2006
V3RT1G0 V3RT1G0 is offline
Forum Member
 
Join Date: May 2006
Posts: 1
wow very nice... will definately use in an app
Reply With Quote
  #4  
Old 08-18-2006
lucasecpc's Avatar
lucasecpc lucasecpc is offline
Indigo Rose Customer
 
Join Date: Jul 2006
Posts: 9
API Key Question

When I go to get an API Key what URL should I enter?
Reply With Quote
  #5  
Old 11-09-2006
altyfc altyfc is offline
Forum Member
 
Join Date: Nov 2006
Posts: 1
We have recently developed a tool that works in conjunction with Google Maps and this might help those of you that want to avoid going down the API route. It's a very simple tool that allows you to quickly create custom Google Maps for free. You plot whatever information you want, and then just grab some code... and you can embed it in a web page, a forum post or in an email.

If you'd like to check it out, the URL is http://www.aardvarkmap.net - any feedback on it would be welcomed.

Thanks

Aaron
Reply With Quote
  #6  
Old 04-29-2009
Zapperz Zapperz is offline
Forum Member
 
Join Date: Apr 2009
Posts: 3
Google maps

I just went to google map, put in my address, found the map area to my house, then copied that URL and then just went to that web site addrss. It worked fine but only the 1st time, I open the link, and I if i leave that page and go back it doesn't refresh and work a second time. I don't know how to use and API or java code, so googles link is nice, but it is over my head technically unless someone would be kind enough to post the code.

I am making business cards and I want the google map to be a button on the contact page i am setting up.

any help would be appriceated
Reply With Quote
  #7  
Old 1 Week Ago
.SWFGames .SWFGames is offline
Forum Member
 
Join Date: Nov 2009
Posts: 20
Is it possible to search for areas using a search box, like on the real google maps?
Reply With Quote
  #8  
Old 1 Week Ago
DaSoulRed's Avatar
DaSoulRed DaSoulRed is offline
Forum Member
 
Join Date: Aug 2007
Posts: 234
How to See Satelite Modo

Well this is a nice one....

I wonder where can change de view mode the default is "map mode"

How can we change to "satelite mode"

here is the code at the html file

<head>
<meta **********="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=YOUR_KEY_HERE"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(21.131038, -101.677494), 13);

}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 716px; height: 408px"></div>
</body>
</html>
Reply With Quote
  #9  
Old 1 Week Ago
holtgrewe holtgrewe is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: Just South of Reality
Posts: 732
DaSoulRed

Quote:
Originally Posted by DaSoulRed View Post
Well this is a nice one....

I wonder where can change de view mode the default is "map mode"

How can we change to "satelite mode"

here is the code at the html file

<head>
<meta **********="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=YOUR_KEY_HERE"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(21.131038, -101.677494), 13);
map.setMapType(G_SATELLITE_MAP);
}
}
//]]>
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map" style="width: 716px; height: 408px"></div>
</body>
</html>
Add the line in red to your HTML...
The default is the road map.
I prefer the Hybrid...(to each his own)


Quote:
Common Map Types
The following map types are commonly used in the Google Maps API:

•G_NORMAL_MAP displays the default road map view
•G_SATELLITE_MAP displays Google Earth satellite images
•G_HYBRID_MAP displays a mixture of normal and satellite views
•G_DEFAULT_MAP_TYPES contains an array of the above three types, useful for iterative processing.
•G_PHYSICAL_MAP displays a physical map based on terrain information.
You can set the map type using the GMap2 object's setMapType() method. For example, the following code sets the map to use the satellite view from Google Earth:

Quote:
var map = new GMap2(document.getElementById("map_canvas"));
map.setMapType(G_SATELLITE_MAP);
hth
Reply With Quote
  #10  
Old 1 Week Ago
DaSoulRed's Avatar
DaSoulRed DaSoulRed is offline
Forum Member
 
Join Date: Aug 2007
Posts: 234
Boom Shaka Laka Paka Naka Draka Thnaks

Good Shoot There...

Thanks, im Using rigth Now...

Nice, thanks.

Remember Enjoy Life Any How...

Until next time Bytes
Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Format AMS autorun CD/VCD tviman AutoPlay Media Studio 5.0 9 04-12-2004 03:20 PM
Pop-up window in AMS 5 Lee_Benson AutoPlay Media Studio 5.0 9 12-25-2003 07:43 AM
(( Right Click Properties Version infomation GraphiX2003 AutoPlay Media Studio 4.0 5 02-10-2003 02:15 AM
Problems integrating Flash johndove1 AutoPlay Media Studio 4.0 1 01-31-2003 01:30 PM
Video Tutorial - Integrating AMS & Flash Buttons Corey AutoPlay Media Studio 4.0 12 08-29-2002 12:20 PM


All times are GMT -6. The time now is 06:20 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software