Hi browndash, your problems relate to your use/understanding of zoom levels.
Google.maps displays the world as a cascade of square tiles. Each zoom level is made up of these square tiles, increasing by a power of 2 each time. So; Zoom level 0 = 1 tile (1 by 1) (the entire world is made up from one tile, measuirng 256 by 256 pixels). Zoom level 1 = 4 tiles (2 by 2) Zoom level 2 = 16 tiles (4 by 4) (the entire world is made up from 16 tiles, EACH measuring 256 x 256 pixels). Each tile is square, so your starting image is 1280 x 768 pixels, but will need to be squared off to work properly. In photoshop, just select the background colour and resize your canvas (not image). I would then resize the image to a multiple of 256 (as this is the default tile size in pixels) and a corresponding zoom level. So for example, if you want your maximum zoom level to be 2 – you need to resize your image to create 16 tiles (4 by 4). Well, 4 x 256 = 1024. So resize your image to 1024 x 1024 pixels. Set your max zoom level to 2 and min zoom level to 0. This should generate 21 tiles. (1 for zoomlevel 0, 4 for zoomlevel 1 and 16 for zoomlevel 2). Let us know how that works. Obviously if you want it to work beyond zoom level 2 you will need to make a sufficiently big image, e.g. zoom level 3 (256 tiles, 16 by 16 would require a master image 4,096 pixels wide) On Jul 22, 2:30 pm, browndash <[email protected]> wrote: > Hi, > > I am trying to create a custom overlay for the world map, but I cannot > figure out how to use the photoshop tile cutter correctly together > with the Alignment tool. I have tried a dozen times to run the tile > cutter but I just cant seem to be getting the right tiles. I have > recorded a short video (no audio) to show you my exact process. > > http://screencast.com/t/YTM3MDM0ZG > > You can view the output here :http://rocana-nigeria.com/gmapv3/ > > image:http://rocana-nigeria.com/gmapv3/map-ready.jpg > > Any help or tips will be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
