On Nov 15, 6:22 am, Jurgis Stepanovs <jurgis.stepan...@gmail.com>
wrote:
> proj is [object]

That doesn't help (what kind of object?).  Please post a link to your
map that shows the problem as requested in the posting guidelines:
http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e

  -- Larry

>
> On 15 nov., 16:18, "geocode...@gmail.com" <geocode...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > On Nov 15, 6:15 am, Jurgis Stepanovs <jurgis.stepan...@gmail.com>
> > wrote:
>
> > > Hi!
>
> > >  I'm trying to use function fromDivPixelToLatLng(), but my code
> > > breaks, I cant understand why? Please help with this code sample,
> > > whats wrong?:
>
> > >                  //map canvas width = 800; height=600
> > >                  var SWpoint = new google.maps.Point(100, 600);
> > >                  var NEpoint = new google.maps.Point(500, 100);
>
> > >                  var proj = mP.getProjection();
>
> > What is the value of proj?
>
> > >                  var latlngSW = proj.fromDivPixelToLatLng(SWpoint);
> > >                  //Javascript Breakes here, not continue.... cant find 
> > > reason :(
> > >                  var latlngNE = proj.fromDivPixelToLatLng(NEpoint);
>
> > > Best regards,
>
> > > Jurgis

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to