hi
I have wordpress web site
my theme header.php insert this code
<script type="text/javascript" src="<?php bloginfo('template_url');
?>/script.js"></script>
<link href='http://fonts.googleapis.com/css?family=Lobster'
rel='stylesheet' type='text/css' />
<script
src="http://maps.google.com/maps?file=api&v=2&sensor=true&key=ABQIAAAAEWl5U_PtweO5TCu3tp8BExTOSm1b9UAUTv88nzG45PlPZo3vFBRuFolC5KOzcDF2iCBOPVWygoAhzw"
type="text/javascript"></script>
<script language="Javascript" type="text/javascript"
src="http://www.didimindex.com/map.js"></script>
<style type="text/css" media="screen">
iframe { vertical-align: top; }
</style>
</head>
<body onload='initialize()' <?php if(function_exists('body_class'))
body_class(); ?>>
<div id="map_canvas" style="position: absolute; top: 0; bottom: 0; left: 0;
right: 0; z-index: 0; height: 1999px; overflow: visible; visibility:
visible;"></div>
and
ı use this map.js
map.js code
function initialize() {
var map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(37.1209766451906,27.198715209960938), 12);
var mapControl = new GMapTypeControl();
map.addControl(mapControl);
map.addControl(new GLargeMapControl3D());
map.setMapType(G_HYBRID_MAP);
var point = new GLatLng(37.37711451576145,27.264461517333984);
map.addOverlay(new GMarker(point));
}
/*Google Maps API V3
function initialize() {
var centerLng = new google.maps.LatLng(37.693482,-75.057564);
var myOptions = {
zoom: 10,
center: centerLng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
var markerLng = new google.maps.LatLng(37.693281,-75.075159);
var marker = new google.maps.Marker({
position: markerLng,
map: map,
title:"Hello World!"
}
*/
OKEY THIS SISTEM IT IS WORKING BUT NO USE MAP TOOLS HOW IT USE MAP TOOLS
THANKS
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-api/-/fvp0Nekv46YJ.
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.