|
From: Edwin C. <com...@gm...> - 2009-08-20 09:34:15
|
Hi Michel, I had a look at the Google Maps API and they also have a getIcon() method on GMarker (and no setIcon, which seems logical as you want to change properties on the icon rather than make a whole new icon). Additionally Googe Maps API has a setImage(String url) method, which in OpenLayers corresponds to setUrl(String url). We can wrap the setUrl method with a bit more descriptive name in GWT-OL like setImageUrl(String url). Greetings, Edwin 2009/8/19 Michel vitor <mic...@gm...> > Dear Edwin, > > I am sending you an attachment with the two classes that also the modified > form's javascript file Openlayers with the two new functions. > As they leave that changed the sources did it for personal use. > If you have any suggestions on how to do this in anything but I am > available. > > -- > Michel Vitor A Rodrigues > 6° Periodo de Computação > Grupo Intec,Viçosa MG > > |