Hi Krishnam,

As what Larry have suggested, better post your question next time on
v2 group (http://groups.google.com/group/google-maps-api) if its about
v2 codes you are referring but for the sake of wrapping out things
here's my last reply.

By default the scroll wheel zoom is disabled. You have to manually
specify (on your code) that you need it in order for it to work. Do
something like this:
map.enableScrollWheelZoom();

To make the clicked spots the center of the map view you have to get
the latLang (coordinates/location) of the marker and set it as the
center of the map like this:
map.setCenter(gmarkers[i].getLatLng());

I have updated my sample html check it out.

It also would help you a lot to understand the concepts involved like
markers, infowindow, map, latLang, etc. if you try to spend some time
reading the documentation.

Here are some links to get you started.

The Basics
http://code.google.com/apis/maps/documentation/javascript/v2/basics.html

API reference
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html

Lot of examples and demos
http://code.google.com/apis/maps/documentation/javascript/v2/examples/index.html
http://code.google.com/apis/maps/documentation/javascript/v2/demogallery.html

You're currently using v2 so I gave you v2 references but If you would
be doing more map projects in the future I suggest you invest your
time on v3 instead of v2.


On Jul 27, 4:36 pm, Krishnam <[email protected]> wrote:
> Hi Erwin,
>
> Thanks a lot for your help.
>
> Need little more help.
>
> I have uploaded the map here.http://krishnamraju.com/map/t1.html
>
> In chrome browser the link highlight is not displaying.
>
> Erwin, the mouse scroll zoom is not working here like it works in
> google maps and the selected spots are not coming in centre.
>
> I tried but i'm not able to get rid of hyper link underline also.
>
> Please help.
>
> Thanks a lot in advance.
>
> Krishnam
>
> On Jul 27, 12:17 pm, Erwin Quinto <[email protected]> wrote:
>
> > Hi Krishnam,
>
> > 1. Use CSS to highlight the currently clicked linked. You may do something
> > like this:
> > *      <style type="text/css">
> >         #side_bar a:FOCUS {
> >           color: purple;
> >           background-color: #d8da3d;
> >         }
> >       </style>*
>
> > 2. To achive a street level view, set the zoom level to a much higher value
> > than 9 (which is the current value 
> > onhttp://econym.org.uk/gmap/example_map9.htm). Here a code that changes it 
> > to
> > zoom level 14:
> > *map.setCenter(new GLatLng( 43.907787,-79.359741), 14)*;
>
> > You can download my modified version of the map 
> > here:http://code.google.com/p/crescent-moon/source/browse/trunk/maps/googl...
>
> > On Tue, Jul 27, 2010 at 1:55 PM, Krishnam <[email protected]> wrote:
> > > Hi all,
>
> > > Real new to google maps API.
>
> > > I am using this map for my web site.
>
> > > Example page
> > >http://econym.org.uk/gmap/basic9.htm
>
> > > Map
> > >http://econym.org.uk/gmap/example_map9.htm
>
> > > I need help;
>
> > > 1) When I click on a link it should highlight so that its clearly
> > > visible that the map is showing that particular address.
>
> > > 2) The Zoom level should be Street Level.
>
> > > Please help me with the same.
>
> > > Thanks a lot in advance.
>
> > > Krishnam
>
> > > --
> > > 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
> > > [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-maps-js-api-v3%2B
> > >  [email protected]>
> > > .
> > > 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to