开发者

Can a Tiff formated image be overlayed onto Google Maps?

Can a TIFF formated image be overlayed onto开发者_运维技巧 Google Maps just as a JPEG can be?


Check the documentation here. The sample code goes like that:

var myLatlng = new google.maps.LatLng(41.875696,-87.624207);
var myOptions = {
  zoom: 11,
  center: myLatlng,
  mapTypeId: google.maps.MapTypeId.ROADMAP
}

var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

var ctaLayer = new google.maps.KmlLayer('http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml');
ctaLayer.setMap(map);

Hope it helps


TIFF needs to be converted to PNG or JPEG

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜