Recently i just knew that we can put search on Google Maps.
My friend gave me map code, but he is not here, and would be back for
months.
I am having problem with his code, you see i do not know much about
coding.
I need help please.
Where do i put or combine this code i got?
var map;
if (GBrowserIsCompatible()) {
var mapOptions = {
googleBarOptions : {
style : "new",
adsOptions: {
client: "xxxxxxx",
channel: "xxxxxxx",
adsafe: "high",
language: "en"
}
}
}
map = new GMap2(document.getElementById("map_canvas"), mapOptions);
map.setCenter(new GLatLng(33.956461,-118.396225), 13);
map.setUIToDefault();
map.enableGoogleBar();
}
to my site of map in this part:
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById('map'));
map.setCenter(new GLatLng(0,0), 1);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
var point = new GLatLng(13.00,122.00);var m=new GMarker(point);
var mgm=new GMarkerManager(map);
and codes....
Hope someone could help...
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.