Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
clickable layers not working plus centering map
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
justawebbie  
View profile  
 More options Feb 3, 10:53 am
From: justawebbie <slrobe...@alaska.edu>
Date: Fri, 3 Feb 2012 07:53:54 -0800 (PST)
Local: Fri, Feb 3 2012 10:53 am
Subject: clickable layers not working plus centering map

Hi, I seem to have something not quite yet in my map.  I combined my
maptiler images and 2 fusion table layers onto a google map.  

The problem I am having is the toggling between my fusion table layes is
not working.  I
would like the Campus markers to load then if you want to see the
Sustainability ones you can click Campus off and turn on Sustainability.  

Plus the center is not center like it should to.

URL: http://www.justawebbie.freehostingcloud.com/test-map4.html<http://www.google.com/url?sa=D&q=http://www.justawebbie.freehostingcl...>
Would someone please take a look at it and let me know what i did wrong,
thank you so much for the help,


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kathryn from Fusion Tables Team  
View profile  
 More options Feb 8, 2:58 pm
From: Kathryn from Fusion Tables Team <googletables-feedback+kath...@google.com>
Date: Wed, 8 Feb 2012 11:58:35 -0800
Local: Wed, Feb 8 2012 2:58 pm
Subject: Re: [FT] clickable layers not working plus centering map

Hi there,

Try removing the following line from your initialize method:

layer2.setMap(map);

To center the map correctly, edit the latitude, longitude coordinates in
the following line:

map.setCenter(new google.maps.LatLng(64.8504701658,-147.856123924));

Cheers,
Kathryn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
justawebbie  
View profile  
 More options Feb 8, 3:30 pm
From: justawebbie <slrobe...@alaska.edu>
Date: Wed, 8 Feb 2012 12:30:58 -0800 (PST)
Local: Wed, Feb 8 2012 3:30 pm
Subject: Re: [FT] clickable layers not working plus centering map

thank you that worked on my click-able layers I figured I did something
silly in that respect.  The Center coordinates are correct and would like
it to start at zoom level 14.  I have been trying different things and
reading on it but since I converted it from api 2 to api 3 I can not for
the life of me get this to work.  I know it is something so basic and silly
on my part since I am trying to learn and teach myself all this code.

thank you again for all your help and if anyone has any ideas on what I did
wrong please let me know.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
geocodezip@gmail.com  
View profile  
 More options Feb 8, 3:40 pm
From: "geocode...@gmail.com" <geocode...@gmail.com>
Date: Wed, 8 Feb 2012 12:40:08 -0800 (PST)
Local: Wed, Feb 8 2012 3:40 pm
Subject: Re: clickable layers not working plus centering map
On Feb 8, 12:30 pm, justawebbie <slrobe...@alaska.edu> wrote:

> thank you that worked on my click-able layers I figured I did something
> silly in that respect.  The Center coordinates are correct and would like
> it to start at zoom level 14.  I have been trying different things and
> reading on it but since I converted it from api 2 to api 3 I can not for
> the life of me get this to work.  I know it is something so basic and silly
> on my part since I am trying to learn and teach myself all this code.

Did you try map.setZoom(14); right after do the map.setCenter?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
justawebbie  
View profile  
 More options Feb 8, 3:43 pm
From: justawebbie <slrobe...@alaska.edu>
Date: Wed, 8 Feb 2012 12:43:23 -0800 (PST)
Local: Wed, Feb 8 2012 3:43 pm
Subject: Re: clickable layers not working plus centering map

Oh yes I have tried that and even looked for tiny mistakes but I think I am
just overlooking something small.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
geocodezip@gmail.com  
View profile  
 More options Feb 8, 5:15 pm
From: "geocode...@gmail.com" <geocode...@gmail.com>
Date: Wed, 8 Feb 2012 14:15:31 -0800 (PST)
Local: Wed, Feb 8 2012 5:15 pm
Subject: Re: clickable layers not working plus centering map
On Feb 8, 12:43 pm, justawebbie <slrobe...@alaska.edu> wrote:

> Oh yes I have tried that and even looked for tiny mistakes but I think I am
> just overlooking something small.

Looking at the page to which you posted a link, the map.setZoom is
just before the map.setCenter, not after it.

  -- Larry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
justawebbie  
View profile  
 More options Feb 10, 1:47 pm
From: justawebbie <slrobe...@alaska.edu>
Date: Fri, 10 Feb 2012 10:47:33 -0800 (PST)
Local: Fri, Feb 10 2012 1:47 pm
Subject: Re: clickable layers not working plus centering map

I moved it around Larry and well still not working.  I am just not sure
what tiny silly mistake I have made on this.

http://www.justawebbie.freehostingcloud.com/test-map4.html


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
geocodezip@gmail.com  
View profile  
 More options Feb 10, 2:56 pm
From: "geocode...@gmail.com" <geocode...@gmail.com>
Date: Fri, 10 Feb 2012 11:56:51 -0800 (PST)
Local: Fri, Feb 10 2012 2:56 pm
Subject: Re: clickable layers not working plus centering map
On Feb 10, 10:47 am, justawebbie <slrobe...@alaska.edu> wrote:

> I moved it around Larry and well still not working.

Maybe you could explain what you mean by "not working".  When I go to
the link below, the map reports it is at zoom level 14.

  -- Larry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kathryn from Fusion Tables Team  
View profile  
 More options Feb 10, 6:00 pm
From: Kathryn from Fusion Tables Team <googletables-feedback+kath...@google.com>
Date: Fri, 10 Feb 2012 15:00:22 -0800
Local: Fri, Feb 10 2012 6:00 pm
Subject: Re: [FT] Re: clickable layers not working plus centering map

There are some good answers here:

http://stackoverflow.com/questions/9233018/google-map-zoom-and-center...

Cheers,
Kathryn

On Fri, Feb 10, 2012 at 11:56 AM, geocode...@gmail.com <geocode...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
justawebbie  
View profile  
 More options Feb 13, 2:22 pm
From: justawebbie <slrobe...@alaska.edu>
Date: Mon, 13 Feb 2012 11:22:27 -0800 (PST)
Local: Mon, Feb 13 2012 2:22 pm
Subject: Re: clickable layers not working plus centering map
Thank you I have it fixed and working.  I do appreciate everyone's
help with my silly mistakes one day i will be good at this.

Thank you,
~s

On Feb 10, 2:00 pm, Kathryn from Fusion Tables Team <googletables-


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »