json如何获得数据在php中

2025-06-22 19:43:23
推荐回答(1个)
回答1:

var mapOptions = new MMapOptions();
mapOptions.mapId = "fmptest";
mapOptions.zoomLevel = 5;
mapOptions.center = new MLatLng("LQGXRMMVKHDLL", "JIOMSTNTPOLHLH");
var mapObj = new MMap("mapObj", mapOptions);
function drawCustomPointImg(jsonstr){
var jsonstr=arguments[0]?arguments[0]:'';
//传递进来以后就获取不到了!
var pointStyle = new MStyle();
pointStyle.lineColor = 0xff0000;
pointStyle.lineSize = 3;
pointStyle.fillColor = 0xddaabb;
pointStyle.fillOpacity = 100;
pointStyle.labelColor = 0x00ff00;
for(var i=0;i