2016-11-29 4 views
1

WebViewを使用して、必要なすべてのURLを表示しています。私が直面している問題は、特定のURLに見られる地図があり、それが外部のブラウザに見られるということです。しかし、アプリのWebviewでは、残りのウェブサイトはロードされていますが、マップエリアはロードされません。アプリのwebviewのGoogleマップが表示されない

これは私のコードです:アプリのWebViewので

webUrlLoad = (WebView) findViewById(R.id.web_url_load); 
imageView = (ImageView) findViewById(R.id.imageView); 
WebSettings settings = webUrlLoad.getSettings(); 
settings.setJavaScriptEnabled(true); 
settings.setPluginState(WebSettings.PluginState.ON); 
webUrlLoad.loadUrl("http://soie.in/stores"); 

その次のように:クロームで

enter image description here

外部リンク:

enter image description here

+0

ポストあなたが質問 – sasikumar

+0

に渡されたURL?それ以外の場合は、出力が表示されます。 –

+0

@ParthAnjariaどれ* logcat *エラーを編集し@sasikumarのWebView –

答えて

0

コードの下にそれを試してみてくださいあなたのために働くはずです

webUrlLoad = (WebView) findViewById(R.id.web_url_load); 
    imageView = (ImageView) findViewById(R.id.imageView); 
    WebSettings settings = webUrlLoad.getSettings(); 
    settings.setJavaScriptEnabled(true); 
    webUrlLoad.setWebViewClient(new WebViewClient()); 
    settings.setPluginState(WebSettings.PluginState.ON); 
    webUrlLoad.loadUrl("http://soie.in/stores"); 
+0

うまくいかない.. –

関連する問題