# Mouse over marker and increase the size of the marker using Javascript

**URL:** <https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587>\
**Category:** WebForms\
**Created:** [December 3, 2010, 7:23pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587 "2010-12-03T19:23:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anil2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@Anil2](https://community.thinkgeo.com/u/Anil2)\
**Post date:** [December 3, 2010, 7:23pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587/1 "2010-12-03T19:23:53Z")

</div>

Hi&nbsp;Thinkgeo,

Is&nbsp;there&nbsp;way&nbsp;to&nbsp;increase&nbsp;the&nbsp;size&nbsp;of&nbsp;the&nbsp;marker&nbsp;(or&nbsp;poin&nbsp;to&nbsp;&nbsp;larger&nbsp;icon)&nbsp;when&nbsp;the&nbsp;mouse&nbsp;hovers&nbsp;over&nbsp;a&nbsp;marker&nbsp;(&nbsp;in&nbsp;a&nbsp;InMemoryMarkeOverlay)&nbsp;using&nbsp;JavaScript?

Regards,

Anil

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [December 5, 2010, 8:38pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587/2 "2010-12-05T20:38:50Z")

</div>

&nbsp;

Hi&nbsp;Anil,  
Yes,&nbsp;it’s&nbsp;possible.&nbsp;The&nbsp;point&nbsp;is&nbsp;how&nbsp;to&nbsp;register&nbsp;the&nbsp;“MouseHover”&nbsp;event&nbsp;and&nbsp;redraw&nbsp;the&nbsp;layer.&nbsp;Please&nbsp;check&nbsp;the&nbsp;code&nbsp;below:  
&nbsp;&nbsp;&nbsp;&nbsp;\<script&nbsp;language="javascript"&nbsp;type="text/javascript"\>  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OnMapCreating&nbsp;=&nbsp;function&nbsp;(map)&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OpenLayers.Layer.Markers.prototype.addMarker&nbsp;=&nbsp;function&nbsp;(marker)&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.markers.push(marker);  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(this.opacity&nbsp;!=&nbsp;null)&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;marker.setOpacity(this.opacity);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(this.map&nbsp;&&&nbsp;this.map.getExtent())&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;marker.map&nbsp;=&nbsp;this.map;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.drawMarker(marker);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;marker.events.register('mouseover',&nbsp;marker,&nbsp;function&nbsp;(evt)&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Todo:&nbsp;Get&nbsp;the&nbsp;marker&nbsp;image&nbsp;here  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;markerIcon&nbsp;=&nbsp;marker.icon;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;markerIcon.size&nbsp;=&nbsp;new&nbsp;OpenLayers.Size(60,&nbsp;60);  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Find&nbsp;the&nbsp;MarkerLayer&nbsp;and&nbsp;refresh  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;layer&nbsp;=&nbsp;map.getLayer(marker.parentId);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;layer.redraw();  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;&nbsp;&nbsp;&nbsp;\</script\>  
&nbsp;  
Thanks,  
Johnny

---

<div class="post-metadata">

**Author:** ![Anil2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@Anil2](https://community.thinkgeo.com/u/Anil2)\
**Post date:** [December 6, 2010, 2:53pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587/3 "2010-12-06T14:53:11Z")

</div>

Hi&nbsp;Khalil,

Sample&nbsp;works&nbsp;ok.&nbsp;However&nbsp;I&nbsp;noticed&nbsp;&nbsp;following:

1)&nbsp;Marker&nbsp;Icon&nbsp;size&nbsp;obtained&nbsp;in&nbsp;Javascript&nbsp;is&nbsp;null&nbsp;even&nbsp;though&nbsp;the&nbsp;icon&nbsp;has&nbsp;size&nbsp;27&nbsp;X&nbsp;27&nbsp;pixels.

2)&nbsp;I&nbsp;added&nbsp;'mouseout'&nbsp;handler&nbsp;to&nbsp;restrore&nbsp;the&nbsp;size&nbsp;back&nbsp;to&nbsp;27X27&nbsp;but&nbsp;the&nbsp;actual&nbsp;size&nbsp;seems&nbsp;to&nbsp;much&nbsp;smaller&nbsp;than&nbsp;orginal&nbsp;size.&nbsp;Those&nbsp;markers&nbsp;that&nbsp;were&nbsp;explicitly&nbsp;set&nbsp;with&nbsp;size&nbsp;value&nbsp;have&nbsp;this&nbsp;problem.&nbsp;Those&nbsp;that&nbsp;weren't&nbsp;set&nbsp;with&nbsp;size&nbsp;value&nbsp;display&nbsp;Ok&nbsp;with&nbsp;correct&nbsp;size.

Regards,

Anil

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [December 6, 2010, 11:38pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587/4 "2010-12-06T23:38:17Z")

</div>

Hi,&nbsp;Anil

If&nbsp;you&nbsp;are&nbsp;utilizing&nbsp;the&nbsp;workaround&nbsp;code&nbsp;we&nbsp;provided&nbsp;for&nbsp;you&nbsp;in&nbsp;the&nbsp;post&nbsp;below&nbsp;and&nbsp;the&nbsp;size&nbsp;of&nbsp;Icon&nbsp;is&nbsp;null&nbsp;definitely.  
[gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/8472/afv/topic/Default.aspx](http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/8472/afv/topic/Default.aspx)  
If&nbsp;the&nbsp;size&nbsp;is&nbsp;null&nbsp;or&nbsp;undefined,&nbsp;also&nbsp;we&nbsp;can&nbsp;get&nbsp;it&nbsp;through&nbsp;the&nbsp;image&nbsp;div&nbsp;that&nbsp;represent&nbsp;the&nbsp;icon&nbsp;image.&nbsp;Please&nbsp;refer&nbsp;to&nbsp;the&nbsp;codes&nbsp;for&nbsp;detailed&nbsp;information.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;OnMapCreating&nbsp;=&nbsp;function&nbsp;(map)&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OpenLayers.Layer.Markers.prototype.addMarker&nbsp;=&nbsp;function&nbsp;(marker)&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.markers.push(marker);  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(this.opacity&nbsp;!=&nbsp;null)&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;marker.setOpacity(this.opacity);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(this.map&nbsp;&&&nbsp;this.map.getExtent())&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;marker.map&nbsp;=&nbsp;this.map;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.drawMarker(marker);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;marker.events.on({  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'mouseover':&nbsp;function&nbsp;(evt)&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.originalSize&nbsp;=&nbsp;this.icon.size;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!this.originalSize)&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.originalSize&nbsp;=&nbsp;new&nbsp;OpenLayers.Size(this.icon.imageDiv.clientWidth,&nbsp;this.icon.imageDiv.clientHeight);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.icon.setSize(this.magnifiedSize);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'mouseout':&nbsp;function&nbsp;(evt)&nbsp;{&nbsp;this.icon.setSize(this.originalSize);&nbsp;},  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scope:&nbsp;marker  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OpenLayers.Marker.GeoMarker&nbsp;=&nbsp;OpenLayers.Class(OpenLayers.Marker.GeoMarker,&nbsp;{  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;originalSize:&nbsp;null,  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;magnifiedSize:&nbsp;new&nbsp;OpenLayers.Size(50,&nbsp;50)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}  
&nbsp;  
If&nbsp;you&nbsp;have&nbsp;additional&nbsp;questions,&nbsp;please&nbsp;let&nbsp;us&nbsp;know.  
Thanks,  
Khalil

---

<div class="post-metadata">

**Author:** ![Anil2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@Anil2](https://community.thinkgeo.com/u/Anil2)\
**Post date:** [December 7, 2010, 1:17pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587/5 "2010-12-07T13:17:23Z")

</div>

Thankx&nbsp;a&nbsp;lot.&nbsp;It&nbsp;works!!

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [December 7, 2010, 7:48pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587/6 "2010-12-07T19:48:48Z")

</div>

That’s&nbsp;great.&nbsp;Please&nbsp;let&nbsp;us&nbsp;know&nbsp;if&nbsp;you&nbsp;have&nbsp;additional&nbsp;questions&nbsp;about&nbsp;our&nbsp;products.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Khalil

---

<div class="post-metadata">

**Author:** ![Anil2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@Anil2](https://community.thinkgeo.com/u/Anil2)\
**Post date:** [January 26, 2011, 12:55pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587/7 "2011-01-26T12:55:43Z")

</div>

Hi&nbsp;Thinkgeo,&nbsp;James,&nbsp;Khailil,&nbsp;  
&nbsp;&nbsp;  
&nbsp;On&nbsp;mouse&nbsp;hover&nbsp;the&nbsp;image&nbsp;icreases&nbsp;in&nbsp;size&nbsp;but&nbsp;the&nbsp;Popup&nbsp;(Cloud&nbsp;style)&nbsp;does&nbsp;not&nbsp;point&nbsp;to&nbsp;the&nbsp;correct&nbsp;location.&nbsp;The&nbsp;callout&nbsp;arrow&nbsp;of&nbsp;the&nbsp;cloud&nbsp;popup&nbsp;is&nbsp;way&nbsp;off.&nbsp;I&nbsp;tried&nbsp;to&nbsp;use&nbsp;OffsetYInPixels&nbsp;and&nbsp;OffsetXInPixels&nbsp;to&nbsp;decrease&nbsp;by&nbsp;the&nbsp;maginified&nbsp;size&nbsp;but&nbsp;it&nbsp;does&nbsp;not&nbsp;help.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Note:&nbsp;&nbsp;I&nbsp;want&nbsp;to&nbsp;able&nbsp;to&nbsp;increase&nbsp;size&nbsp;of&nbsp;marker&nbsp;but&nbsp;also&nbsp;need&nbsp;accuracy&nbsp;where&nbsp;the&nbsp;popup&nbsp;points.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;Anil

---

<div class="post-metadata">

**Author:** ![Anil2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@Anil2](https://community.thinkgeo.com/u/Anil2)\
**Post date:** [January 26, 2011, 1:09pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587/8 "2011-01-26T13:09:19Z")

</div>

Hi&nbsp;James,&nbsp;Khalill,&nbsp;  
&nbsp;&nbsp;  
&nbsp;The&nbsp;problem&nbsp;"Popup&nbsp;offset"&nbsp;seems&nbsp;to&nbsp;be&nbsp;caused&nbsp;one&nbsp;I&nbsp;use&nbsp;ClusterMarkerStyle&nbsp;(refer&nbsp;thread)&nbsp;  
&nbsp;&nbsp;  
&nbsp;[gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/8701/afv/topic/Default.aspx](http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/8701/afv/topic/Default.aspx)&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;Anil&nbsp;  
&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [January 26, 2011, 9:27pm UTC](https://community.thinkgeo.com/t/mouse-over-marker-and-increase-the-size-of-the-marker-using-javascript/5587/9 "2011-01-26T21:27:39Z")

</div>

Anil,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;you&nbsp;more&nbsp;information,&nbsp;we&nbsp;will&nbsp;fix&nbsp;the&nbsp;issue&nbsp;"popup&nbsp;offset"&nbsp;and&nbsp;reply&nbsp;at&nbsp;post&nbsp;8701.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;James
