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
Suggestions on v2.78
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
  15 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 was successful
 
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
 
bencrox@gmail.com  
View profile  
 More options Apr 18 2007, 9:25 pm
From: "benc...@gmail.com" <benc...@gmail.com>
Date: Thu, 19 Apr 2007 01:25:28 -0000
Local: Wed, Apr 18 2007 9:25 pm
Subject: Suggestions on v2.78
It is great to see better "Scroll to Zoom" support in official GMap
API and blog.
I have been implementing and advertising this feature even before
Google does its own.
Google makes its far better version later on. Cheers!

It is essential to capture and stop further propagation of the scroll
event once it is implying change inside the map widget. For example,
when I am reading on the google map api blog, I find that rolling the
wheels results two changes. The web page is scrolled. The map responds
later. That is somehow confusing.

I am quite sure that a piece of java-script is enough to solve the
problem in IE, FF, Op, etc. It would be nice if the Official GMap API
Blog suggest its own. At lease, warn people not to make too long pages
with the Map /w "Scroll to Zoom" feature.

Regards
--
Ben Crox dot Info


 
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.
Crescent Fresh  
View profile  
 More options Apr 18 2007, 10:04 pm
From: Crescent Fresh <i.jay...@gmail.com>
Date: Wed, 18 Apr 2007 19:04:09 -0700
Local: Wed, Apr 18 2007 10:04 pm
Subject: Re: Suggestions on v2.78
if(mapDiv.addEventListener)
    mapDiv.addEventListener('DOMMouseScroll', function(e)
{e.preventDefault()}, false))
else if(mapDiv.attachEvent)
    mapDiv.attachEvent('onmousewheel', function()
{event.returnValue=false})

- Fresh

On Apr 18, 9:25 pm, "benc...@gmail.com" <benc...@gmail.com> wrote:


 
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.
Hubo  
View profile  
 More options Apr 19 2007, 4:08 am
From: Hubo <hubo...@gmail.com>
Date: Thu, 19 Apr 2007 08:08:23 -0000
Local: Thurs, Apr 19 2007 4:08 am
Subject: Re: Suggestions on v2.78
This is correct code: (previous has errors)
if (map.addEventListener)
        map.addEventListener("DOMMouseScroll", function(e)
{ e.preventDefault(); }, false);
else if (map.attachEvent)
        map.attachEvent("onmousewheel", function() { event.returnValue =
false; });

Crescent Fresh napísal(a):


 
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.
Hubo  
View profile  
 More options Apr 19 2007, 4:42 am
From: Hubo <hubo...@gmail.com>
Date: Thu, 19 Apr 2007 08:42:26 -0000
Local: Thurs, Apr 19 2007 4:42 am
Subject: Re: Suggestions on v2.78
Previous code won't work for me as well. I have to use:
GEvent.addDomListener(map.getContainer(), "DOMMouseScroll",
function(oEvent) { if (oEvent.preventDefault)
oEvent.preventDefault(); });

Hubo napísal(a):


 
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.
ajcartmell@fonant.com  
View profile  
 More options Apr 19 2007, 5:27 am
From: "ajcartm...@fonant.com" <ajcartm...@fonant.com>
Date: Thu, 19 Apr 2007 09:27:57 -0000
Local: Thurs, Apr 19 2007 5:27 am
Subject: Re: Suggestions on v2.78
My solution, which seems to work in Opera (9.20), IE (7) and Firefox
(2):

    //----- Stop page scrolling if wheel over map ----
    function wheelevent(e)
    {
        if (!e) e = window.event;
        if (e.preventDefault) e.preventDefault();
        e.returnValue = false;
    }
    GEvent.addDomListener(mapDiv, "DOMMouseScroll", wheelevent);
    mapDiv.onmousewheel = wheelevent;

mapDiv is the <div> element that the map is applied to.

Haven't managed to test IE6, as the scroll wheel doesn't seem to work
in MS Virtual PC :(


 
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.
mapperz@googlemail.com  
View profile  
 More options Apr 19 2007, 6:43 am
From: "mapp...@googlemail.com" <mapp...@googlemail.com>
Date: Thu, 19 Apr 2007 03:43:32 -0700
Local: Thurs, Apr 19 2007 6:43 am
Subject: Re: Suggestions on v2.78
I agree, have you noticed that the click and pan works with the scroll
wheel on the mouse, so zooming in and pan becomes one.
side enable mouse wheels also nudge the map like a stepping pan.

http://googlemapsapi.blogspot.com/2007/04/v278-go-ahead-scroll-your-m...
for users who have not seen the official blog.

Class Description
http://www.google.com/apis/maps/documentation/reference.html#GPolygon

What's next? Encoded Polygons inside polygons? (Doughnut Polygons)

Good work Google Maps API Team - so close now to being a Google GIS
API  :)

mapperz
http://mapperz.blogspot.com/

On Apr 19, 2:25 am, "benc...@gmail.com" <benc...@gmail.com> wrote:


 
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.
tomotomocacchiocacchio@gm ail.com  
View profile  
 More options Apr 19 2007, 9:23 am
From: "tomotomocacchiocacc...@gmail.com" <tomotomocacchiocacc...@gmail.com>
Date: Thu, 19 Apr 2007 06:23:03 -0700
Local: Thurs, Apr 19 2007 9:23 am
Subject: Re: Suggestions on v2.78
I have noticed that you have also to modify the URL of the key: if you
use v=2&amp; the map will not load because the method
map.enableScrollWheelZoom(); is not accepted. You have to use
v=2.x&amp; to make the whole thing work.

ciao
pietro

On Apr 19, 3:25 am, "benc...@gmail.com" <benc...@gmail.com> wrote:


 
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.
tomotomocacchiocacchio@gm ail.com  
View profile  
 More options Apr 19 2007, 10:18 am
From: "tomotomocacchiocacc...@gmail.com" <tomotomocacchiocacc...@gmail.com>
Date: Thu, 19 Apr 2007 07:18:40 -0700
Local: Thurs, Apr 19 2007 10:18 am
Subject: Re: Suggestions on v2.78
Ok sorry, it was written at the bottom of Pamela's post...

On Apr 19, 3:23 pm, "tomotomocacchiocacc...@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.
krispy  
View profile  
 More options Apr 19 2007, 10:26 am
From: krispy <cplum...@integrity-apps.com>
Date: Thu, 19 Apr 2007 07:26:14 -0700
Local: Thurs, Apr 19 2007 10:26 am
Subject: Re: Suggestions on v2.78
Wow - if the Maps API developers find this to be "optimized" then I
must be going crazy ... why exactly do you leave out three lines of
code that simply prevent the default page scrolling behavior?  I
consider this to be on par with "it's not a bug, it's a feature" - two
big things going on here:

1) absolutely NO ONE is going to notice a better scroll speed by
leaving those lines out (preventing the default might actually make it
faster, wouldn't you think?) and
2) everyone who actually has enough content to require page scrolls
will have to look through the forum, add the code, test it out, etc.
which only leads to wasted user time - isn't the API produced to give
us simplicity so that us developers don't have to do it?!?

Personally, I'm disappointed by all of this - I mean, maybe I just
don't understand what they're trying to do, but please explain if this
actually makes sense to you.

-krispy


 
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.
Esa  
View profile  
 More options Apr 19 2007, 5:15 pm
From: Esa <esa.ilm...@gmail.com>
Date: Thu, 19 Apr 2007 21:15:54 -0000
Local: Thurs, Apr 19 2007 5:15 pm
Subject: Re: Suggestions on v2.78
There is another minor issue. The animated red corners overflow from
the map container. That may slightly mess page layout in certain
circuimtances. Overflow can be decayed by simple css: overflow:hidden.
See with FF:
http://esa.ilmari.googlepages.com/scrollzoom.htm

It can be seen that ScrollWheelZoom() is originally designed for full
screen maps.


 
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.
pamela  
View profile  
 More options Apr 20 2007, 4:07 am
From: pamela <pammyla....@gmail.com>
Date: Fri, 20 Apr 2007 08:07:40 -0000
Local: Fri, Apr 20 2007 4:07 am
Subject: Re: Suggestions on v2.78
Thanks to everyone who have suggested ways to produce desirable scroll
wheel zoom behavior for alternative website layouts.
I'll talk with the engineers to see if we can work in some of the
suggestions into the core code.
If we can add in some of the suggestions without breaking
maps.google.com or adding too many lines of code, then improvement
should be feasible.

Thanks to Esa for the great page demonstrating the workarounds. -
pamela

On Apr 19, 2:15 pm, Esa <esa.ilm...@gmail.com> wrote:


 
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.
Crescent Fresh  
View profile  
 More options Apr 20 2007, 10:02 am
From: Crescent Fresh <i.jay...@gmail.com>
Date: Fri, 20 Apr 2007 07:02:10 -0700
Local: Fri, Apr 20 2007 10:02 am
Subject: Re: Suggestions on v2.78
On Apr 19, 10:26 am, krispy <cplum...@integrity-apps.com> wrote:

> Personally, I'm disappointed by all of this - I mean, maybe I just
> don't understand what they're trying to do, but please explain if this
> actually makes sense to you.

Good Lord dude, the zoomwheel feature is in a PRE-RELEASE version
("v=2.x"). See http://www.google.com/apis/maps/documentation/#API_Updates

Ingrate.

- Fresh


 
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.
krispy  
View profile  
 More options Apr 20 2007, 10:08 am
From: krispy <cplum...@integrity-apps.com>
Date: Fri, 20 Apr 2007 07:08:59 -0700
Local: Fri, Apr 20 2007 10:08 am
Subject: Re: Suggestions on v2.78
Did you read pamela's blog post?  She says it's a feature!  The API is
"optimized" for this behavior (her own words) - so don't give me any
pre-release notions here - it's on the official blog!  I'm not some
malcontent sitting around waiting to point fingers - I see it as
official from the API developers and I don't want my production code
to have to "fix" their stuff.

-krispy

On Apr 20, 10:02 am, Crescent Fresh <i.jay...@gmail.com> wrote:


 
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.
pamela (Google Employee)  
View profile  
 More options Apr 20 2007, 10:44 am
From: "pamela (Google Employee)" <api.pamela...@google.com>
Date: Fri, 20 Apr 2007 07:44:22 -0700
Local: Fri, Apr 20 2007 10:44 am
Subject: Re: Suggestions on v2.78
Hi Krispy-

  The blog post notes that the feature is optimized for
maps.google.com currently. I've already begun talking with the
engineers to see if we can add to the code to optimize it for a more
general page layout. If we do, the changes will probably come out in a
few weeks to a month.

  Oftentimes, a feature isn't exactly what developers want when it's
first released. We rely on developer feedback (like your own) to see
how features can be made better for the developer community and the
vast plethora of websites they create.

  - pamela

On Apr 20, 7:08 am, krispy <cplum...@integrity-apps.com> wrote:


 
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.
bencrox@gmail.com  
View profile  
 More options Apr 22 2007, 5:25 am
From: "benc...@gmail.com" <benc...@gmail.com>
Date: Sun, 22 Apr 2007 09:25:43 -0000
Local: Sun, Apr 22 2007 5:25 am
Subject: Re: Suggestions on v2.78
Hi there,

As the one of the starters in this issue, please let me ease Krispy's
concern.

I have actually received feedbacks about possible breakage of default
web page
behavior when I implement "scroll to zoom" at the first time. Some
people are
just not aware that Google make a similar feature. But for the
official google
map, they are push their engineer to fix the Map widget within the
browser
frame height, for me, I take another way out.

Actually, to zoom by wheels in my later implementations, user ( and
developers)
have an option to activation zoom and pan by "Ctrl / Meta + Scroll".

So if you are going to have die hard standard lovers, give them a
choice !

I can sure there is room to do so. And for me, a tradition console
applications
developer, finding the right key-map is gonna to be a lot of fun.

On Apr 20, 10:44 pm, "pamela (Google Employee)"


 
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 »