<span class="gmail_quote"></span><div style="direction: ltr;">Kyle, <br><br>&nbsp;&nbsp; How did you georeferenced your image?<br>&nbsp;&nbsp; Take a look in your georeferencing data...<br>&nbsp;&nbsp; If you used a worldfile, you can see some diference between X and Y values?
<br><br>&nbsp;&nbsp; In another project, my images are all LatLon.
<br>&nbsp;&nbsp; I wrote the same value of X in Y, only changed the signal.
<br><br>&nbsp;&nbsp; But doing this, the tiles with 256x256 will overlap in
vertical axis due to mercator projection. Now, after computing both X
(Left-Right) and Y (Bottom-Top) i got right result.<br><br>&nbsp;&nbsp;
Inspecting you javascript code I found that you still using gmaps
version 1. I sugest that you change to version2, because of better
support for custom tiles.
<br><br>&nbsp;&nbsp; And note that the initial zoom is 4. This zoom level in
G_MAP_TYPE correspond to 12m/Pixel. Are you sure that your building is
too large?<br><br>&nbsp;&nbsp; If it is this the location of you data: <a href="http://maps.google.com/?ll=42.291532,-83.714447&amp;spn=0.028508,0.058537&amp;t=k" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://maps.google.com/?ll=42.291532,-83.714447&amp;spn=0.028508,0.058537&amp;t=k</a><br>&nbsp;&nbsp; seems that you need to try to correct this!<br>&nbsp;&nbsp; <br><br> - - - V2 SAMPLE - - - <br><pre>    //CUSTOM Layer<br>    var N_SATELLITE_LAYER = new GTileLayer(new GCopyrightCollection(&quot;&quot;), 0, 18);
<br><br>    N_SATELLITE_LAYER.hostName = '<a href="http://dude.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dude.com</a>';<br>    N_SATELLITE_LAYER.pUpLeft  = new GPoint(0,0);<br>    N_SATELLITE_LAYER.pTopRight = new GPoint(0,0);
<br>    N_SATELLITE_LAYER.getTileUrl = function(a,b,c) {<br><br>        var url = G_SATELLITE_MAP.getTileLayers()[0].getTileUrl(a,b,c);<br>        if (this.hostName){<br>           url = url.replace(/(google.com\/([m|k][t|h]))/i, 
this.hostName+&quot;/$2/&quot;);<br>        };<br>        if (<br>url.match(this.hostName)){<br>            var ts = 256;<br>            this.pUpLeft.x   = a.x*ts;<br>            this.pUpLeft.y   = a.y*ts;<br>            
this.pTopRight.x = (a.x+1)*ts;<br>            this.pTopRight.y = (<br>a.y+1)*ts;<br>            var ul = G_SATELLITE_MAP.getProjection().fromPixelToLatLng(this.pUpLeft, b, c);<br>            var br = G_SATELLITE_MAP.getProjection().fromPixelToLatLng(
this.pTopRight, b, c);<br>            var bbox = <br>ul.x + &quot;,&quot; + ul.y + &quot;,&quot; + br.x + &quot;,&quot; + br.y;<br>            url += '&amp;maxzoom=18&amp;box='+ bbox;<br>        };<br>        return url;<br>
    }</pre><br><pre>   var Layer2=[N_SATELLITE_LAYER];<br><br>   var N_SATELLITE_MAP = new GMapType(Layer2, G_SATELLITE_MAP.getProjection(), 'MAP', G_SATELLITE_MAP);<br>   <br>  &nbsp;var map = new GMap2(&lt;your div&gt;);<br>
   map.getMapTypes().length = 0;<br>   map.addMapType(N_SATELLITE_MAP);<br><br>   map.addControl(new GSmallMapControl());<br>   map.addControl(new GMapTypeControl());<br> &nbsp; map.setCenter(new GLatLng(42.291532,-83.714447), 14);
</pre> - - - V2 SAMPLE - - - <br><br>&nbsp; OBS.: I'm using a proxy php to do caching and other verifications.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Change the getTileUrl to your need. <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; And note that itīs returning BBOX in TopLeft,BottomRight; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Not BottomLeft,TopRight as WMS use...<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I used the satellite map type. So itīs serving jpg files.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If you need to use png override the isPNG() function to return true.<br><br>Best Regards,<br></div><div style="direction: ltr;"><span class="sg">Luiz Vaz

</span></div>