Can i get a response from someone who works for google please!

71 views
Skip to first unread message

ma...@creatiworks.ca

unread,
Apr 4, 2011, 12:56:43 PM4/4/11
to Google Maps JavaScript API v3
http://www.hindyshomehardware.ca/index.php?id=22

This is my second time posting this. Apparently my last thread
expired or was deleted and the issue was never resolved!

my old thread in case anyone can access it:
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread//7e21ebe1a1e814ed?hl=en&lnk=gst&q=how+can+i+specify#7e21ebe1a1e814ed


I'll try to make this as simple as possible.

-This page uses google custom panorama's
-When the page initially loads the intersection is displayed
-Then you can click on the gray line arrow and it takes you to the
store front.
-I want the page to initially load the store front rather than the
intersection
-How do I do that?

JKurtock

unread,
Apr 4, 2011, 7:53:02 PM4/4/11
to Google Maps JavaScript API v3
As I understand your problem, setting the initial position and
viewpoint when you trigger the panorama is not that difficult.
http://code.google.com/intl/en/apis/maps/documentation/javascript/reference.html#StreetViewPanoramaOptions
You just have to .... oh, wait. I don't work for Google! Never mind.

- Jeff

On Apr 4, 9:56 am, "m...@creatiworks.ca" <m...@creatiworks.ca> wrote:
> http://www.hindyshomehardware.ca/index.php?id=22
>
> This is my second time posting this.  Apparently my last thread
> expired or was deleted and the issue was never resolved!
>
> my old thread in case anyone can access it:http://groups.google.com/group/google-maps-js-api-v3/browse_thread/th...

ma...@creatiworks.ca

unread,
Apr 5, 2011, 7:40:17 AM4/5/11
to Google Maps JavaScript API v3
I'm just very displeased with the support that google has given on
their api. especially since i cannot call them about this i am forced
to post on this forum and wait for weeks for someone to make the right
guess.

Rossko

unread,
Apr 5, 2011, 7:58:46 AM4/5/11
to Google Maps JavaScript API v3
> I'm just very displeased with the support that google has given on
> their api.  

You could ask for your money back ?

davie

unread,
Apr 5, 2011, 8:03:40 AM4/5/11
to Google Maps JavaScript API v3
Hi
As this group is supported by group members it helps if you are more
diplomatic in your requests.
I have not used the panoramic facility but looking at your code the
line
client.getPanoramaByLocation(carbonear_intersection, panoSearchRadius,
function(result, status) {
is pointing to the junction
I suggest you replace with carbonear_intersection with mainentrance
Regards Davie

davie

unread,
Apr 5, 2011, 8:58:05 AM4/5/11
to Google Maps JavaScript API v3
Hi
Or change position to mainentrance
var panoOptions = {
position: carbonear_intersection,
visible: true,
panoProvider: getCustomPanorama,
pov: {heading:350, pitch:-11, zoom:2},
addressControl: false,
enableCloseButton: false
}
and possibly heading
Regards Davie

ma...@creatiworks.ca

unread,
Apr 5, 2011, 4:24:55 PM4/5/11
to Google Maps JavaScript API v3
I don't mean any offense to anyone posting here, I thank anyone who is
trying to help me. But I tried the diplomatic approach last time and
it got me nowhere and my thread was deleted for apparently no reason
other than it was there for a couple weeks! (so i was a little pissed)

anyway is this forum supported by group members only? I figured
people from google would be active on here too looking for ways to
improve their software etc...

i tried:
var panoOptions = {
position: latlng_storefront,
visible: true,
panoProvider: ....

and it just gave me a blank screen with no navigation at all.

i tried:
client.getPanoramaByLocation(latlng_storefront, panoSearchRadius,
function(result, status) {
if (status == google.maps.StreetViewStatus.OK) {
entryPanoId = result.location.pano;

and it loads the intersection but breaks the link between that and my
custom pano's, like there's no arrow to navigate into them.

like if theres no way to do this I suppose i'll just move on but i
wish i could find someone who's familiar enough with the custom pano's
to tell me definitively that its impossible. Again the question
being: Can I load initially on a 'custom' pano

Thanks again

Michael Geary

unread,
Apr 5, 2011, 5:57:34 PM4/5/11
to google-map...@googlegroups.com, ma...@creatiworks.ca
On Tue, Apr 5, 2011 at 1:24 PM, ma...@creatiworks.ca <ma...@creatiworks.ca> wrote:
I don't mean any offense to anyone posting here, I thank anyone who is
trying to help me.  But I tried the diplomatic approach last time and
it got me nowhere and my thread was deleted for apparently no reason
other than it was there for a couple weeks! (so i was a little pissed)

Do you mean this thread:


Your last message in that thread mentions this line of code:

panorama.setPosition('storefront');

That line is giving an error on your current page, because setPosition expects a LatLng, not a string.

Not sure if that's related to the problem or not.

-Mike

MarkMercer

unread,
Apr 6, 2011, 4:17:39 PM4/6/11
to Google Maps JavaScript API v3
Well after fiddling with this some more heres what i got:

I can now get the thing to load the storefront pano initially by
placing this code in the init

panorama.setPano('storefront');
panorama.setPosition(latlng_storefront);

now... when it loads there is no navigation, as in no links to move to
other locations.
furthermore when i refresh/reload the page i get a zoomed out regular
map and continue to get the map at every refresh.
further-furthermore if i leave it alone and come back later and
refresh I get the storefront again, with no navigation again... and so
on.

thanks so far guys, any more ideas?

PS. I also find it strange that you were able to access my old thread
when I searched for it it said it was expired and wouldn't let me
access it.
another strange thing is that link you posted seems to be on a
different looking forum than this one??? its even got a different
favicon. confusing.


On Apr 5, 7:57 pm, Michael Geary <m...@mg.to> wrote:
> On Tue, Apr 5, 2011 at 1:24 PM, m...@creatiworks.ca <m...@creatiworks.ca>wrote:
>
> > I don't mean any offense to anyone posting here, I thank anyone who is
> > trying to help me.  But I tried the diplomatic approach last time and
> > it got me nowhere and my thread was deleted for apparently no reason
> > other than it was there for a couple weeks! (so i was a little pissed)
>
> Do you mean this thread:
>
> https://groups.google.com/d/topic/google-maps-js-api-v3/xB9hG6JFTf0/d...

MarkMercer

unread,
Apr 6, 2011, 4:18:39 PM4/6/11
to Google Maps JavaScript API v3
Well after fiddling with this some more heres what i got:

I can now get the thing to load the storefront pano initially by
placing this code in the init

panorama.setPano('storefront');
panorama.setPosition(latlng_storefront);

now... when it loads there is no navigation, as in no links to move to
other locations.
furthermore when i refresh/reload the page i get a zoomed out regular
map and continue to get the map at every refresh.
further-furthermore if i leave it alone and come back later and
refresh I get the storefront again, with no navigation again... and so
on.

thanks so far guys, any more ideas?

PS. I also find it strange that you were able to access my old thread
when I searched for it it said it was expired and wouldn't let me
access it.
another strange thing is that link you posted seems to be on a
different looking forum than this one??? its even got a different
favicon. confusing.


On Apr 5, 7:57 pm, Michael Geary <m...@mg.to> wrote:
> On Tue, Apr 5, 2011 at 1:24 PM, m...@creatiworks.ca <m...@creatiworks.ca>wrote:
>
> > I don't mean any offense to anyone posting here, I thank anyone who is
> > trying to help me. But I tried the diplomatic approach last time and
> > it got me nowhere and my thread was deleted for apparently no reason
> > other than it was there for a couple weeks! (so i was a little pissed)
>
> Do you mean this thread:
>
> https://groups.google.com/d/topic/google-maps-js-api-v3/xB9hG6JFTf0/d...

en4ce

unread,
Apr 7, 2011, 7:01:22 AM4/7/11
to Google Maps JavaScript API v3
*hand you a tissue.... come one, what you want? complaining about a
free api and the support for it?

if you do not like it--> DONT USE IT, same for the forum... and by the
way why should google answer your questions?... maybe you buy a
premier licence and complain then again ;)

as i read your 1st post i was simply lol...

"anyway is this forum supported by group members only? I figured
people from google would be active on here too looking for ways to
improve their software etc..."

they are ;)

in most cases here are people willing to help, just ask and you will
see it ;)

Rossko

unread,
Apr 7, 2011, 5:20:37 PM4/7/11
to Google Maps JavaScript API v3
> now... when it loads there is no navigation, as in no links to move to
> other locations.

Your VirtualTour.php doctype is suspect as there is white space in
front of it, this can upset some browsers.

Your initialize() code calls startApplication() which sets up a
listener to call createCustomLinks().
The intial pano is set to 'carbonear_intersection'.
initialize() then goes on to request a getPanoramaByLocation for
'carbonear_intersection'.
The pano is then set to 'storefront' - it still has no links at this
stage.
This pano change triggers the call of createCustomLinks() whilst
entryPanoId is still null, so no custom links are created.
Finally, the response from the earlier getPanoramaByLocation returns
and entryPanoId is set to 'carbonear_intersection' ID

I think you need to revise that so that 'storefront' custom links get
set up.

> furthermore when i refresh/reload the page i get a zoomed out regular
> map and continue to get the map at every refresh.

I don't see that behaviour in FF2

MarkMercer

unread,
May 31, 2011, 1:20:20 PM5/31/11
to Google Maps JavaScript API v3
I got it to work!!! kinda

it actually loads into the correct pano now but IE 6 and 7 will not
load anything at all into the map window and in FF3 and 4 I am getting
the same issue of when i reload the page it reverts back to a standard
map zoomed way out (no custom pano's at all)

anyone know why this would happen?

I avoided the function getPanoramaByLocation altogether, in case it
was giving a delayed response. So i hard coded the entryPanoId
Here's the code i used:


function initialize() {

startApplication();

entryPanoId = "3GX01a0fA1reb1PI6Oqm-Q";

panorama.setPano('storefront');
panorama.setPosition(latlng_storefront);
}

function startApplication() {

var mapOptions = {
center: latlng_storefront,
zoom: 7,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map_canvas'),
mapOptions);
panorama = map.getStreetView();
var panoOptions = {
position: latlng_storefront,
visible: true,
panoProvider: getCustomPanorama,
pov: {heading:322, pitch:12, zoom:2},
addressControl: false,
enableCloseButton: false
}
panorama.setOptions(panoOptions);
google.maps.event.addListener(panorama, 'links_changed',
createCustomLinks);
}
Reply all
Reply to author
Forward
0 new messages