Feature Request: Do not center map on marker when marker is tapped;

オープン
#609 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, ios, java, javascript
領域
mobile

調査の方向性

まず、index.ios.js と GoogleMaps.java におけるマーカータップの処理、特に mapViewDidTapMarker と setOnMarkerClickListener を読みます。両方のプラットフォームで、マーカーをタップしたときにマップを再センタリングするかどうかをオプションで制御する方法を判断します。パッケージファイルを編集せずに動作を設定でき、既存のマーカー操作も引き続きサポートされれば完了です。

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

説明

I would like to have the option to not center the map on a marker that is tapped. I am using a map without scrolling/zooming function where the user can add/remove markers to the map. Each tap of a marker (to remove it) also centers the map on the tapped marker's location.

For now, I can change index.ios.js and GoogleMaps.java files to return "true" for [mapViewDidTapMarker] (iOS) and [setOnMarkerClickListener] (Android). However, any re-installation or updating of the package jeopardizes my custom logic!

Let me know if this (exists or) is possible!

Thank you.

主要言語
TypeScript
スター
206
フォーク
123
平均マージ
2日 1時間
マージ済み PR(30日)
1

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NativeScript/plugins のほかの issue

NativeScript/plugins の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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