[Google Maps API v3] Re: Is there any diference between .getPosition() and .lat() .long() methods?

2012-08-15 Thread geocode...@gmail.com
On Aug 15, 4:12 pm, Daniel Montenegro  wrote:
> Hi there, Google Maps folks!
>
> Well, this is the question:
>
> Is there any diference between .getPosition() and .lat() .long() methods?

On what object?  The getPosition method typically returns a
google.maps.LatLng object.

A google.maps.LatLng object tends to have .lat() and .lng() methods
which return the floating point values of those coordinates.

>
> I need to have the marker coordinates on the screen as I click on it. So I
> thought in a event like this:
>
> google.maps.event.addListener(marker, 'click', function() {
>         document.getElementById('coords').value = marker.getPosition();
>     });

That should work assuming marker is defined as a google.maps.Marker
object and is in scope.

>
> To work along such a form:
>
> 
>
> But unfortunnelly, Firebug is giving me a message error, saying that marker
> is not defined.

That is an entirely different problem.  Most likely your "marker"
variable is not in the global scope (it is probably local to some
function).

  -- Larry

>
> Any help would be great!
>
> Daniel

-- 
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-v3@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.



[Google Maps API v3] Using PHP and ORACLE with Google Maps?

2012-08-15 Thread LoveMapping

There is a great example of *Using PHP/MySQL with Google 
Maps*  
which I used on a project about 2 years ago.

However I am now looking for something similar using an *Oracle 11g *database 
utilizing the SDO_GEOMETRY functionality of that database.

Has anybody attempted to integrate Google Maps and Oracle via PHP,  to 
display update insert etc?  White papers of working examples preferably 

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/8OjmJHqmFDEJ.
To post to this group, send email to google-maps-js-api-v3@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.



[Google Maps API v3] Is there any diference between .getPosition() and .lat() .long() methods?

2012-08-15 Thread Daniel Montenegro
Hi there, Google Maps folks!

Well, this is the question: 

Is there any diference between .getPosition() and .lat() .long() methods?

I need to have the marker coordinates on the screen as I click on it. So I 
thought in a event like this:

google.maps.event.addListener(marker, 'click', function() {
document.getElementById('coords').value = marker.getPosition();
});

To work along such a form:



But unfortunnelly, Firebug is giving me a message error, saying that marker 
is not defined.

Any help would be great!

Daniel



-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/7ulh4fai7hUJ.
To post to this group, send email to google-maps-js-api-v3@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.



[Google Maps API v3] Out of Range Error when defining a panorama in a jQuery dialog

2012-08-15 Thread Jason
I want to load a single panorama and its associated links within a jQuery 
dialog.  The code is adapted from my previous code, with the only exception 
being that clicking on the links does nothing.

I can see the StreetView UI elements load, but then an error is fired off.  
It says 

*TypeError: this.l is not a function
(2570 out of range 2548)  main.js (line 2570)*

I installed a javascript deminifier plugin for Firebug and found the 
error.  The main.js file is 2548 lines long, and the declaration required 
is on line 2570.

This only occurs when defining a panorama inside a dialog.  If I define it 
within a page, it works.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/OE3nR3Nzl0MJ.
To post to this group, send email to google-maps-js-api-v3@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.