# Q: ym4r & js & highlighting \> center map

**URL:** <https://www.ruby-forum.com/t/q-ym4r-js-highlighting-center-map/195226>\
**Category:** Rails\
**Created:** [September 20, 2010, 10:47am UTC](https://www.ruby-forum.com/t/q-ym4r-js-highlighting-center-map/195226 "2010-09-20T10:47:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomtt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47c2d/32.png) [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Post date:** [September 20, 2010, 10:47am UTC](https://www.ruby-forum.com/t/q-ym4r-js-highlighting-center-map/195226/1 "2010-09-20T10:47:27Z")

</div>

hi,

im using ym4r to create my maps etc.  
Next to my map i have a vertical list of results. Now i want to make  
that a  
bit more interactive by mouseover over the list to center the map on  
that  
‘marker’.  
i found an example with jquery:  
[http://marcgrabanski.com/articles/jquery-google-maps-tutorial-basics](http://marcgrabanski.com/articles/jquery-google-maps-tutorial-basics)

> > but do i really need jquery for that or can i do that somehow with the  
> > tools i already have? (protoype, ym4r, etc)

thx  
tom
