Dear Andrew,
I have rename it to FormControl. I have put everything
except for the map initialize. Now I get error as class is null or not a
object.
On Sat, Oct 22, 2011 at 6:22 AM, Andrew Leach <[email protected]>wrote:
> On 21 October 2011 20:34, ss ss <[email protected]> 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 [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-api?hl=en.
>
>
--
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 [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-api?hl=en.