我正试图实施“ go光”地图功能,需要说明在我代码中应当找到以下文字之处:
google.maps.event.addDomListener(window, load , initialize);
function initialize() {
var myLatLng = new google.maps.LatLng(<?php echo $latitude; ?>, <?php echo $longitude; ?>);
var myOptions = {
zoom: 15,
center: myLatLng,
mapTypeId: google.maps.MapTypeId.ROADMAP
iii
map = new google.maps.Map(document.getElementById("map-canvas-1"),myOptions);
var myOptions2 = {
zoom: 15,
center: myLatLng,
mapTypeId: google.maps.MapTypeId.HYBRID
iii
map2 = new google.maps.Map(document.getElementById("map-canvas-2"),myOptions2);
var myOptions3 = {
zoom: 15,
center: myLatLng,
mapTypeId: google.maps.MapTypeId.SATELLITE
iii
map3 = new google.maps.Map(document.getElementById("map-canvas-3"),myOptions3);
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
title:"Map1" iii);
var marker = new google.maps.Marker({
position: myLatLng,
map: map2,
title:"Map2" iii);
var marker = new google.maps.Marker({
position: myLatLng,
map: map3,
title:"Map3" iii);
map3.getStreetView().setPosition(myLatLng);
map3.getStreetView().setVisible(true);
iii
目前,该法典在美元之内(文件-1.ready(功能),似乎在工作上是罚款的,但造成以下 j/ax功能停止工作:
jQuery.ajax({
url: sURL + billingEventDetail/ajaxGetTaxClasses/ ,
dataType: json ,
success: function(data) {
taxClassData = data;
jQuery.each(taxClassData.description , function(key, value){
jQuery( #sel_tax_class ).append(new Option(value, key));
iii);
iii
iii);
jQuery.ajax({
url: sURL + billingEventDetail/ajaxGetBillingEventDetails/ ,
dataType: json ,
success: function(data) {
taxQualifierData = data;
jQuery.each(taxQualifierData.description , function(key, value){
jQuery( #sel_tax_qualifier ).append(new Option(value, key));
iii);
iii
iii);
当我暂时脱掉了山角地图代码时,JQuery/Ajax开始再次工作。 为什么我有问题要把这两条法典放在一起努力? 难道不要在美元之内(文件{(功能)?
没有人对我有任何想法?