Open twistedpair opened 11 years ago
I'll aim to put some more time in upcoming here to help get some of the code in. :)
Needs to start by pulling up current trunk into v3.9 branch. Finishing the 3.9 branch, and then branching v3.10 off there. Just note here whatever you are up to so we don't work against each other.
Good point. I'll keep in touch to what I aim for.
Do you have a reason why this issue has the label wontfix?
I didn't label it won't fix. I'm not sure what you mean.
Must of been an accident, I removed it yesterday :)
Funny thing is 3.10 had a bunch in it. From what I can tell 3.11 had nothing but optimizations and bug fixes, so that should be trivial for us.
That is very exciting to me :)
I created some object but i dont know is they all are right
public class IconSequence extends JavaScriptObject {
protected IconSequence() {}
public final static IconSequence newInstance() {
return JavaScriptObject.createObject().cast();
}
public final native void setStreetViewControl(boolean fixedRotation) /*-{
this.fixedRotation = fixedRotation;
}-*/;
public final native boolean getFixedRotation() /*-{
return this.fixedRotation;
}-*/;
public final native void setOffset(String offset) /*-{
this.offset = offset;
}-*/;
public final native String getOffset() /*-{
return this.offset;
}-*/;
public final native void setRepeat(String repeat) /*-{
this.repeat = repeat;
}-*/;
public final native String getRepeat() /*-{
return this.repeat;
}-*/;
}
public enum SymbolPath {
BACKWARD_CLOSED_ARROW,
BACKWARD_OPEN_ARROW,
CIRCLE,
FORWARD_CLOSED_ARROW,
FORWARD_OPEN_ARROW;
public String value() {
return name();
}
public static SymbolPath fromValue(String type) {
return valueOf(type.toUpperCase());
}
@Override
public String toString() {
return name().toLowerCase();
}
}
class PolylineOptions {
// public final void setIcons(IconSequence... icons) {
// JsArray<IconSequence> arr = ArrayHelper.toJsArray(icons);
// setIconsJs(arr);
// }
//
// private final native void setIconsJs(JsArray<IconSequence> icons) /*-{
// this.icons = icons;
// }-*/;
//
// public final IconSequence[] getIcons() {
// JsArray<IconSequence> arr = getIconsJs();
// if (arr == null || arr.length() == 0) {
// return null;
// }
// IconSequence[] r = new IconSequence[arr.length()];
// for (int i = 0; i < arr.length(); i++) {
// r[i] = arr.get(i);
// }
// return r;
// }
//
// private final native JsArray<IconSequence> getIconsJs() /*-{
// return this.icons;
// }-*/;
}
v3.10 goes from Experimental to release on Nov 15th. Need to have it's changes/features ready close to then.
See official change log
Added Indoor Street View- I find no additions to the api for this (2/15/2013,bd)Added "Time in Current Traffic" to DirectionsI find no additions to api for this (2/15/2013,bd)fixedRotation option to IconSequence - add classAfrikaans, Amharic, Swahili, Zulu (we don't have, need to add to loader lib -> ...&language= See list Added types to Places API textSearch (added place types to autocomplete, in pull)Added icon sequence to PolyLine