ionic-team / ionic-team/ionic-native-google-maps

Some indoor map tiles aren't showing up

オープン
#343 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
215
フォーク
119
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi I am testing out the capabilities of Google Maps in mapping an airport and I have been able to get it to show me the level manager and roughly a quarter of the airport, but the other 75% does not show up as an indoor area.

Looking on maps.google.com on the browser, I know there is more that it can show, and I can't figure out what the issue is.

Does anyone know what the problem might be? It doesn't seem to be related to my cdebecause the rest of the map shows up, it just seems like it's missing the tiles or something, but who knows! The related code is below

```typescript
import { Component } from '@angular/core';
import { Platform } from "@ionic/angular";
import { Geolocation } from '@ionic-native/geolocation/ngx';
import { GoogleMap, GoogleMaps, GoogleMapOptions, Environment, GoogleMapsEvent, LatLng, MarkerOptions, Marker } from "@ionic-native/google-maps";
import { ThrowStmt } from '@angular/compiler';

// declare var google: any;

@Component({
selector: 'app-polygon-drawer',
templateUrl: './polygon-drawer.page.html',
styleUrls: ['./polygon-drawer.page.scss'],
})
export class PolygonDrawerPage {
map: GoogleMap;
constructor(public platform: Platform) { }

async ngOnInit() {
await this.platform.ready()
}

ngAfterViewInit() {
this.loadMap()
}

loadMap() {

Environment.setEnv({
'API_KEY_FOR_BROWSER_RELEASE': 'APIKEY',
'API_KEY_FOR_BROWSER_DEBUG': 'APIKEY'
});

let mapOptions: GoogleMapOptions = {
camera: {
target: {
lat: 48.1195049,
lng: 16.5639036
},
zoom: 18,
tilt: 0
}
};
console.log('a map should be created soon');
this.map = GoogleMaps.create('map_canvas', mapOptions);
}
}
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with the inline TypeScript implementation, especially loadMap(), Environment.setEnv(), and the GoogleMaps.create('map_canvas', mapOptions) entry point. Reproduce the map at the supplied coordinates and inspect the map configuration and plugin behavior; done means establishing why only part of the indoor area appears and documenting a verified fix or limitation.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。