On Dec 17, 2:02 pm, savgoran <[email protected]> wrote: > > On example, about Mike's tutorial: > why he put these values: > 1. new GCopyright(1, new GLatLngBounds(new GLatLng > (53.8136257,-3.0981445),new GLatLng(53.8654855,-2.9663944) ), 14, > "Ordnance Survey"); > > from where come this values GLatLng(53.8136257,-3.0981445),new GLatLng > (53.8654855,-2.9663944)? > > 2. map.setCenter(new GLatLng(53.852,-3.038), 14, custommap); How to > know this?
GCopyright is explained here: http://code.google.com/apis/maps/documentation/reference.html#GCopyright -- the parameters are: * a unique id; * a bounds object which defines the area to which the copyright applies (a GLatLngBounds object takes the southwest and northeast corners) * the minimum zoom * the copyright string The setCenter() centres the map in the area of the custom map. That's determined by hand because you know the area of the custom map. I haven't used a tilecutter script and don't have Photoshop, but presumably you need to supply the lat and long of the edges of your untiled custom map image. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
