开发者

Can a Tiff formated image be overlayed onto Google Maps?

开发者 https://www.devze.com 2023-02-03 07:36 出处:网络
Can a TIFF formated image be overlayed onto开发者_运维技巧 Google Maps just as a JPEG can be?Check the documentation here.

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

精彩评论

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