I should also mention my auto cutter script settings: var HighestZoomLevel = 6; var LowestZoomLevel = 1; var OrgX = 1; var OrgY = 1; var OrgZoomLevel = 6; var PixelWidth = 256; var PixelHeight = 256;
The original image is 16384px x 16384px On Dec 19, 5:04 pm, adameepoo <[email protected]> wrote: > Thanks for taking a look. I tried generating new tiles with a > mercator projection and the map still does the same thing. The last > zoom level (6) is offset about half a tile to the top left. > > The source i used is > here:http://upload.wikimedia.org/wikipedia/commons/f/f7/Normal_Mercator_ma... > The map is at the same place:http://dev.hwangonline.com/ > > Any ideas? > > Thanks, > Adam > > On Dec 19, 3:16 am, String <[email protected]> wrote: > > > Hi, > > > It's the tiles. An easy way to see this is with the Web Developer > > toolbar in FF; select Outline > Custom Elements and enter "img", which > > will draw lines around all images on the page - including GMaps tiles. > > > I would think that the root of your problem is that your source map > > image is the wrong map projection - I can tell by looking at it that > > it's equirectangular, while GMaps uses Mercator. The easiest place to > > see this is in the shape of Greenland. In order to use this image with > > the GMaps API, you'll need to reproject it, and that will require some > > work. I do my reprojections manually in PHP; perhaps someone else on > > the group can chime in if they know an easier, non-programming-based > > approach. > > > HTH, > > > String > > -- > > Sterling Udell > > Author, Beginning Google Maps > > Mashupshttp://www.apress.com/book/view/9781430216209 > > > On Dec 19, 6:08 am, adameepoo <[email protected]> wrote: > > > > i have a custom map that can zoom from 2 - 6. the map works perfectly > > > until you zoom from level 5 to level 6, the map shifts up about half a > > > tile > > > > im not sure if its the tiles, but they were cut with the mapki auto > > > tile cutter photoshop script, which i've tried a few times now and > > > always get the same results. > > > > i've tried searching the web and this group, but honestly dont even > > > know what to call this problem or how to even describe it really. if > > > anybody has any thoughts or insight, it'd be greatly appreciated. > > > > the map is at: http://dev.hwangonline.com/ > > > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
