GithubHelp home page GithubHelp logo

ionic-team / capacitor-google-maps Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 3.0 681 KB

Ruby 0.55% Kotlin 24.84% TypeScript 46.30% Java 0.33% Swift 21.93% HTML 0.24% Shell 2.51% CSS 2.34% Objective-C 0.64% JavaScript 0.33%

capacitor-google-maps's People

Contributors

it-mikes avatar

Stargazers

 avatar

Watchers

 avatar

capacitor-google-maps's Issues

Polyline ignore icon property

Implementation lacks icons property for both platforms.

Files CapacitorGoogleMapPolyline.kt and Polyline.swift missing processing given icon value (3.0 for example).

map.setCamera() angle parameter crashes android app when receiving a 3 digit number

Bug Report

map.setCamera() @Angle@ parameter crashes app when receiving a 3 digit number

Plugin(s)

"@capacitor/google-maps": "^5.0.0"

Capacitor Version

 Capacitor Doctor   

Latest Dependencies:       

  @capacitor/cli: 5.7.4    
  @capacitor/core: 5.7.4   
  @capacitor/android: 5.7.4
  @capacitor/ios: 5.7.4    

Installed Dependencies:    

  @capacitor/cli: 5.5.1    
  @capacitor/core: 5.5.1   
  @capacitor/android: 5.5.1
  @capacitor/ios: 5.5.1    

Platform(s)

Android
(iOS not checked)

Current Behavior

after creating a map with GoogleMap.create(), using setCamera() on the map to set camera position and angle, if putting a 3 digit number in the angle argument the app crashes.

Expected Behavior

app not crashing and angle reverting to highest valid input (45)

Code Reproduction

this.map!.setCamera({ zoom: 18, bearing, coordinate, animate: true, angle: 100 }).then()

Other Technical Details

Additional Context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.