Have a look at my Label class that lets you place a label at a given LatLng: http://blog.mridey.com/2009/09/label-overlay-example-for-google-maps.html <http://blog.mridey.com/2009/09/label-overlay-example-for-google-maps.html>
On Fri, Jun 18, 2010 at 4:33 PM, CarlEd <[email protected]> wrote: > Thanks Rossko. Was more interested in finding out any method for > displaying a label in v3 to be honest! I'm probably missing the > blindingly obvious, but I can't find a way of doing it at present > (don't want to do an infowindow in display, I just want something like > a tooltip) > > On Jun 16, 10:12 pm, Rossko <[email protected]> wrote: > > > OK... is there an example anywhere of how I can track descriptions by > > > myself, as you suggest? > > > > myPolygon.myProperty = somevalue; > > You just have to be confident your chosen property name isn't likely > > to clash with something Google might use. > > > > { .... click or mouse listener with closure ... > > somevalue = thispoly.myProperty ; > > ... do things with the value, like open a label or an > > infowindow ... > > > > > > > > } > > -- > 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%[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 at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
