Vaadin google map add-on: how to add custom control to Vaadin GoogleMap?

If you want to customize the client-side behaviour of the Google Maps add-on, I'm afraid you'll have to download the source and change those private fields. The Google Maps add-on isn't designed to be very extendable on the client side.

Up vote 0 down vote favorite share g+ share fb share tw.

I am intending to add custom component (such as dialog, panel, toolbar,...) into Vaadin Google Map add-on from server side. After reading MapWidget. Class source code in gwt-maps, I understand that I have to extend CustomControl for client-side component (override Initilize() function to return the control itself).

But in VGoogleMap of add-on, I don't see anywhere to put logic of adding custom control in the map except for google map built-in controls. I am extending VGoogleMap, but the 'map' field is private so there is nothing much I can handle. Thanks, Chang.

Vaadin link|improve this question asked Aug 29 '11 at 4:17Chang11.

If you want to customize the client-side behaviour of the Google Maps add-on, I'm afraid you'll have to download the source and change those private fields. The Google Maps add-on isn't designed to be very extendable on the client side. If that sounds hard, you should think if adding server-side components around the add-on would suffice.

CustomComponent should be a good choice.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions