08 2012 档案
摘要:板块:技术作者:文/ Pascal Buirey 译/Amanda编者按:我分析了google map的工作原理,特别是如何进行tiles编码。Google map使用预着色tiles,可以通过一个简单的url地址实现。作者简介:来源: 我分析了google map的工作原理,特别是如何进行tiles编码。Google map使用预着色tiles,可以通过一个简单的url地址实现。这篇文章将解释如何从地理坐标(经纬度)建立tile的url地址。Map tile编码 Google map使用两种算法对tile的位置进行编码。 对于Google map,tile的url地址类似于:http:...
阅读全文
摘要:例(function(){ if(typeof Drag != "undefined") { var _Drag = Drag; } //此处声明Drag类 //--elementid:要移动元素的ID var Drag = window.Drag = function(elementid){ var thisDrag = this; this.DifWidth = 0; this.DifHeight = 0; this.thisDivDrag = document.getElementByIdx_x_x_x_x_x(elementid); this.thisDivDrag
阅读全文

浙公网安备 33010602011771号