[Google Maps API v3] Google Street View Update

2011-10-14 Thread jesar james
I believe, I'm currently using the old version of Google Street View
since the features of it are still limited:
http://dev.hotelsnearplace.com/singapore-flyer-41797.htm
How can I turn it into the new, fully featured Google Street View?
http://maps.google.com/maps?q=1.289487,103.862846&layer=c&z=17&iwloc=A&sll=1.289487,103.862847&cbp=13,115.3,0,0,0&cbll=1.289609,103.862589&hl=en&ved=0CA8Q2wU&sa=X&ei=au6XTqOqD5DomAXStJ3NBA

-- 
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] Re: Left-side panel

2011-06-30 Thread jesar james
Ahh..okay. So what should I do to have a more accurate search result?
And how can I have multiple results with one search?

On Jul 1, 2:42 am, Rossko  wrote:
> > By the way, so if I get it right, the information placed/displayed on
> > the left panel of Google Maps came from Google Places?
>
> I don't think anyone said that.  maps.google.com does what it does,
> Places does what it does.  There's probablky lots in common but I
> doubt they use identical resurces or use them in the same way.
>
> > And is the documentation on Google Places (http://code.google.com/apis/
> > maps/documentation/places/) updated?
>
> I don't know, you can see for yourself as well as I can.
>
> > Because I tried to use the code
> > "https://maps.googleapis.com/maps/api/place/search/json?
> > location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&sensor=­false&key=AIzaSyAiFpFd85eMtfbvmVNEYuNds5TEF9FjIPI"
> >  (using
> > my own API key) to test whether it will return results in JSON...but
> > it didn't.
>
> What did it return instead?

-- 
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] Re: Left-side panel

2011-06-30 Thread jesar james
Yup, that's what I've been doing while waiting for replies here on my
post..thank you!
By the way, so if I get it right, the information placed/displayed on
the left panel of Google Maps came from Google Places?
And is the documentation on Google Places (http://code.google.com/apis/
maps/documentation/places/) updated? Because I tried to use the code
"https://maps.googleapis.com/maps/api/place/search/json?
location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&sensor=false&key=AIzaSyAiFpFd85eMtfbvmVNEYuNds5TEF9FjIPI"
 (using
my own API key) to test whether it will return results in JSON...but
it didn't.

On Jun 30, 4:46 pm, Rossko  wrote:
> > Is there a way to tap into Google's search result on the left
> > panel of maps.google.com?
>
> That would be a question for maps.google.com 
> grouphttp://www.google.com/support/forum/p/maps?hl=en
>
> The geocoder does its best to identify a single address as best it can
> from user input.  It is not purposed for searching an area or a range
> of addresses, it does not search business names.
>
> If you want those kinds of results you might try the Places 
> APIhttp://code.google.com/apis/maps/documentation/places/

-- 
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] Re: Left-side panel

2011-06-30 Thread jesar james
I've checked that earlier and I've found nothing related to multiple
results in 1 google maps search. But thank you though.

On Jun 30, 2:42 pm, veeresh hiremath  wrote:
> *gmap3*.net/examples.html
>
>
>
>
>
>
>
> On Thu, Jun 30, 2011 at 11:54 AM, jesar james  wrote:
> > How can I get multiple results with one google maps search? I'd like
> > to get, at least, the first 3 top results once I searched for a
> > location like "69th Regiment Armory, New York, USA".
>
> > --
> > 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.

-- 
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] Re: Left-side panel

2011-06-29 Thread jesar james
How can I get multiple results with one google maps search? I'd like
to get, at least, the first 3 top results once I searched for a
location like "69th Regiment Armory, New York, USA".

-- 
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] Left-side panel

2011-06-29 Thread jesar james
I'm having problems with the coordinates I'm getting from Google Maps
Geocode. Is there a way to tap into Google's search result on the left
panel of maps.google.com?

http://www.flickr.com/photos/40211482@N07/5886975556/lightbox/

-- 
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] Re: Can anyone teach me how to use "types[]" and "address_components[]"?

2011-06-02 Thread jesar james
How can I share my link if I'm working on a localhost?
My main problem is extracting the City & Country from
a search result. Unfortunately, I'm not familiar working
with JSON and multi-dimensional arrays.
I'm a noob at my noobest. >_< ;

On Jun 2, 7:52 am, JKurtock  wrote:
> Your code snippet appears to assume that the Postal Code is always at
> array position 5.  Instead, you need to scan through the array
> examining results[0].address_components[i].types, to find
> "postal_code," which may be at differing values of "i".  (same for
> type "street_number", "route", "locality,political", etc.)
>
> If that isn't your problem, then your problem is likely to be
> elsewhere than in your snippet.  That's why you are asked (in the
> posting guidelines) to post a link to a (nearly) working version.  You
> are more likely to get useful help that way.
>
> - Jeff
>
> On Jun 1, 11:09 pm, jesar james  wrote:
>
>
>
>
>
>
>
> > Can anyone teach me how to use "types[]" and "address_components[]"?
> > Because I'm having a hard time retrieving address information with my
> > code.
>
> > // Display Street Address
> > document.getElementById('txtStreet').value =
> > results[0].address_components[1].long_name+"
> > "+results[0].address_components[2].long_name;
> > // Display City
> > document.getElementById('txtCity').value =
> > results[0].address_components[3].long_name;
> > // Display Country
> > document.getElementById('txtCountry').value =
> > results[0].address_components[4].long_name;
> > // Display Postal Code / ZIP
> > document.getElementById('txtPostal').value =
> > results[0].address_components[5].long_name;
>
> > Thank you!

-- 
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] Can anyone teach me how to use "types[]" and "address_components[]"?

2011-06-01 Thread jesar james
Can anyone teach me how to use "types[]" and "address_components[]"?
Because I'm having a hard time retrieving address information with my
code.

// Display Street Address
document.getElementById('txtStreet').value =
results[0].address_components[1].long_name+"
"+results[0].address_components[2].long_name;
// Display City
document.getElementById('txtCity').value =
results[0].address_components[3].long_name;
// Display Country
document.getElementById('txtCountry').value =
results[0].address_components[4].long_name;
// Display Postal Code / ZIP
document.getElementById('txtPostal').value =
results[0].address_components[5].long_name;

Thank you!

-- 
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] Data Retrieval

2011-05-29 Thread jesar james
How do I get/retrieve information such as the Country and City (or
even the Street) in Google Maps? Are there functions in Google Maps
API that give out such information? How do I use them? Help, I'm a
noob in this kind of app development. Thanks!! =)

-- 
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] Re: Marker V3 and Draggable Marker V3 did not appear on my browser.

2011-05-21 Thread jesar james
I've edited my code and put the "map" outside the function
"initialize",
but still nothing happened.

On May 19, 5:18 pm, Rossko  wrote:
> All you functions are defined in local scope inside initialize, your
> 'map' is also in local variable scope.  Thats probably going to cause
> you problems when you're using asynchronous functions.
>
> If you want help with your version that doesn't work, its most
> effective to share a link to your non-working page.

-- 
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] Re: Marker V3 and Draggable Marker V3 did not appear on my browser.

2011-05-19 Thread jesar james
Thank you for replying! I am using Firefox 4.0.1, IE 7 and Google
Chrome
on Windows 7. Well, after tinkering with my codes I was able to make
the
Marker appear on my page. The problem is...I have to hard-code it
instead
of letting the Geolocation determine where to put it.

Here's my code:

function initialize() {
var myOptions = {
zoom: 17,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new
google.maps.Map(document.getElementById("map_canvas"),myOptions);


// Try W3C Geolocation (Preferred)
if(navigator.geolocation) {
browserSupportFlag = true;

navigator.geolocation.getCurrentPosition(function(position) {
initialLocation = new
google.maps.LatLng(position.coords.latitude,position.coords.longitude);
map.setCenter(initialLocation);
}, function() {

handleNoGeolocation(browserSupportFlag);
});
}
// Try Google Gears Geolocation
else if (google.gears) {
browserSupportFlag = true;
var geo = 
google.gears.factory.create('beta.geolocation');

geo.getCurrentPosition(function(position) {
initialLocation = new
google.maps.LatLng(position.latitude,position.longitude);

map.setCenter(initialLocation);
}, function() {

handleNoGeoLocation(browserSupportFlag);
});
}
// Browser doesn't support Geolocation
else {
browserSupportFlag = false;
handleNoGeolocation(browserSupportFlag);
}


function handleNoGeolocation(errorFlag) {
if (errorFlag == true) {
alert("Geolocation service 
failed.");
} else {
alert("Congratulations, 
Geolocation service works!");
} // end if (errorFlag == true)
map.setCenter(initialLocation);
} // end function handleNoGeolocation(errorFlag)


// Asynchronously Loading the Javascript API
function loadScript() {
var script = 
document.createElement("script");
script.type = "text/javascript";
script.src = 
"http://maps.google.com/maps/api/js?
sensor=false&callback=initialize";
document.body.appendChild(script);
} // end function loadScript()
window.onload = loadScript;


// Display marker based on LatLng values
var marker = new google.maps.Marker({
map: map,
position: new 
google.maps.LatLng(14.694562,121.043984), /*HARD-
CODED LatLng Coordinates*/
draggable: true
});
} // end function initialize()



On May 18, 11:32 pm, Chris Broadfoot  wrote:
> What browser and operating system are you using? Can you replicate this on
> another computer? Can you take a screenshot, please?
>
> Can you see the marker in the page you linked? If so, could you please link
> to your own test/demo pages that you're having troubles with.
>
>
>
>
>
>
>
>
>
> On Thu, May 19, 2011 at 1:21 PM, jesar james  wrote:
> > Hello, I'm a noob in using/developing Google Maps JavaScript API v3.
> > I'm having a problem with my test/demo pages
> > when it comes to the Marker V3 and Draggable Marker V3

[Google Maps API v3] Marker V3 and Draggable Marker V3 did not appear on my browser.

2011-05-18 Thread jesar james
Hello, I'm a noob in using/developing Google Maps JavaScript API v3.
I'm having a problem with my test/demo pages
when it comes to the Marker V3 and Draggable Marker V3. They didn't
appear on any of my test/demo pages.
I even tried copying the codes from 
http://code.google.com/apis/ajax/playground/#draggable_marker_v3
but still, no
Marker/Draggable Marker was displayed. What could I have been doing
wrong? Why do such things happen?

I hope to hear from any of you soon. Thank you! ^_^

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