By computer_jin on
Hello,
I am having problem in google map , its showing me "Javascript is required to view this map" when i call google map using ajax.
I am using this code please and review this and tell me how can i solve this problem.
$map_view = array(
'zoom' => 5,
'behavior' => 'autozoom',
'width' => '210px',
'height' => '300px',
'latitude' => $map_latitude,
'longitude'=> $map_longitude,
'maptype' => 'Map',
'markers' =>
$markers,
);
$outfittermap = theme('gmap', array('#settings' => $map_view));
echo '<div id="get_node_map">'.$outfittermap.'</div>';
IF i use same code without ajax and use return to print the map, its working fine.review the code below..
return '<div id="get_node_map">'.$outfittermap.'</div>';
But i have to show google map on ajax request. Can Any one tell me how can i solve this problem ....
Thanks,
Comments
is there any one who can tell
is there any one who can tell me about this problem.....
--
Azhar uddin
Technical Lead
email : engr.azharuddin@gmail.com
skype : computer_jin