OutSystems Forge 日本語データベース

Google Maps Plugin

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2017-03-07 1.0.0 Grazina 10.0.200.2 All All Plug-ins
Google Mapsプラグインfor Cordova
***あなたのモバイルアプリケーション用の新しい高性能なGoogle Mapsプラグイン*** このプラグインは、パフォーマンスと信頼性の両方でjavascriptの実装を上回るネイティブGoogle Mapsレンダリングエンジンを使用します。 使用上の注意 このプラグインを使用するには、プラグインのespace拡張機能設定でGoogle Maps APIキーを設定する必要があります。 Webviewレンダリングの面では、このプラグインにいくつかの特別な特性があります。 Webビューのコンテキスト外でタッチイベントを追跡するため、このプラグインを使用しているページでインタラクションを定義する際に考慮すべき点がいくつかあります。 OverlayContent内で定義されている要素にはタッチイベントのトラッキングがあるため、ここでマップキャンバス内のロジックを操作できます。 マップ領域をレンダリングするマップ外の要素はタッチイベントを追跡しないため、マップ上でタッチイベントを無効にするには特別なJavaScriptアクション(map.setClickable(true / false))を使用する必要があります。 これは、上にレンダリングするOutSystemのメニューの場合に特に重要です。そのために、開閉イベントをトラップする特定の手段がないため、下部バーのナビゲーションに頼るか、メニューオプションの代わりに戻るボタンをクリックします。 プラグインはリソースを大量に消費するため、ページごとに1つのマップしかサポートしていません。複数の地図が必要な場合は、GoogleのJavaScript APIを使用するGoogle Maps Mobileプラグインを使用してください。 IOSでは、プラグインは実際のプラグインで定義されているステータスバーの特別な設定を必要とします。 StatusBarOverlaysWebView = true この設定を再定義する必要がある場合は、このGitHub Wikiページに記載されているように、おそらくMap divの配置を調整する必要があります。 将来のバージョンに関する特別な注意 プラグインはルートを表示するためにGoogle Directionsサービスを使用しています。今後この機能を廃止する予定で、Polygonレンダリングの構成と新しいGoogle Directions Forgeコンポーネントが発表される予定です。 mapsplugin / cordova-plugin-googlemaps(multiple_mapsブランチ)の特別なブランチを使用しています。これは、パフォーマンスが向上し、まだ準備ができていない特別な機能を約束しています。 (このwikiはマスターブランチからの改善点を詳しく説明しています) https://github.com/masashiGMS ライセンス Apache 2.0

[Overview]
Google Maps Plugin for Cordova
[Detail]
*** The all new performant Google Maps Plugin for your mobile applications.*** This plugin uses native Google Maps rendering engine which is outruns javascript implementation in both performance and reliability. Notes on usage In order to use this plugin, you need to set your Google Maps API key on the plugin's espace Extensibility Configuration In terms of webview rendering, there are some special characteristics to this plugin. It tracks for touch events outside the context of the webview, therefore some considerations need to be taken into consideration when defining the interactions in pages which are using this plugin.Elements which are defined inside the OverlayContent have touch events tracking, therefore you can logic inside the map canvas here; Elements outside the map, which render over the map area, do not track touch events, so you need to use a special JavaScript action (map.setClickable(true/false)) to disable touch events on the map; This is specially important in the case of OutSystem's menus, which render on top, and for which we don't have a specific means to trap the opening/closing event, so recommendation is to either rely on bottom bar navigation, or to use the Back button instead of the menu option. The plugin is resource intensive, therefore it only supports one map per page. If you need more than one map, please use the Google Maps Mobile plugin, which uses Google's JavaScript API. On IOS the plugin requires a special setting for the status bar, that is defined in the actual plugin: StatusBarOverlaysWebView=true If you need to redefine this setting, you will probably need to adjust the placement of the Map div, as descrived in this GitHub Wiki page. Special notes on future versions The plugin is using Google Directions service in order to render directions. Expect this function to be deprecated in the future in favour of a composition of the Polygon rendering and a new Google Directions Forge component to be announced We're using a special branch of mapsplugin/cordova-plugin-googlemaps (multiple_maps branch), which has performance improvements and promised some special features which are not ready yet. (this wiki details the improvements from the master branch) All feedback is welcome, please reach out! Credits https://github.com/masashiGMS Licensing Apache 2.0
戻る