On 21 October 2011 20:34, ss ss <shaisoftwa...@gmail.com> wrote:
> Dear Andrew,
>                    I have added this and my whole map is not loading now.
> Any idea where I went wrong here is my link
> http://e-response.com.my/maps/viewGeoFenceMapEdit.php?geoFenceID=70? Which
> part of the map do you suggest to put this top left you cant put due to the
> zoom right? Neither bottom right will block the words there? Thank you.

I get an error in Chrome: Uncaught TypeError: Cannot read property
'addEventListener' of undefined, which is odd. I have a feeling that
when you inserted my truncated example code you may have messed up the
curly brackets.

My control is positioned near the bottom right corner, above the text.
That's what the GControlPosition does: have a look at the
documentation.

The code you have reproduced here and inserted in your map was an
example, showing the bit of my page which does the business. You don't
need it; you need to adapt it.

> function legend_control() {}
>             legend_control.prototype = new GControl();
>             legend_control.prototype.initialize = function() {
>
>
>            }
>            legend_control.prototype.printable=function(){return true};
>            legend_control.prototype.selectable=function(){return true};
>            legend_control.prototype.getDefaultPosition=function(){
>            return new GControlPosition(G_ANCHOR_BOTTOM_RIGHT,new
> GSize(4,25))
>       }
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to