Closed wikiro closed 11 years ago
Thanks for reporting! I'll get on this asap. :)
For marker instead of using setMap(null) try marker.close() or marker.clear()
Yeah, setMap((MapWidget) null) might be needed. I'll see if there is another option.
ok. thank you. if i find another bugs i will post here.
FYI, since Java needs to know the parameter type for method overloading, the following works as well:
MapWidget widget = null;
myObj.setMap(widget);
Also, some of the proposed methods are not in the Official JS API such as setCenter(lng, zoom)
. Generally, this project is a wrapper to GWT access to the JS API, so it mirrors the methods available there, rather than adding new ones, unless there is a JS/Java language impedance mismatch.
twistedpair, why you think so? i think we should add all usefull methods. In version gwt maps api 2 there were a lot of like this
@evmx Good point. You are correct that Google has deprecated some functionality from V2. I merely mean that we try to keep up with the official release notes and API so that we know when we're done.
Polyline - there is no event like "addPolylineLineUpdatedHandler" (when vertex was moved to some place while editing)
how create this event, help me please
Would it be possible to have you start a new issue for that question?
ok. here is it https://github.com/branflake2267/GWT-Maps-V3-Api/issues/132
I won't add the setCenter(lng, zoom) b/c those methods exists individually and its my goal to follow the js api as close as possible due to time and bandwidth I have. I'm always open to fork and pull request with modifications and would consider the add.
I fixing circle and poloyline has its own issue.
The setMap(null) has method overloading and type designation fixes overloading with null.
Closing this issue b/c the items either exist or have there own issue.