File tree Expand file tree Collapse file tree 4 files changed +0
-10
lines changed
Expand file tree Collapse file tree 4 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -423,7 +423,6 @@ export class UISettingsBase implements UISettings {
423423
424424export abstract class ProjectionBase implements Projection {
425425 public visibleRegion : VisibleRegion ;
426- public abstract containsCoordinate ( position : Position ) : Boolean ;
427426 public abstract fromScreenLocation ( point : Point ) : Position ;
428427 public abstract toScreenLocation ( position : Position ) : Point ;
429428 public ios : any ; /* GMSProjection */
Original file line number Diff line number Diff line change @@ -608,10 +608,6 @@ export class Projection extends ProjectionBase {
608608 return new VisibleRegion ( this . android . getVisibleRegion ( ) ) ;
609609 }
610610
611- containsCoordinate ( position : Position ) : Boolean {
612- return this . android . getVisibleRegion ( ) . latLngBounds . contains ( position . android ) ;
613- }
614-
615611 fromScreenLocation ( point : Point ) {
616612 var latLng = this . android . fromScreenLocation ( new android . graphics . Point ( point . x , point . y ) ) ;
617613 return new Position ( latLng ) ;
Original file line number Diff line number Diff line change @@ -128,7 +128,6 @@ export class UISettings {
128128
129129export class Projection {
130130 public visibleRegion : VisibleRegion ;
131- public containsCoordinate ( position : Position ) : Boolean ;
132131 public fromScreenLocation ( point : Point ) : Position ;
133132 public toScreenLocation ( position : Position ) : Point ;
134133 public ios : any ; /* GMSProjection */
Original file line number Diff line number Diff line change @@ -560,10 +560,6 @@ export class Projection extends ProjectionBase {
560560 return new VisibleRegion ( this . ios . visibleRegion ( ) ) ;
561561 }
562562
563- containsCoordinate ( position : Position ) : Boolean {
564- return this . ios . containsCoordinate ( position . ios ) ;
565- }
566-
567563 fromScreenLocation ( point : Point ) {
568564 var location = this . ios . coordinateForPoint ( CGPointMake ( point . x , point . y ) ) ;
569565 return new Position ( location ) ;
You can’t perform that action at this time.
0 commit comments