我在我的项目中使用GoogleMap API,通过使用数据库中的数据渲染特定车辆的位置,我已经实现了这一点,我的问题是如果它有可能获得标记上的数字,一直在1 100个地方Decembre 2,我想有从1到100的数字开始显示还挺其路径,这是建立我的谷歌API的标记功能:Google Map API标记上的数字?
function createMarker(point, IMEI, Velocity, Ora, Data) {
var marker = new GMarker(point, iconBlue);
var html = "<b>" + "Ora: " + "</b>" + Ora + "<br/>" + "<b>" + "Data: " + "</b>"+ Data + "<br/>" + "<b>" + "Velocità: " + "</b>" + Velocity + " km/h" ;
GEvent.addListener(marker, 'click', function() {
marker.openInfoWindowHtml(html); });
return marker;
}
感谢您的时间!