Cool thanks!!

I am going to play with that code a bit later today.

Ron


On Sep 11, 12:36 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Sep 11, 9:19 am, csdude <[EMAIL PROTECTED]> wrote:
>
>
>
> > Actually I tried to use that one.   Java script is not complaining
> > about anything, I just don't get to see the circle.
>
> > I am trying to use the one from:  
> > http://esa.ilmari.googlepages.com/circle.htm?haku=#
>
> > function drawCircle(center, radius, nodes, liColor, liWidth, liOpa,
> > fillColor, fillOpa)
>
> > However there is som code around it that I don't know yet what it
> > does.
>
> > I was hoping to do something like:
>
> > function load() {
> >     if (GBrowserIsCompatible()) {
> >        var map = new GMap2(document.getElementById("map"));
> >       map.setMapType(G_HYBRID_MAP);
> >       map.setCenter(new GLatLng('lat', 'long'), 3);
> >       // draw circle with epicenter mapcenter,  50km radius, 360
> > segments
> >       map.drawCircle(map.getCenter(), 50, 1);
> >       }
>
> > But obviously I am missing something.
> > (The fact I use a "G_HYBRID_MAP" map doesn't matter, does it ?)
>
> Example:http://www.geocodezip.com/overlappingPolygons.asp
>
> > On Sep 11, 11:45 am, Davepar <[EMAIL PROTECTED]> wrote:
>
> > > Also look in the GMap 
> > > samples:http://gmaps-samples.googlecode.com/svn/trunk/basic_wcircle/basicw_ci...
>
> > > Dave
>
> > > On Sep 11, 7:02 am, csdude <[EMAIL PROTECTED]> wrote:
>
> > > > Hello,
>
> > > > I am new to the google maps api.
> > > > I would like to draw circles on a map. (for 'marking' seismic
> > > > activity).
>
> > > > I saw a few  java script functions, played with a few of them but
> > > > couldn't get them to work.
>
> > > > The maps I use are simple, like the example that is shown when you
> > > > 'sign up' for the google maps api.
>
> > > > e.g:
>
> > > > function load() {
> > > >    if (GBrowserIsCompatible()) {
> > > >       var map = new GMap2(document.getElementById(\"map\"));
> > > >      map.setMapType(G_HYBRID_MAP);
> > > >      map.setCenter(new GLatLng('lat', 'long'), 3);
> > > >      }
>
> > > > }
>
> > > > is there a  simple example that shows how to do this ?
> > > > (I basically am looking for a drawCircle function/method that I can
> > > > use to draw a circle or ring)
>
> > > > thanks,
>
> > > > Ron- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to