Your tutorial states: distance_changed() ... is a magic function
I'm trying to sort this out, but is this to say that every MVCObject property has an event *propertyName*_changed triggered when the property is set ?? On Apr 20, 6:15 pm, Luke Mahé <[email protected]> wrote: > Hi Bradley, > > You should be able to do this by using the OverlayView, the Circle overlay > and some MVC techniques. > > You can read about the OverlayView in the docs > (http://code.google.com/apis/maps/documentation/v3/overlays.html#Custo...) > and > about MVC techniques in a article that I recently wrote > (http://code.google.com/apis/maps/articles/mvcfun.html) > > Hope this helps > > - Luke > > <http://code.google.com/apis/maps/articles/mvcfun.html> > > > > > > On Tue, Apr 20, 2010 at 1:55 PM, Bradley <[email protected]> wrote: > > It should be noted that the intention here is to be able to generate > > many circle overlays of different colours each with different sizes > > and text, which is why I'd like to avoid an image. > > > On Apr 20, 4:37 pm, Bradley <[email protected]> wrote: > > > I've been exploring V3 for a bit and I noticed the Circle overlay, > > > plus the ability to create custom overlays by extending > > > google.maps.OverlayView. > > > > I'm trying to combine these so I can have a circle overlay with some > > > custom, dynamically generated text inside. The examples on custom > > > overlays just deal with DOM elements like images, but I'm wondering > > > how one might achieve this with maps specific overlays, ie. circles. > > > > I noticed SVG elements on the map when creating the circle. Is there > > > a way I can just overlay text on top of this? A point in the right > > > direction or any pseudo code is appreciated, I'm actively trying to > > > solve this at the moment. > > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" group. > > > To post to this group, send email to > > [email protected]. > > > To unsubscribe from this group, send email to > > [email protected]<google-maps-js-api-v3%2B > > [email protected]> > > . > > > For more options, visit this group athttp:// > > groups.google.com/group/google-maps-js-api-v3?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" group. > > To post to this group, send email to > > [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-maps-js-api-v3%2B > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" 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 > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
