Hi Larry, Thanks for your time, I explain step by step how to reproduce the error.
If you switch to the new map type control, which is called BASE, you will be able to see my custom GProjection. This map as a mouse click listener. When the user clicks on the map, this event is fired and creates a new marker. The troubles are here. The marker is added at wrong position. If you see at GLog, the mouse click at latlng, and his transformation to utm also is correct. But the marker is added at x=0. I don't now if it's a bug, on the click in a custom gprojecction, or it's a mistake on my code. Also if you try to do a zoom with the mouse wheel, the zoom isn't done correctly, the red zoom box is shown at x=0. Thanks to all. Moli On Jan 13, 3:49 pm, "[email protected]" <[email protected]> wrote: > On Jan 13, 2:59 am, Moli <[email protected]> wrote: > > > Hi at all, > > Thanks for your answers. > > > I'm using firefox 3.5 on fedora 9. > > But the problem is located at adding new markers on map click, at the > > maptype BASE. The map type base is using custom GProjection. > > I figured that out after I had posted, but haven't had time to > investigate the issues there. You weren't very clear about how to > reproduce the problem (I'm sure it is obvious to you). > > -- Larry > > > > > When I zoom in, on this map type, doesn't work. And when I add a > > marker at mouse click, is added at x=0 (on my custom projection). > > > the mouse click seem to pass to the pixeltoLanLng(point,zoom), the > > point have a NaN value at x. > > > I have tested on a ie8, and the error it's the same. > > > thanks. > > Moli > > > On Jan 13, 3:13 am, "[email protected]" <[email protected]> > > wrote: > > > > Works for me in IE6 > > > 18:11:39:197CLICK latlon:(42.11859868281563, 1.58203125) > > > 18:11:41:135CLICK latlon:(42.06764572379527, 1.8182373046875) > > > 18:11:41:885CLICK latlon:(41.85115059465234, 1.45843505859375) > > > 18:11:42:463CLICK latlon:(41.96357478222518, 1.7138671875) > > > > On Jan 12, 6:02 pm, Grok Lobster <[email protected]> wrote: > > > > > Seems to work for me using IE8. Here's the log report > > > > 18:12:25:375CLICK latlon:(42.00032514831621, 1.900634765625) > > > > 18:12:27:953CLICK latlon:(42.19189902447192, 2.41973876953125) > > > > 18:12:31:859CLICK latlon:(41.86547012230937, 1.351318359375) > > > > Works for me in IE6 > > > 18:11:39:197CLICK latlon:(42.11859868281563, 1.58203125) > > > 18:11:41:135CLICK latlon:(42.06764572379527, 1.8182373046875) > > > 18:11:41:885CLICK latlon:(41.85115059465234, 1.45843505859375) > > > 18:11:42:463CLICK latlon:(41.96357478222518, 1.7138671875) > > > > What browser are you using? > > > > -- Larry > > > > > On Jan 12, 8:45 am, Moli <[email protected]> wrote: > > > > > > I'm developing a custom Gprojection, utm ed50 zone 31. > > > > > > When I add a marker on a mouse click event, the marker is added at > > > > > x=0. > > > > > Also when I fire a whell mouse zoom, the zoom doesn't work, firing at > > > > > function fromPixelToLatLng, with value point.x=NaN. > > > > > > I don't know if it's a bug or I done some mistakes > > > > > > You can see a demo > > > > > at:http://demo.iogeo.com/gmaps/gproj/tile_custom_maptype_ed50G.html > > > > > > Many Thanks > > > > > Moli.- Hide quoted text - > > > > > - Show quoted text -
-- 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.
