public virtual void actionPerformed(global::com.codename1.ui.events.ActionEvent n1){ //XMLVM_BEGIN_WRAPPER[com.codename1.maps.ProxyHttpTile$1: void actionPerformed(com.codename1.ui.events.ActionEvent)] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::org.xmlvm._nElement _r2; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::System.Object _r3_o = null; global::org.xmlvm._nElement _r4; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::System.Object _r5_o = null; global::org.xmlvm._nElement _r6; global::System.Object _r6_o = null; global::org.xmlvm._nElement _r7; global::System.Object _r7_o = null; global::org.xmlvm._nElement _r8; global::System.Object _r8_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r7_o = this; _r8_o = n1; _r0_o = _r8_o; _r0_o = _r0_o; _r1_o = _r0_o; _r3_o = ((global::com.codename1.maps.ProxyHttpTile_21) _r7_o)._fthis_20; _r4_o = new global::com.codename1.maps.Tile(); _r2_o = ((global::com.codename1.maps.ProxyHttpTile_21) _r7_o)._fthis_20; _r5_o = ((global::com.codename1.maps.ProxyHttpTile) _r2_o).dimension(); _r2_o = ((global::com.codename1.maps.ProxyHttpTile_21) _r7_o)._fthis_20; _r6_o = ((global::com.codename1.maps.ProxyHttpTile) _r2_o).getBoundingBox(); _r2_o = ((global::com.codename1.io.NetworkEvent) _r1_o).getMetaData(); _r2_o = _r2_o; ((global::com.codename1.maps.Tile) _r4_o).@this((global::com.codename1.ui.geom.Dimension) _r5_o, (global::com.codename1.maps.BoundingBox) _r6_o, (global::com.codename1.ui.Image) _r2_o); global::com.codename1.maps.ProxyHttpTile.access_2002((global::com.codename1.maps.ProxyHttpTile) _r3_o, (global::com.codename1.maps.Tile) _r4_o); _r2_o = ((global::com.codename1.maps.ProxyHttpTile_21) _r7_o)._fthis_20; ((global::com.codename1.maps.ProxyHttpTile) _r2_o).fireReady(); return; //XMLVM_END_WRAPPER[com.codename1.maps.ProxyHttpTile$1: void actionPerformed(com.codename1.ui.events.ActionEvent)] }
public virtual void zoomTo(global::com.codename1.maps.BoundingBox n1){ //XMLVM_BEGIN_WRAPPER[com.codename1.maps.MapComponent: void zoomTo(com.codename1.maps.BoundingBox)] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::org.xmlvm._nElement _r2; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::System.Object _r3_o = null; global::org.xmlvm._nElement _r4; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::System.Object _r5_o = null; global::org.xmlvm._nElement _r6; global::System.Object _r6_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r5_o = this; _r6_o = n1; _r3.i = ((global::com.codename1.maps.BoundingBox) _r6_o).projected() ? 1 : 0; if (_r3.i == 0) goto label14; _r3_o = new global::java.lang.IllegalArgumentException(); // Value=boundingBox should be wg84 format _r4_o = new global::java.lang.String(); ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 56)), unchecked((char) unchecked((uint) 52)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116))})); ((global::java.lang.IllegalArgumentException) _r3_o).@this((global::java.lang.String) _r4_o); throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r3_o); label14:; _r0_o = null; _r3.i = ((global::com.codename1.maps.MapComponent) _r5_o).getWidth(); if (_r3.i == 0) goto label27; _r3.i = ((global::com.codename1.maps.MapComponent) _r5_o).getHeight(); if (_r3.i != 0) goto label88; label27:; _r0_o = ((global::com.codename1.maps.MapComponent) _r5_o).getPreferredSize(); label31:; _r3_o = ((global::com.codename1.maps.MapComponent) _r5_o)._f_1map; _r3_o = ((global::com.codename1.maps.providers.MapProvider) _r3_o).projection(); _r1_o = ((global::com.codename1.maps.Projection) _r3_o).fromWGS84((global::com.codename1.maps.BoundingBox) _r6_o); _r2_o = new global::com.codename1.maps.Tile(); _r3_o = null; ((global::com.codename1.maps.Tile) _r2_o).@this((global::com.codename1.ui.geom.Dimension) _r0_o, (global::com.codename1.maps.BoundingBox) _r1_o, (global::com.codename1.ui.Image) _r3_o); _r3_o = ((global::com.codename1.maps.MapComponent) _r5_o)._f_1map; _r3.i = ((global::com.codename1.maps.providers.MapProvider) _r3_o).maxZoomFor((global::com.codename1.maps.Tile) _r2_o); ((global::com.codename1.maps.MapComponent) _r5_o)._f_1zoom = _r3.i; _r3_o = ((global::com.codename1.maps.Tile) _r2_o).dimension(); _r3.i = ((global::com.codename1.ui.geom.Dimension) _r3_o).getWidth(); _r3.i = _r3.i / 2; _r4_o = ((global::com.codename1.maps.Tile) _r2_o).dimension(); _r4.i = ((global::com.codename1.ui.geom.Dimension) _r4_o).getHeight(); _r4.i = _r4.i / 2; _r3_o = ((global::com.codename1.maps.Tile) _r2_o).position((int) _r3.i, (int) _r4.i); ((global::com.codename1.maps.MapComponent) _r5_o)._f_1center = (global::com.codename1.maps.Coord) _r3_o; _r3.i = 1; ((global::com.codename1.maps.MapComponent) _r5_o)._f_1needTiles = 0!=_r3.i; base.repaint(); return; label88:; _r0_o = new global::com.codename1.ui.geom.Dimension(); _r3.i = ((global::com.codename1.maps.MapComponent) _r5_o).getWidth(); _r4.i = ((global::com.codename1.maps.MapComponent) _r5_o).getHeight(); ((global::com.codename1.ui.geom.Dimension) _r0_o).@this((int) _r3.i, (int) _r4.i); goto label31; //XMLVM_END_WRAPPER[com.codename1.maps.MapComponent: void zoomTo(com.codename1.maps.BoundingBox)] }
private global::System.Object screenTile(){ //XMLVM_BEGIN_WRAPPER[com.codename1.maps.MapComponent: com.codename1.maps.Tile screenTile()] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::org.xmlvm._nElement _r2; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::System.Object _r3_o = null; global::org.xmlvm._nElement _r4; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::System.Object _r5_o = null; global::org.xmlvm._nElement _r6; global::System.Object _r6_o = null; global::org.xmlvm._nElement _r7; global::System.Object _r7_o = null; global::org.xmlvm._nElement _r8; global::System.Object _r8_o = null; global::org.xmlvm._nElement _r9; global::System.Object _r9_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r9_o = this; _r1_o = new global::com.codename1.ui.geom.Dimension(); _r4.i = ((global::com.codename1.maps.MapComponent) _r9_o).getWidth(); _r5.i = ((global::com.codename1.maps.MapComponent) _r9_o).getHeight(); ((global::com.codename1.ui.geom.Dimension) _r1_o).@this((int) _r4.i, (int) _r5.i); _r4_o = ((global::com.codename1.maps.MapComponent) _r9_o)._f_1map; _r5_o = ((global::com.codename1.maps.MapComponent) _r9_o)._f_1center; _r6.i = ((global::com.codename1.maps.MapComponent) _r9_o)._f_1zoom; _r7.i = ((global::com.codename1.maps.MapComponent) _r9_o).getWidth(); _r7.i = -_r7.i; _r7.i = _r7.i / 2; _r8.i = ((global::com.codename1.maps.MapComponent) _r9_o).getHeight(); _r8.i = -_r8.i; _r8.i = _r8.i / 2; _r3_o = ((global::com.codename1.maps.providers.MapProvider) _r4_o).translate((global::com.codename1.maps.Coord) _r5_o, (int) _r6.i, (int) _r7.i, (int) _r8.i); _r4_o = ((global::com.codename1.maps.MapComponent) _r9_o)._f_1map; _r5_o = ((global::com.codename1.maps.MapComponent) _r9_o)._f_1center; _r6.i = ((global::com.codename1.maps.MapComponent) _r9_o)._f_1zoom; _r7.i = ((global::com.codename1.maps.MapComponent) _r9_o).getWidth(); _r7.i = _r7.i / 2; _r8.i = ((global::com.codename1.maps.MapComponent) _r9_o).getHeight(); _r8.i = _r8.i / 2; _r2_o = ((global::com.codename1.maps.providers.MapProvider) _r4_o).translate((global::com.codename1.maps.Coord) _r5_o, (int) _r6.i, (int) _r7.i, (int) _r8.i); _r0_o = new global::com.codename1.maps.BoundingBox(); ((global::com.codename1.maps.BoundingBox) _r0_o).@this((global::com.codename1.maps.Coord) _r3_o, (global::com.codename1.maps.Coord) _r2_o); _r4_o = new global::com.codename1.maps.Tile(); _r5_o = null; ((global::com.codename1.maps.Tile) _r4_o).@this((global::com.codename1.ui.geom.Dimension) _r1_o, (global::com.codename1.maps.BoundingBox) _r0_o, (global::com.codename1.ui.Image) _r5_o); return (global::com.codename1.maps.Tile) _r4_o; //XMLVM_END_WRAPPER[com.codename1.maps.MapComponent: com.codename1.maps.Tile screenTile()] }